Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268255AbTGLSYZ (ORCPT ); Sat, 12 Jul 2003 14:24:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268256AbTGLSYZ (ORCPT ); Sat, 12 Jul 2003 14:24:25 -0400 Received: from 69-55-72-150.ppp.netsville.net ([69.55.72.150]:57547 "EHLO tiny.suse.com") by vger.kernel.org with ESMTP id S268255AbTGLSYX (ORCPT ); Sat, 12 Jul 2003 14:24:23 -0400 Subject: Re: RFC on io-stalls patch From: Chris Mason To: Nick Piggin Cc: Jens Axboe , Marcelo Tosatti , lkml , "Stephen C. Tweedie" , Alan Cox , Jeff Garzik , Andrew Morton , Andrea Arcangeli , Alexander Viro In-Reply-To: <3F0F5453.2060203@cyberone.com.au> References: <20030710135747.GT825@suse.de> <1057932804.13313.58.camel@tiny.suse.com> <3F0F5453.2060203@cyberone.com.au> Content-Type: text/plain Organization: Message-Id: <1058035059.13317.100.camel@tiny.suse.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 12 Jul 2003 14:37:40 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 34 On Fri, 2003-07-11 at 20:20, Nick Piggin wrote: > >Seems that way. With the 2.4.21 code, a read might easily get a > >request, but then spend forever waiting for a huge queue of merged > >writes to get to disk. > > > > But it is the job of the io scheduler to prevent this, isn't it? > Yes, but the 2.4.21 code doesn't do it. > > > >I believe the new way provides better overall read performance in the > >presence of lots of writes. > > > > > > I don't know how that can be, considering writers will consume > basically limitless requests. What am I missing? There is a limit on the total amount of IO in flight (4MB by default, reads/writes combined). We can make this a harder limit by disallowing merges on any requests present at the time of an unplug. Perhaps I'm not reading your question correctly? -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/