RE: [squid-users] squid performances

From: Adam Aube <aaube@dont-contact.us>
Date: Tue, 5 Aug 2003 09:30:12 -0400

> Can somebody tell me please, I want to know, how many requests
> per sec (req/sec) can handle normally a box with these technical
> charachteristics:

I can give you some tuning suggestions, but not a specific number.

> RAM - 900 MByte
> HDD - 16 GByte
> Swap Partition - 1G
> cache_dir diskd /var/cache/squid/ 15360 16 256 Q1=72 Q2=64

As has already been suggested, make your cache 80% of the drive
size. Also, switch to aufs, since you're on Linux and using a single
drive - you'll get better performance.

You'll also want to up the L1 setting (16). Per the archive, the
default is good up to a cache of 6.5 GB. I'd recommend setting the L1
value to 40 or 48.

Beyond that, check to see if your Squid process becomes I/O bound (use
iostat/vmstat/procinfo). If so, one thing you can try is reducing the
cache size and upping the cache_mem setting. This may reduce disk usage,
at a cost of cache hits.

Adam

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001
Received on Tue Aug 05 2003 - 07:30:17 MDT

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