Constant rebooting after power loss

Bruce Cran bruce at cran.org.uk
Sun Apr 3 10:53:01 UTC 2011


On 01/04/2011 16:37, Marat N.Afanasyev wrote:

> to ensure consistency you should turn off physical drive caches, and
> degrade performance significantly, sometimes up to 1000x. if this is
> what you want, you may use either zfs or sync ufs. in such case you may
> be almost sure that your filesystems are consistent. but if you use
> drive's cache, then without UPS you will face data loss and vanished
> filesystem earlier or later

I'm not sure the performance loss is so severe with modern drives 
(attached to a decent controller). If they do tagged queuing (NCQ/TCQ) I 
think a lot of the performance lost through disabling the write cache 
can be regained through the queueing system.

-- 
Bruce Cran



More information about the freebsd-stable mailing list