[CentOS] OT: Caching synchronous writes

Fri Apr 23 13:52:30 UTC 2010
Chan Chung Hang Christopher <christopher.chan at bradbury.edu.hk>

Jure Pečar wrote:
>>> Ray Van Dolson wrote:
>>>>> I think what you want is a proper storage array with mirrored write
>>>>> cache.
> 
> When ext3 came into widespread use, a popular method to "cache" frequent fsyncs was to run it in a full data journaling mode, with external journal on a separate disk.
> This turned all random writes to a sequential write, limited to a very small piece of disk and a periodical journal flush to the real file system.
> This worked amazingly well for busy mail queues - throughput went up 10x and more. People were also reporting improvements in NFS scenarios. Don't know how this is relevant today in times of SSD, but it should be worth to test it.
> 
> 

separate disk only? Don't forget nvram sticks or bbu ramdrives.