Re: [squid-users] Optimal maximum cache size

From: Amos Jeffries <squid3@dont-contact.us>
Date: Tue, 6 Nov 2007 12:43:49 +1300 (NZDT)

> Is there such a thing as too much disk cache? Presumably squid has to
> have some way of checking this cache, and at some point it takes longer
> to look for a cached page than to serve it direct. At what point do you
> hit that sort of problem, or is it so large no human mind should worry?
> :)
>
> Paul
> IT Systems Admin

Disk cache is limited by access time and ironically RAM.

Squid holds an in-memory index of 10MB-ram per GB-disk. With large disk
caches this can fill RAM pretty fast, particularly if the cache is full of
small objects. Large objects use less index space more disk.

Some with smaller systems hit the limit at 20-100GB, others in cache farms
reach TB.

As for the speed of lookup vs DIRECT. If anyone has stats, please let us
know.

Amos
Received on Mon Nov 05 2007 - 16:43:52 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:01 MST