Re: [squid-users] client_persistent_connections kills performance?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 30 Mar 2006 00:33:04 +0200

ons 2006-03-29 klockan 13:16 -0500 skrev lawrence wang:

> Cpu load also dropped drastically, to under 10%. This is certainly the
> performance improvement I was looking for; however, I'm trying to
> understand why this is so drastic.

because of

a) Squid's select/poll loop is not very efficient and starts wasting a
lot of CPU when there is a lot of open connections

b) even poll (which is much better than select) has noticeable
scalability issues wasting a lot of CPU when the number of open
connections is large.

The epoll patch addresses both of these if you run on Linux-2.6..

Regards
Henrik

Received on Wed Mar 29 2006 - 15:33:10 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST