Re: number of dirs

From: Kevin Hancock <khan@dont-contact.us>
Date: Mon, 31 Jan 2000 11:54:53 +1030

Hi

My only question with this all is the default for a 100 Mb is 16 first level
and 256 second level. Using this formula

100 * 2 / 13 / 256 / 256

100 * 2 = 200
200 / 13 = 15.385
15.385 / 256 = 0.06009765725
0.06009765725 / 256 = 0.00023475646

so we have a level 1 of 1

Why is the default 16?

Next question, is there an optimum store_avg_object size?

Thanks for all the help so far.

Kevin

----- Original Message -----
From: visolve cache <visolve_cache@yahoo.com>
To: Florin Andrei <florin@mail.maronet.ro>; <squid-users@ircache.net>
Sent: Friday, January 28, 2000 3:53 PM
Subject: Re: number of dirs

> > > first-level = cache_dir size * 2 /
> > > store_avg_object_size / L2 / L2
> >
> > You mean divide twice with L2?
>
> Yes
>
> > 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
>
>
> =====
> regards
> visolve_cache
> visolve.com
> http://www.v-solve.com
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
Received on Sun Jan 30 2000 - 18:27:23 MST

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