Search squid archive

Re: Mem Cache flush

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24.01.08 11:59, Manoj_Rajkarnikar wrote:
> From: Manoj_Rajkarnikar <manoj@xxxxxxxxxxxxx>
> Date: Thu, 24 Jan 2008 11:59:24 +0545 (NPT)
> Subject: Re:  Mem Cache flush
> To: Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx>
> cc: squid-users@xxxxxxxxxxxxxxx

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@xxxxxxxxxxx ; 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...

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux