Search squid archive

Re: Can a cache be "too big"?

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

 



On 21.07.10 10:57, Marcus Kool wrote:
> 1) the index is in memory and needs 10-20 MB index in memory for each GB on disk
> 2) the housekeeping of the index costs more CPU cycles for a larger cache
> 3) the housekeeping of the cached objects on disk costs time and grows 
> when the cache is larger.  Can be minimised by having cache_swap_low 92 
> and cache_swap_high 93.
>
> The system has 2 GB memory, assuming that the system is dedicated for Squid
> you need 400 MB for the OS, leaving 1.6 GB for Squid.
> A safe value for cache_mem would be 500 MB
>
> There are many tuning parameters.
> The best one is to have more disks.

in this case, more memory seems to be more important

-- 
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.
The 3 biggets disasters: Hiroshima 45, Tschernobyl 86, Windows 95


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

  Powered by Linux