Re: [squid-users] Mem Cache flush

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Tue, 29 Jan 2008 10:18:35 +0100

On 24.01.08 11:59, Manoj_Rajkarnikar wrote:
> From: Manoj_Rajkarnikar <manoj@vianet.com.np>
> Date: Thu, 24 Jan 2008 11:59:24 +0545 (NPT)
> Subject: Re: [squid-users] Mem Cache flush
> To: Matus UHLAR - fantomas <uhlar@fantomas.sk>
> cc: squid-users@squid-cache.org

please send mail only to the list. I'm not subscribed to read/answer private
replies.

> On Wed, 23 Jan 2008, Matus UHLAR - fantomas wrote:
> >you seem to have 4 cache_dirs on each of those 2 disks. It's useless and
> >inefficient. Just use one cache_dir per disk (unless you use different
> >storages, e.g. COSS)

> Hmm... so if I use only cache_dir per disk, I think I'll need to increase
> the first level directory too.. I currently have ~4M objects in my cache
> split onto 2 disks (~2M objects per disk). so as I understand,
>
> 2M objects / (256 objects per 2nd level dir x 256 2nd level dirs per 1st
> level dir) = ~ 30+ 1st level dirs.. Am I calculating wrong here?? Please
> also give some hints on how would it ineffeciently effect squid by
> putting multiple cache_dirs on single disk...

yes, although I'd use 32 first level directories, I like that number more :)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fighting for peace is like fucking for virginity...
Received on Tue Jan 29 2008 - 02:18:40 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST