visolve cache wrote:
>
> > So, if cache_dir_size = 100,000 kB, and
> > store_avg_obj_size = 10 kB, we
> > have:
> >
> > 100000 * 2 / 10 / 256 / 256 = 0.305 :-)
> >
> > Am i wrong somewhere?
>
> you are correct. So have like this
> first-level = 1
> second-level = 256
Got it.
Another one: what can be the consequences of overestimate the number of
dirs? Say, what can happen if i put 256 first-level and 256 second-level
(or 254/254, as someone said it's optimal for Linux) but i really don't
need that much, because i have a small cache? In what way will be Squid
affected?
-- Florin Andrei , florin@maronet.ro , http://www.maronet.ro/~florin/ IT Manager - Maro Tradinvest, Bucuresti, Romania tel: +40-93-261162 ICQ: 20010694Received on Fri Jan 28 2000 - 00:26:38 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:45 MST