From owner-freebsd-hackers Sat Jan 25 17:55:16 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A184637B401 for ; Sat, 25 Jan 2003 17:55:15 -0800 (PST) Received: from priv-edtnes61.telusplanet.net (outbound01.telus.net [199.185.220.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADBD143E4A for ; Sat, 25 Jan 2003 17:55:14 -0800 (PST) (envelope-from sh@bel.bc.ca) Received: from reason ([207.6.227.22]) by priv-edtnes61.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with SMTP id <20030126015509.XGHV7527.priv-edtnes61.telusplanet.net@reason> for ; Sat, 25 Jan 2003 18:55:09 -0700 Message-ID: <000501c2c4dd$f43ed450$16e306cf@slugabed.org> From: "Sean Hamilton" To: Subject: Random disk cache expiry Date: Sat, 25 Jan 2003 17:55:08 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings, I have a situation where I am reading large quantities of data from disk sequentially. The problem is that as the data is read, the oldest cached blocks are thrown away in favor of new ones. When I start re-reading data from the beginning, it has to read the entire file from disk again. Is there some sort of sysctl which could be changed to induce a more random expiry of cached disk blocks? Wouldn't it seem logical to have something like this in place at all times? thanks, sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message