News for hackers. Stuff that matters.
Re:The SSD Improv by aaronblohowiak on Monday October 26, 2009 @05:13PM (#904171)
Pardon my ignorance, but can't you just increase the size of the pagefile to consume the ssd and then increase the disk cache? this way the OS can handle memory management as it pleases..
Re:The SSD Improv by wmf on Monday October 26, 2009 @05:25PM (#904189)
Most OSes don't swap their disk cache, since they assume that reading a page from swap is no faster than reading it from the filesystem.
Re:The SSD Improv by pmjordan on Monday October 26, 2009 @05:34PM (#904204)
Correct. Moreover, disk caches in memory don't persist across reboots, which means the first access since OS startup is ALWAYS slow. You also can't return from an fsync() if writes have only been written to non-persistent cache. A persistent cache therefore can help even if you have oodles of RAM. Moreso if you don't.