On Sat, 28 Feb 2004, aiggno wrote:
> 
> Now, with about 160 req/s and my cache_dir is 15 GB. With addition disk (36
> GB), do I just add a maximum partition to the squid (the whole disk) ? With
> so much webpages that generated automatically nowadays (I mean the content
> of the webpages change rapidly), do I need to have a large cache_dir ? With
> my new 36 GB disk, what is the best capacity of the new cache_dir ?

Having more disk than about 7 days of traffic is not worth the effort. If 
you are using the default lru replacement policy then this figure can be 
retreived from the store directory statistics using cachemgr.

Please note that the amount of memory requires is linear to the amount of 
cache you have. See the Squid FAQ on memory usage when adding another 
disk.

When adding disks for better performance it is not uncommon to not use the
whole disk. Disks are often larger than required or needed for caching
these days.


Regards
Henrik

Reply via email to