Date: Thu, 19 Sep 2002 15:25:52 -0400 From: Chuck Swiger <cswiger@mac.com> To: <freebsd-questions@FreeBSD.ORG>, <freebsd-isp@FreeBSD.ORG> Subject: Re: WCCP performance questions Message-ID: <9C5B6486-CC05-11D6-801D-000A27D85A7E@mac.com> In-Reply-To: <DA13C28FBD94204380D11C977FB9F33108FB06@exch01.megadat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, September 17, 2002, at 04:51 AM, Girnet Vladimir wrote:
> We are about to build some new WCCP servers. These servers will be based
> on FreeBSD 4.6.2 with Squid 2.4.7.
>
> The hardware will be: 2 x PIII 1.3GHz, 1GB RAM, 100GB HDD. Servers must
> serve about 200 requests per second, from about 1000 users.
>
> I have a question: What performance tuning must be made, to achive the
> best results from these servers?
Read "man tuning", of course.
200 requests per second is a significant load-- around 2 MB/s I/O
bandwidth, given an average WWW request size of ~10K, only remember that
you have to read the requested data (at least the first time, until it's
cached) and forward the response to the client, so you're both sending and
receiving the bytes some of the time.
You want to either have a fast SCSI disk system, or multiple spindles, or
preferably both. Four 30 GB disks would perform a lot better than one 100
GB disk. With the way squid distributes cache directories, you wouldn't
even need to RAID-0 (stripe) them, although that wouldn't be a bad thought
either. You could get by with a single 100TX NIC per machine, but having
two NICs would be better, since you can easily divide the network traffic
up.
-Chuck
Chuck Swiger | chuck@codefab.com | All your packets are belong to
us.
-------------+-------------------+-----------------------------------
"The human race's favorite method for being in control of the facts
is to ignore them." -Celia Green
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9C5B6486-CC05-11D6-801D-000A27D85A7E>
