[PATCH] xfs: improve sync behaviour in face of aggressive dirtying

Michael Monnerie michael.monnerie at is.it-management.at
Tue Jun 21 02:21:46 CDT 2011


On Dienstag, 21. Juni 2011 Dave Chinner wrote:
> > The minor one is that we always flush all work items and not just
> > those on the filesystem to be flushed.  This might become an issue
> > for lager systems, or when we apply a similar scheme to fsync,
> > which has the same underlying issue.
> 
> For sync, I don't think it matters if we flush a few extra IO
> completions on a busy system.

Couldn't that be bad on a system with mixed fast/slow storage (say 15k 
SAS and 7.2k SATA), where on the busy fast SAS lots of syncs occur and 
lead to extra I/O on the SATA disks? Especially if there are 16 SAS 
disks in an array with RAID-0 against 4 SATA disks in RAID-6, to say the 
worst. If the SATAs are already heavy used (say >=50%), those extra 
writes could bring them to their knees.

I'm not sure how often syncs occur though, maybe that's why Dave says it 
shouldn't matter? AFAIK, databases generate heavy syncs though.

-- 
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services: Protéger
http://proteger.at [gesprochen: Prot-e-schee]
Tel: +43 660 / 415 6531

// Haus zu verkaufen: http://zmi.at/langegg/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20110621/3e4c6f35/attachment.sig>


More information about the xfs mailing list