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 http://www.squid-cache.org/Versions/v2/HEAD/ . Compile with
; /dev/poll should be listed as the IO loop in cache.log as Squid starts up.
I’d appreciate feedback.