xfs
[Top] [All Lists]

Re: buffered writeback torture program

To: Chris Mason <chris.mason@xxxxxxxxxx>
Subject: Re: buffered writeback torture program
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 21 Apr 2011 14:08:05 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Andreas Dilger <adilger@xxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, linux-ext4 <linux-ext4@xxxxxxxxxxxxxxx>, xfs <xfs@xxxxxxxxxxx>, jack <jack@xxxxxxx>, axboe <axboe@xxxxxxxxx>, dchinner <dchinner@xxxxxxxxxx>
In-reply-to: <1303408883-sup-1495@think>
References: <1303322378-sup-1722@think> <20110421083258.GA26784@xxxxxxxxxxxxx> <1303407205-sup-6141@think> <20110421174120.GA7267@xxxxxxxxxxxxx> <93CB867E-B908-4B38-A146-A9DC958ACF64@xxxxxxxxx> <20110421180213.GA19255@xxxxxxxxxxxxx> <1303408883-sup-1495@think>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Apr 21, 2011 at 02:02:43PM -0400, Chris Mason wrote:
> For this program, they are almost all dirty pages.
> 
> I tried patching it to give up if we seek but it is still pretty slow.
> There's something else going on in addition to the xfs clustering being
> too aggressive.

I'm not sure where you this beeing to agressive from - it's doing
exactly the same amount of I/O as a filesystem writing out a single
page from ->writepage or using write_cache_pages (either directly
or as a copy) as ->writepages.  The only thing special compared to
the no ->writepages case is that it's submitting a large I/O
from the first ->writepage call.

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