Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 1997 15:01:32 -0800 (PST)
From:      Jaye Mathisen  <mrcpu@cdsnet.net>
To:        Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: caching only directory disk blocks
Message-ID:  <Pine.NEB.3.95.971118150032.15738j-100000@mail.cdsnet.net>
In-Reply-To: <199711182225.XAA14266@adv.IAEhv.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Not sure how useful this would be.  If the object is hot, who cares if
it's directory blocks or file data blocks?  It's just important that it
be in RAM, and not on disk.

Although it might be an interesting tweak.



On Tue, 18 Nov 1997, Arjan de Vet wrote:

> Would it be possible to create a mount option (or something else) which
> would only cache disk blocks from directories and not disk blocks from
> 'normal' files?  Or give the former precedence over the latter for staying
> in the buffer cache?
> 
> The reason why I'm asking this? I'm currently playing with the Squid
> proxy-cache to improve its usage of the file system cache. For
> applications like Squid it's very important to keep as much directory
> blocks in the buffer cache as possible. Caching of 'normal' files doesn't
> make any sense because Squid has its own hot-object cache and most file
> access is too random anyway in order for the buffer cache to be useful.
> 
> Arjan
> 
> -- 
> Arjan de Vet, Eindhoven, The Netherlands            <Arjan.deVet@adv.IAEhv.nl>
> URL: http://www.IAEhv.nl/users/devet/       for PGP key: finger devet@IAEhv.nl
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.971118150032.15738j-100000>