Re: Squid store replacement policies

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 27 Apr 2000 06:01:21 +0800

On Wed, Apr 26, 2000, Henrik Nordstrom wrote:
> Adrian Chadd wrote:
>
> > Well, I'm not up on how the heap code actually works, but it might
> > make sense to get notification when the object becomes unreferenced.
> > The heap code uses this to update the heap position.
>
> Maybe. Most times it won't make a noticeable difference, but it might
> for a large object in a small store.
>
> > I would actually be tempted to change the unrefobj to be called at
> > each invocation of storeUnlockObject(), but I don't see the
> > need right now ..
>
> The definiton of a reference (or unreference) should be quite distinct
> as it affects the frequency based policies quite a lot.
> storeLock/UnlockObject might be called at other occations than object
> reference.

Agreed. It should be called when the object is referenced and dereferenced.
Do you want to deal with this ? I want to finish various UFS bugs that
have crept into the system, and finish integrating diskd.

Adrian
Received on Wed Apr 26 2000 - 16:01:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:25 MST