Write-back cache

wolvyne

Weaksauce
Joined
Sep 30, 2005
Messages
77
I've only found mixed info on write-back cache, but wanted to get some real feed back if anyone has actually used it. From what I have read it does actually improve your raids performance, but one person said it can cause your FS to corrupt. Has anyone had this issue? I'd rather have a stable system than worry about corruption, but as most people here I love getting extra performance ;).

Thanks!
 
What type of RAID are you running?

There can be 3 different levels of write-caching in RAID systems. For example, if you have a hardware RAID card, then the 3 possible levels are:

1) Individual drive write cache (internal to the drives)

2) Hardware RAID card write cache

3) Operating system / filesystem write cache

If you are using a hardware RAID card and want to operate safely, in most cases you need to turn off the individual disk write cache. If your hardware RAID card has a battery back up, then it is safe to enable the RAID card write cache, since the battery will sustain the data in cache until the computer can be rebooted, at which time the data is written to disk. But you usually still want to disable the individual disk write caches, since they cannot be sustained by the RAID card battery backup.
 
Back
Top