Re: [squid-users] Squid on DualxQuad Core 8GB Rams - Optimization - Performance - Large Scale - IP Spoofing

From: Adrian Chadd <[email protected]>
Date: Wed, 17 Oct 2007 18:09:22 +0800

On Wed, Oct 17, 2007, Tek Bahadur Limbu wrote:

> Well I think that it's not only hardware specs that we have to consider. We also have to take into account the operating systems, optimizations, Squid versions, Squid's conf files, gateway routers, etc...
>
> One of my hardware is a refurbished Dell OptiPlex GX-270 purchased at around $200. Technically this is not a server but rather a desktop!
>
> It has the following specs:
>
> <DELL GX270 >
> OS: FreeBSD-6.2 (i386)
>
> 38146MB 7200 RPM IDE hard drive
> 38146MB <Seagate ST340014A 3.16> at ata0-master UDMA100
> CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU)
> real memory = 1072103424 (1022 MB)
>
> /dev/ad0s1d 10154158 6294544 3047282 67% /cache1
>
>
> With this hardware, my proxy server can easily serve 60-80 req/sec (3600 - 4800 req/min). If I push it, it can serve upto 150 req/sec (9000 req/min).

That sounds mostly like a disk limitation. Since its Satellite - and you probably
want to maximise throughput - that puts a bit more of a limit on the number of concurrent
connections you can satisfy before you run out of mbufs.

> The median response service time hardly cross 1.3 seconds considering that we have a satellite link.
>
> The CPU utilization which is always less than 15% suggests that it can serve more requests than what it is currently serving.

Yup. You're using one *UFS disk, which will stop at about 150req/sec.
Thats been a well known limitation of the naive Squid UFS scheme.

Could probably double that for small objects with something like COSS
that used temporal locality to store and retrieve stuff.

> But I don't mean that we should disregard good and expensive hardware but not everybody can afford them due to some restrictions and constraints.
>
> I would love to have a IBM System P series server someday!!

So would I.
:)

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level bandwidth-capped VPSes available in WA -
Received on Wed Oct 17 2007 - 04:08:19 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT