On 29/08/2013 8:09 p.m., Mohsen Dehghani wrote:
Hi team
I am planning to install a new squid from scratch. which version is more
stable
The latest.
and less cpu greedy?
Depends on the configuration. But the latest version can again can do
more with less CPU in most situations.
I have installed both both 3.1.19(default Ubuntu repository version) and
3.3.8.
On the same machine with same config and same load(about 60Mbps), I have far
less cpu usage on 3.1.19 than 3.3.8.(10% compared to 99%)
so what is the cause?
Faster request rate in the newer one?
more requests == more CPU use processing them.
Scanning the disk caches?
lots of disk I/O == lots of CPU context switching
Cache garbage collection?
lots of disk I/O == lots of CPU context switching
Those are the only known causes of traffic
There are some features exist in newer versions that I had to move to newer
versions...
Which version of squid is SQUID-USERS preference?
Put another way: is CPU usage enough to make anyone prefer to run a
version with a few hundred known bugs and lack of several major HTTP
features?
We have enough of a cross-section of users that you will get a very
mixed response there.
Amos