[Top] [All Lists]

Re: xfs help question

To: weber@xxxxxxxxxx
Subject: Re: xfs help question
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Sun, 30 Mar 2014 22:22:14 +0200
Cc: Xfs <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <6997ecc6ee5c7096ded12e8ad3d77d12@xxxxxxxxxx>
Organization: Intellique
References: <6997ecc6ee5c7096ded12e8ad3d77d12@xxxxxxxxxx>
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@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02

<Prev in Thread] Current Thread [Next in Thread>