Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 24 Jan 2003 07:05:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 24 Jan 2003 07:05:35 -0500 Received: from thebsh.namesys.com ([212.16.7.65]:63957 "HELO thebsh.namesys.com") by vger.kernel.org with SMTP id ; Fri, 24 Jan 2003 07:05:34 -0500 From: Nikita Danilov MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15921.11824.472374.112916@laputa.namesys.com> Date: Fri, 24 Jan 2003 15:14:40 +0300 X-PGP-Fingerprint: 43CE 9384 5A1D CD75 5087 A876 A1AA 84D0 CCAA AC92 X-PGP-Key-ID: CCAAAC92 X-PGP-Key-At: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xCCAAAC92 To: Andrew Morton Cc: Alex Bligh - linux-kernel , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: 2.5.59-mm5 In-Reply-To: <20030124031632.7e28055f.akpm@digeo.com> References: <20030123195044.47c51d39.akpm@digeo.com> <946253340.1043406208@[192.168.100.5]> <20030124031632.7e28055f.akpm@digeo.com> X-Mailer: VM 7.07 under 21.5 (beta9) "brussels sprouts" XEmacs Lucid X-NSA-Fodder: SEAL Team 6 Roswell Al Quaeda Osama bin Laden Rule Psix genetic Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton writes: [...] > > In this very common scenario, the only way we'll ever get "lumps" of reads is > if some other processes come in and happen to want to read nearby sectors. Or if you have read-ahead for meta-data, which is quite useful. Isn't read ahead targeting the same problem as this anticipatory scheduling? > In the best case, the size of the lump is proportional to the number of > processes which are concurrently trying to read something. This just doesn't > happen enough to be significant or interesting. > > But writes are completely different. There is no dependency between them and > at any point in time we know where on-disk a lot of writes will be placed. > We don't know that for reads, which is why we need to twiddle thumbs until the > application or filesystem makes up its mind. > Nikita. - 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/