Temporary files: RAM or disk?
Posted Jun 4, 2012 21:25 UTC (Mon) by
giraffedata (subscriber, #1954)
In reply to:
Temporary files: RAM or disk? by dlang
Parent article:
Temporary files: RAM or disk?
current filesystems attempt to schedule data to be written to disk within about 5 seconds or so in most cases
Are you sure? The last time I looked at this was ten years ago, but at that time there were two main periods: every 5 seconds kswapd checked for dirty pages old enough to be worth writing out and "old enough" was typically 30 seconds. That was easy to confirm on a personal computer, because 30 seconds after you stopped working, you'd see the disk light flash.
But I know economies change, so I could believe dirty pages don't last more than 5 seconds in modern Linux and frequently updated files just generate 6 times as much I/O.
(
Log in to post comments)