xfs
[Top] [All Lists]

Re: After reboot fs with barrier faster deletes then fs with nobarrier

To: Szabolcs Illes <S.Illes@xxxxxxxxxxxxxxxxx>
Subject: Re: After reboot fs with barrier faster deletes then fs with nobarrier
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Wed, 27 Jun 2007 14:45:06 -0700
Cc: xfs@xxxxxxxxxxx
In-reply-to: <op.tuldjrzef7nho5@sunset.cpc.wmin.ac.uk>
References: <op.tuldjrzef7nho5@sunset.cpc.wmin.ac.uk>
Sender: xfs-bounce@xxxxxxxxxxx
On Wed, Jun 27, 2007 at 06:58:29PM +0100, Szabolcs Illes wrote:

> I repeated this test several times, same results. I made sure
> nothing was running while I was doing the tests, cpu was idle, hdd
> led was not on, etc.

instead of doing a reboot can you try something like:

    echo 1 > /proc/sys/vm/drop_caches

or
    echo 3 > /proc/sys/vm/drop_caches

(the value is a bit mask, bit 0 will drop the page cache, bit 1 will
drop the slab)

does that give you more or less the same results as rebooting?




another thing to try, before the delete, also try:

    find path/to/whatever -noleaf >/dev/null

and see if that helps (i expect it should greatly)


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