Re: Presentation

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 17 Feb 2004 13:42:14 +0100 (CET)

On Tue, 17 Feb 2004, [GB2312] ÏĺéÌÎ wrote:

> I had studied the squid code, and I want to do some work at the
> linux kernel to improve the performance of squid server. I had some
> rough ideas to discuss with the developers. And I want to contribute
> my ideas to the develop team.

Welcome to the squid-dev list

There is several interesting areas to study in the field of raw Squid
performance:

* Event notification. Here a lot of work have been done on epoll etc to
avoid the very significant overhead of poll() when there is many active
filedescriptors. With these mechanisms the load becomes more linear to the
actual amount of activity and not so much dependent on the total number of
open connections.

* non-blocking disk I/O such as the approaches taken by aufs or diskd.
Neither of these are perfect and there is room for a lot improvement.

* More efficient disk I/O to reduce the amount of seeks. The COSS is one
example of such approach.

* Another area but of somewhat larger scope is how to make Squid scale
with SMP capabilities.

* And then there is general CPU time optimization to avoid unneccesary
copying or parsing of what is already parsed etc.

Looking forward to discuss any ideas you have in the field of performance.

Regards
Henrik
Received on Tue Feb 17 2004 - 05:42:22 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:04 MST