Re: [squid-users] hints needed to make decent squid performance..

From: Brian <hiryuu@dont-contact.us>
Date: Thu, 16 May 2002 16:31:11 -0400

On Thursday 16 May 2002 02:07 pm, Aditya Budi wrote:
> i'm new in squid and doesn't know much how
> to optimize squid performance..
>
> i'm planning to build squid as transparent
> proxy using :
> Hardware config..
> AMD XP 2000+
> 1.5 - 2 GB DDR PC2100
> 5*40 GB Maxtor 740DXL UDMA6 for cache disk
> 1*20 GB Maxtor/WD 7200 UDMA5 HDD for system disk

Go with the 40 GB drives if you get a good deal, but shop for access time
more than transfer rate. Squid will be seek bound and ATA133 won't help
you.

The object table takes ~ 10MB of RAM per gig of disk, so stick to about
10-12 GB per drive. For IDE, stick with 1 drive per channel so they can
all be accessed at once. You may even consider dropping a drive and
investing in a 3ware card (in a JBOD config), instead.

> 2 Intel Express 10/100 NIC

I find the 3com cards perform significantly better than the Intel cards.
I don't have benchmarks to show it, just experience.

> Abit AT7 (via kt333) MB with hpt-374 ata-133
> controller or Epox 8K3A2 with hpt 374
>
> software :
> Redhat linux 7.2
> kernel 2.4.18 plus ide patch. (www.linux-ide.org)
> reiserfs filesystem for cache and system disk.
> formated with r5 hash..
> mounted with noatime and notail mount options.
> squid 2.4.Stable6
>
> and various squid options for optimizing speed...
>
> please give me hint about this kind of config,
> is it would adequate for my network needs ?.
> and how to tuning my squid and my system for give
> maximal performace from my hardware...

Obviously it depends on how abusive your network is, but this should be
adequate. Go with aufs (or at least diskd) to make the best use of the
drives.

        -- Brian
Received on Thu May 16 2002 - 14:31:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:08 MST