[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-dev
Subject:    Re: sdirno/sfileno sizes
From:       Henrik Nordstrom <hno () hem ! passagen ! se>
Date:       2001-03-30 23:26:48
Message-ID: 3AC51638.2B527C6A () hem ! passagen ! se
[Download RAW message or body]

Andres Kroonmaa wrote:

> > Only covers a small fraction of the cbdata types. Most are registered
> > dynamically using the macro CBDATA_INIT_TYPE().
> 
> We can call Tune function right after these?

Which gets a bit awkvard as it is not very obvious that cbdata uses
memory pools, or where the pool is...

> Well, we can eventually pick chunk size based on whats most
> wanted, and find ways to tune the rest.

Exacly.

> Currently, equal size of all chunks in a pool is a precondition.
> It would get more difficult and slower to handle variable chunks
> within pool. Possible, but I think doubtly worth it, due to
> performance penalty.

I'll wait with answering you on this until I have read the code, but
from what you have described of how it works I don't see any noticeable
performance penalty.

/Henrik

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic