Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 17:55:08 -0800
From:      "Sean Hamilton" <sh@bel.bc.ca>
To:        <hackers@freebsd.org>
Subject:   Random disk cache expiry
Message-ID:  <000501c2c4dd$f43ed450$16e306cf@slugabed.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c2c4dd$f43ed450$16e306cf>