Re: squid-2.4 release ?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 9 Jan 2001 07:59:53 +0800

On Tue, Jan 09, 2001, Henrik Nordstrom wrote:
> Duane Wessels wrote:
>
> > > What is left for a debut of squid-2.4-stable1?
> >
> > probably not much. I think mostly documenting and
> > fixing up the "2.4" page.
>
> I'd still like to attemt to shrink the size of the StoreEntry and
> related per-cache-object structures, but time is running out on this
> project.
>

You could start by changing sdirno into a byte instead of an int.
That chops 3 bytes (on 32 bit archs) out per StoreEntry.

( I have to apologise for the bloat..)

> There mainly two problems there:
>
> a) A lot of space is used for time information, which many times are not
> there or of any real use.
>
> b) The memory overhead for separated removal policies are rather large:
> malloc + at least 2 pointers (StoreEntry<->removal node)

I haven't thought of a cute way of solving this with those pointers.
I've got cute ways of solving it WITHOUT those pointers, but that won't
see the light of day in squid-2.4.

Adrian

-- 
Adrian Chadd			"Sex Change: a simple job of inside
<adrian@creative.net.au>	  to outside plumbing."
				    - Some random movie
Received on Mon Jan 08 2001 - 17:00:02 MST

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