Date: Wed, 16 Apr 2003 09:10:04 +0700 From: Alain Fauconnet <alain@ait.ac.th> To: Frank Bonnet <bonnetf@bart.esiee.fr> Cc: freebsd-performance@freebsd.org Subject: Re: tweaking FreeBSD for Squid using Message-ID: <20030416021004.GA7867@ait.ac.th> In-Reply-To: <20030415124035.B25027@bart.esiee.fr> References: <20030415124035.B25027@bart.esiee.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 15, 2003 at 12:40:35PM +0200, Frank Bonnet wrote: > Hi > > I need infos in order to tweak a FreeBSD box kernel > to use the Squid cache/proxy software on a dedicated > machine. > > The hardware is OK P4 2.2 Ghz with 2.5 Gb RAM > and a 36 Gb / 15k rpm disk for caching. To my experience, heavly loaded Squid boxes run into I/O bottlenecks faster than anything else (apart from memory maybe, but you have ample memory). My advice would be: get more disks. A single spindle is just not a good configuration for Squid, even a fast disk. You didn't mention whether is it SCSI or IDE. I usually go for SCSI for anything I/O intensive, although that's more a cultural thing than based on any hard evidence I've seen. Don't do RAID. Bring up a filesystem on each disk (with soft updates of course), mount them "-o noatime" and configure Squid to use multiple cache dirs. Sorry if I'm just telling the obvious here. I'm sure someone will come up with some finer tuning advice. Bonne chance, -- Alain Fauconnet IT Security Specialist & CISO -- ITServ Asian Institute of Technology
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030416021004.GA7867>