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 | [EMAIL PROTECTED] | 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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message