From: Jos Houtman Subject: Re: Page Cache writeback too slow, SSD/noop scheduler/ext2 Date: Tue, 31 Mar 2009 16:10:38 +0200 Message-ID: References: <20090331123112.GA15098@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Cc: Nick Piggin , , Jeff Layton , Dave Chinner , , , , , To: Wu Fengguang Return-path: In-Reply-To: <20090331123112.GA15098@localhost> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: >> There another question I have: does the writeback go through the io >> scheduler? Because no matter the io scheduler or the tuning done, the >> writeback algorithm totally starves the reads. > > I noticed this annoying writes-starve-reads problem too. I'll look into it. Thanks > >> Is there anything I can do about this behaviour by creating a better >> interleaving of the reads and writes? > > I guess it should be handled in the generic block io layer. Once we > solved the writes-starve-reads problem, the bursty-writeback behavior > becomes a no-problem for SSD. Yeah this was the part where I figured the io-schedulers kicked in, but obviously I was wrong :P. If I can do anything more to help this along, let me know. Thanks Jos