Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Dec 2001 15:18:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Dec 2001 15:16:59 -0500 Received: from leeloo.zip.com.au ([203.12.97.48]:20232 "EHLO mangalore.zipworld.com.au") by vger.kernel.org with ESMTP id ; Wed, 5 Dec 2001 15:16:46 -0500 Message-ID: <3C0E809B.49D659A4@zip.com.au> Date: Wed, 05 Dec 2001 12:16:27 -0800 From: Andrew Morton X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.17-pre1 i686) X-Accept-Language: en MIME-Version: 1.0 To: Roy Sigurd Karlsbakk CC: linux-kernel@vger.kernel.org Subject: Re: io scheduling / serializing io requests / readahead In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Roy Sigurd Karlsbakk wrote: > > hi > > Are there any ways to tell Linux to use some sort of readahead > functionality that'll give me the ability to schedule I/O more loosely, so > some 100 files can be read concurrently without ruining the system by > seeking all the time? There's a new system call sys_readhead() which may provide what you want. A simple alternative is to just cat each file, one at a time onto /dev/null before the application starts up. > I've tried to alter /proc/sys/vm/(min|max)-readahead, but it doesn't have > any effect... > Yup. We covered that in the other thread. - 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/