Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Dec 2001 13:08:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Dec 2001 13:08:06 -0500 Received: from perninha.conectiva.com.br ([200.250.58.156]:1038 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Wed, 5 Dec 2001 13:07:56 -0500 Date: Wed, 5 Dec 2001 14:51:13 -0200 (BRST) From: Marcelo Tosatti To: Roy Sigurd Karlsbakk Cc: linux-kernel@vger.kernel.org Subject: Re: /proc/sys/vm/(max|min)-readahead effect???? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Dec 2001, Roy Sigurd Karlsbakk wrote: > hi all > > I've just upgraded to 2.4.16 to get /proc/sys/vm/(max|min)-readahead > available. I've got this idea... > > If lots of files (some hundered) are read simultaously, I waste all the > i/o time in seeks. However, if I increase the readahead, it'll read more > data at a time, and end up with seeking a lot less. > > The harddrive I'm testing this with, is a cheap 20G IDE drive. It can give > me a peak thoughput of about 28 MB/s (reading). > When running 10 simultanous dd jobs ('dd if=filenr of=/dev/null bs=4m'), I > peaks at some 8,5 MB/s no matter what I set the min/max readahead to!! > > Is this correct? Do you also have VM pressure going on or do you have lots of free memory ? - 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/