Re: [squid-users] Can a cache be "too big"?

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Mon, 26 Jul 2010 15:37:46 +0200

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, [email protected] ; 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
Received on Mon Jul 26 2010 - 13:37:51 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 26 2010 - 12:00:03 MDT