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

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 8 Dec 2004 09:06:35 -0900

I don't think reiser is available on FreeBSD, but I've been wrong before...

In any case, if you are using BSD, make sure that your cache dir is using
diskd vs ufs or aufs. Also, mount it on its own slice and use the noatime
and async options.

You might also consider switching the OS to a linux 2.6 kernel, or NetBSD.
Another subscriber to this list (Adam Aube) pointed out a "site with network
server scalability benchmarks that compared
Linux 2.4 and 2.6, FreeBSD 4.x and 5.x, NetBSD, and OpenBSD:

http://bulk.fefe.de/scalability/"

The results are a year old, and improvements may have been made, but its
something to consider all the same.

Chris

-----Original Message-----
From: Shantanu Gadre [mailto:shantanu@netoncable.com]
Sent: Wednesday, December 08, 2004 4:10 AM
To: 'Milind Nanal'; squid-users@squid-cache.org
Subject: RE: [squid-users] Performance tuning Squid box for ISP traffic

Thumb rule for a fast squid through my experience is

spread it out on more disks

use as much ram as you can afford
 
use reiserfs

decrease the max cached size object

compile squid with more threads

For replacement policies, it would depend on your setup (Check the FAQ,
you will find a paper on replacement policies)

shantanu

-----Original Message-----
From: Milind Nanal [mailto:milindyn@rolta.com]
Sent: Wednesday, December 08, 2004 4:53 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Performance tuning Squid box for ISP traffic

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 ?
2) Any fine tune parameters for better performance rather than using
default
values in squid.conf ?
3)would like to explore more on different cache replacement policies
LUR,
GDSF, LFUDA which one is suitable of an ISP class SQUID box ?

Regards,
 
Milind
 
************************************************************************
****
*************
NOTHING IS IMPOSSIBLE, Because Impossible itself says - I'M POSSIBLE
************************************************************************
****
*************

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.7 - Release Date: 12/7/2004
 
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.7 - Release Date: 12/7/2004
 
Received on Wed Dec 08 2004 - 11:07:58 MST

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