xfs
[Top] [All Lists]

Re: mysterious dbench results

To: linux-xfs@xxxxxxxxxxx
Subject: Re: mysterious dbench results
From: Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx>
Date: 23 Feb 2001 22:15:10 GMT
Distribution: local
Organization: innominate AG, Berlin, Germany
References: <news-innominate.list.sgi.xfs@innominate.de> <200102221504.f1MF41r20047@jen.americas.sgi.com>
Reply-to: Thomas Graichen <thomas.graichen@xxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.4.1-XFS (i686))
Steve Lord <lord@xxxxxxx> wrote:

> I have been out for a while, or I would have posted something on this earlier.
> The default mkfs options for xfs are not optimal for heavy I/O load, they are
> somewhat historical and should probably be changed.

> On mkfs try some options like this:

> mkfs -t xfs -f -l size=32768b /dev/xxx

> on mount use these extra options:

>       logbufs=4,logbsize=32768

> The first will make the on disk log bigger which helps metadata intensive
> loads not become purely log bound - every request for log space ends up 
> having to flush metadata to disk. The mount options allow more log writes
> to be in progress at once.

ok - retried with those options (16384 in my case because 32k was
too big for my small 700m test partition) and the dbench results
got back to normal ... how about increasing those numbers by
default a bit? - would there be any negative side-effects
from doing so?

> These should help XFS performance here, I suspect, but have not tried that
> this will also help:

> echo 5000 > /proc/sys/vm/pagebuf/flush_int

> This will make the interval between dirtying file data and flushing it to
> disk closer to that used by ext2. One of the issues with dbench is files
> getting removed shortly after they are created, you can get mush better
> performance if the removal happens before the data goes out to disk.

will try this too now

lots of thanks

t

-- 
thomas.graichen@xxxxxxxxxxxxxx
                                                         innominate AG
                                                  the linux architects
tel: +49-30-308806-13   fax: -77             http://www.innominate.com

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