write-through RAM disk, or massive caching of file system?

Posted by Will on Super User See other posts from Super User or by Will
Published on 2010-02-17T16:22:55Z Indexed on 2010/03/29 1:03 UTC
Read the original article Hit count: 397

Filed under:
|
|

I have a program that is very heavily hitting the file system, reading and writing randomly to a set of working files. The files total several gigabytes in size, but I can spare the RAM to keep them all mostly in memory. The machines this program runs on are typically Ubuntu Linux boxes.

Is there a way to configure the file system to have a very very large cache, and even to cache writes so they hit the disk later? I understand the issues with power loss or such, and am prepared to accept that. Crashing aside, in normal operation the writes should eventually reach the disk!

Or is there a way to create a RAM disk that writes-through to real disk?

© Super User or respective owner

Related posts about linux

Related posts about ramdisk