RE: [squid-users] which version of squid is more stable and less cpu greedy?
>Um. Are you swapping between versions and using the same cache_dir? Oh. Nope This is the testing process: Installed Ubuntu12.04-create SNAPSHOT_1--install 3.1.19---put traffic(150Mbps)==30%CPU without any drop in bandwidth graph Moving back to SNAPSHOT_1-install 3.3.8--- put traffic(150Mbps)==100%CPU with sudden drop in bandwidth graph BTW I am not using any cache_dir. I just use memory swap... It is now clear for me that 3.3.8 cannot cope with the traffic due to: 1-my wrong configuration 2-my wrong compilation 3-OR some problems in squid I am madly eager to solve the problem... -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Saturday, August 31, 2013 12:20 PM To: squid-users@squid-cache.org Subject: Re: [squid-users] which version of squid is more stable and less cpu greedy? On 31/08/2013 7:45 p.m., Mohsen Dehghani wrote: > 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%CPUI don't know > how to figure out the cause :( Um. Are you swapping between versions and using the same cache_dir? 3.3 does an automatic upgrade of the swap.state file when its started with one created by 3.1. That involves a lot of CPU scanning the disk files for a while. Amos
Re: [squid-users] which version of squid is more stable and less cpu greedy?
On 31/08/2013 7:45 p.m., Mohsen Dehghani wrote: 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%CPUI don't know how to figure out the cause :( Um. Are you swapping between versions and using the same cache_dir? 3.3 does an automatic upgrade of the swap.state file when its started with one created by 3.1. That involves a lot of CPU scanning the disk files for a while. Amos
RE: [squid-users] which version of squid is more stable and less cpu greedy?
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%CPUI 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
Re: [squid-users] which version of squid is more stable and less cpu greedy?
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. nothing to add jc
Re: [squid-users] which version of squid is more stable and less cpu greedy?
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