Advice needed with file system corruption

Dave Chinner david at fromorbit.com
Tue Aug 9 16:26:07 CDT 2016


On Tue, Aug 09, 2016 at 02:40:26PM +0200, Carlos E. R. wrote:
> On 2016-08-09 06:02, Gim Leong Chin wrote:
> 
> > Drives connected to RAID controllers with battery backed cache should
> > have their caches "disabled" (they are really set to write through mode
> > instead).  By the way, I found out in lab testing that 7200 RPM SATA
> > drives suffer a big performance loss when doing sequential writes in
> > cache write through mode.<http://oss.sgi.com/mailman/listinfo/xfs>
> 
> If you disable the disk internal cache, as a consequence you also
> disable the disk internal write optimizations. It has to be much slower
> at writing. It seems to me obvious.

This is why decent HW RAID controllers have a large non volatile
write cache - the caching is done in the controller where it is safe
from power loss, not in the drive where it is unsafe. Write
optimisations happen at the RAID controller level, not at the
individual drive level.

As for 10/15krpm SAS drive performance, they generally are only
slower in microbenchmark situations (e.g. sequential single sector
writes) when the write cache is disabled. These sorts of loads
aren't typically seen in the real world, so for most people there is
little difference in performance on high end enterprise SAS drives
when changing the cache mode....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list