xfs help question

Emmanuel Florac eflorac at intellique.com
Sun Mar 30 15:22:14 CDT 2014


Le Sun, 30 Mar 2014 09:12:20 +0200 vous écriviez:

> i also dont get it with the write-disk cache at all,
> its an linux softraid, is the best then to use 'nobarrier' and let the
> 'disk write cache on'?
> 
> or is best solution on linux softraid 'disk write cache' on with xfs 
> barrier on?

It depends. write cache without an UPS is a very efficient way to lose
data. However  if you only care about performance, let write cache on
and barriers off.

> also, should i tweak with sunit,swidth? and how do i calculate best 
> setting?

With a recent kernel, mkfs.xfs should determine automatically the md
geometry, so no, don't try to tweak su and sw.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------



More information about the xfs mailing list