Page tree
Skip to end of metadata
Go to start of metadata

Performance issues

  • need performance tests/regressions

Performance results

TEST 1-static img file
1G CPU , 512M MEM , CentOS 5.4(EXT4) , 20G IDE DISK

$ webbench -t 30 -c 10 -p 127.0.0.1:8080 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:8080.

Speed=260178 pages/min, 33840485 bytes/sec.
Requests: 130089 susceed, 0 failed.
$ expr 260178 / 60
4336
$ webbench -t 30 -c 30 -p 127.0.0.1:8080 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
30 clients, running 30 sec, via proxy server 127.0.0.1:8080.

Speed=262838 pages/min, 34180806 bytes/sec.
Requests: 131419 susceed, 0 failed.
$ expr 262838 / 60
4380

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

(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

Req/Sec

TS

4336

Squid

2202

Varnish

3333

TEST 2-dynamic page

$ webbench -t 30 -c 10 -p 127.0.0.1:8080 http://www.apache.org/  
$ webbench -t 30 -c 10 -p 127.0.0.1:3128 http://www.apache.org/ 
$ webbench -t 30 -c 10 -p 127.0.0.1:8180 http://www.apache.org/                       

Result

Pro

Req/Sec

TS

2829

Squid

1063

Varnish

2903

Profiling results

  • No labels