[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    RE: [squid-users] which version of squid is more stable and less cpu greedy?
From:       "Mohsen Dehghani" <mdehghani () hamyar ! net>
Date:       2013-08-31 7:57:41
Message-ID: 000001cea61e$17a2d4a0$46e87de0$ () hamyar ! net
[Download RAW message or body]


I have to say that two versions will be installed on the same VM. I create a
snapshot and install 3.1.19=about 10% CPU. And then go back to that snapshot
and compile and install 3.3.8=99%CPU....I don't know how to figure out the
cause :(

> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic