Hacker News new | ask | show | jobs
by 00N8 2741 days ago
there's an easy fix. suppose Ubuntu or openSUSE Linux: run your install on an SSD of at least 128 gb. set a swapfile of at least 64 gb right on your root partition & make sure it's mounted as swap (put in /etc/fstab or do it manually each boot) now attach & mount your hi capacity storage.

just have your script queue up a few in /tmp before moving to the mounted storage.

pretty easy & now you have multi level buffering caches that Linux knows how to work with efficiently & that can nearly guarantee sequential writes