RE: [squid-users] Performance tuning Squid box for ISP traffic

From: Elsen Marc <[email protected]>
Date: Wed, 8 Dec 2004 13:04:17 +0100

 
>
> My squid cache (with WCCP2) is running on FreeBSD 5.2
> operating system for
> an ISP. This is running fine but I want to tune it for better
> performance.
> I have used HP DL 140 hardware with 80 GB IDE hard disk &
> 512 MB RAM.
>
> 1) How do I check the HIT rate of my Squid BOX. Any utility.
> I have tried
> couple of access log analyzer but those are taking long time
> processing &
> scanning the log files ?

   - Cachemgr -> General Runtime Information
for runtime info concerning hits.

   - log analyzers such as calamaris , will offer a daily report
for instance , which in my case I find very usefull.
That is has to scan the whole previous access log is obvious. But
it runs in cron in the morning for me, for getting the info
for the previous day. So I have the info, when my first coffee
comes around too.

> 2) Any fine tune parameters for better performance rather
> than using default
> values in squid.conf ?

  Not in squid.conf. But general guidelines are to use, different
disks for more then one cache dir
(spread IO load) . Use 'reiserfs' filesystem , with notail
option.
Check the FAQ on squid's mem usage versus the size of the configured
cache dir(s).
 
> 3)would like to explore more on different cache replacement
> policies LUR,
> GDSF, LFUDA which one is suitable of an ISP class SQUID box ?
>
 
 That it will also and more depend on the user's profile that
the ISP is servicing. For instance it may well be that the answer
is different for a small ISP versus a big ISP.
Check the comments in squid.conf.default on these algorythms; this may give
you guidelines as to which algorythm to use.

M.
Received on Wed Dec 08 2004 - 05:07:03 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST