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

Reply via email to