Search squid archive

Re: Question on the cache_dir

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

 



On 25.04.06 16:14, Prabu wrote:> From: Prabu <prabu.ayyappan@xxxxxxxxx>
> I have a question on the cache_dir
> 
> cache_dir aufs Directory-Name Mbytes Level-1 Level-2
> 
> 1)How the level-1(number of first-level subdirectories under Directory) 
> and level-2(number of second-level subdirectories under 1st level 
> direcory) should be configured.

depends on the cache size. the default "16 256" is usually enough

> 2)Does changes in the level-1 and level-2 impact my squid performance?

large numbers usually degrade performance (it depends on how the FS proc
esses directories with large numbjer of files).
If you have big cache and many files, you probably should increase L1
(I had to change it to 32 on 18GB disk and 64 on 36GB disk)
if you have small cache, you may decrease L2 but I don't think it will help
you much.

-- 
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.
Linux is like a wigwam: no Windows, no Gates and an apache inside...

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

  Powered by Linux