Solaris improvements to Squid-2.


I’ve begun coding up some improvements to Squid-2 – support for /dev/poll – which should dramatically drop CPU usage for those busy Squids running under Solaris. Its a sort of “beta” at the moment so please test carefully.

Solaris has had /dev/poll since Solaris 2.7. I thought about coding up an event ports version instead of /dev/poll, but then those running Squid on older platforms/hardware couldn’t benefit, and Squid wouldn’t really take advantage of the benefits the Solaris event ports give over /dev/poll.

The Squid-2 snapshots can be nabbed from . Compile with


; /dev/poll should be listed as the IO loop in cache.log as Squid starts up.

I’d appreciate feedback.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: