Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's so closed to open 10 or 30 clients to do this test . And if we have more machines to run webbench , or we have a powerful server to setup trafficserver(4core CPU, 4G MEM , and so on) , I think we will have the better test result .

Same time & same machine , do the same test to squid3.1 & Varnish2.1.3

Code Block

(1)Squid
$ webbench -t 30 -c 10 -p 127.0.0.1:3128 http://www.apache.org/images/feather-small.gif
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://www.apache.org/images/feather-small.gif
10 clients, running 30 sec, via proxy server 127.0.0.1:3128.

Speed=132158 pages/min, 17547771 bytes/sec.
Requests: 66079 susceed, 0 failed.
$ expr 132158 / 60
2202
(2)Varnish
$ webbench -t 30 -c 10 -p 127.0.0.1:8180 http://www.apache.org/images/feather-small.gif
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://www.apache.org/images/feather-small.gif
10 clients, running 30 sec, via proxy server 127.0.0.1:8180.

Speed=199988 pages/min, 2179891 bytes/sec.
Requests: 99994 susceed, 0 failed.
$ expr 199988 / 60
3333

Result

Pro

Res/Sec

TS

4336

Squid

2202

Varnish

3333

TEST 2-dynamic page

Code Block
$ webbench -t 30 -c 10 -p 127.0.0.1:8080 http://www.apache.org/                        
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://www.apache.org/
10 clients, running 30 sec, via proxy server 127.0.0.1:8080.

Speed=159166 pages/min, -48385407 bytes/sec.
Requests: 79583 susceed, 0 failed.
$ expr 159166 / 60
2652

...