Temporary files: RAM or disk?
Temporary files: RAM or disk?
Posted Jun 6, 2012 15:24 UTC (Wed) by nybble41 (subscriber, #55106)In reply to: Temporary files: RAM or disk? by Serge
Parent article: Temporary files: RAM or disk?
_Writing_ to swap means that your RAM is full (possibly including things like clean cache which are currently higher priority, but could be dropped at need). _Reading_ from swap implies only that something previously written to swap is needed in RAM again. There could be any amount of free space at that point. Even if RAM does happen to be full, the kernel can still drop clean data from the cache to make room, just as with reading from ext3.
Posted Jun 6, 2012 17:43 UTC (Wed)
by dgm (subscriber, #49227)
[Link]
All of this is of no consequence on system startup, when the page cache is mostly clean. Once the system has been up for a while, though... I think a few tests have to be done.
Temporary files: RAM or disk?