Re: tcp proxy hackery

From: Robert Collins <robertc@dont-contact.us>
Date: Mon, 17 Mar 2008 12:33:29 +1100

On Sun, 2008-03-16 at 23:21 +0900, Adrian Chadd wrote:
> On Wed, Mar 12, 2008, Adrian Chadd wrote:
>
> > I'm able to push this to about 5000 req/sec, 8000 concurrent client connections
> > (so 16,000 concurrent TCP connections on the proxy) @ ~ 335mbit full-duplex on my
> > test setup. I'm not maxing out anything yet as my thttpd opteron server is
> > running at full steam.
>
> .. I've bought another box to run thttpd on and I've maxed out the tcp proxy
> box when hitting it with small connections. Its a FreeBSD problem - their locking
> stuff doesn't scale well under very high connection creation/destruction rates.
>
> http://www.creative.net.au/diffs/test1-340.tar.gz
>
> It maxes out on my kit at the above speed; but at 32k replies it hits 3100 req/sec
> and close to a gigabit. I'll whack a recent linux distro+kernel on the test boxes
> in a few days and see how it compares.

Sounds like its going well. I'd love to see a similar benchmark for
memory allocations - something that exercises the slab and buffer
allocator in squid, so we can tune that in -3.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Sun Mar 16 2008 - 19:33:01 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT