High Performance Squid - Howto

Ow Mun Heng Ow.Mun.Heng at wdc.com
Wed Nov 17 11:38:12 UTC 2004


Does anyone here has any pointers on installing a high performance
Squid?

Things which are deemed _important_ 

* # of File Descriptors (ulimit -n) But there is a current Max of 4096
for Squid. (on my gentoo sys, there are 50k+ file-descriptors)

* Cache_dir size to devote to caching

* storageio? Noted that it builds "ufs" by default. There's still
"diskd, coss, aufs & null) any ideas?

According to Squid.con :
aufs supposed to be an enhanced ufs which uses POSIX Threads so not to
interfere ith Squid's IO.

Diskd - Uses separate processes so not to interfere with Squid's IO

* RAM, I believe More is better. but how does one measure. If I want to
use a whole Disk to be used as cache, the miniscule RAM size will cause
bottlenecks and then squid process will get bloated and degrade
performance.

* per-client statistics should be off. (client_db off)

* What about running things like dansgguardian, ad_redirect, url_regex

I would appreciate and and _all_ comments 
-- 
Ow Mun Heng <Ow.Mun.Heng at wdc.com>




More information about the users mailing list