webbench 压力测试数据记录

下文提到的htp://example.html可以替换成测试url

1、10个并发

[developer@APP211 webbench-1.5]$ webbench  -c 10 -t 5 htp://example.html
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET htp://example.html
10 clients, running 5 sec.

Speed=336840 pages/min, 881398 bytes/sec.
Requests: 28070 susceed, 0 failed.

2、100个并发

[developer@APP211 webbench-1.5]$ webbench  -c 100 -t 5 htp://example.html
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET htp://example.html
100 clients, running 5 sec.

Speed=432900 pages/min, 1132755 bytes/sec.
Requests: 36075 susceed, 0 failed.

3、1000个并发

[developer@APP211 webbench-1.5]$ webbench  -c 1000 -t 5 htp://example.html
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET htp://example.html
1000 clients, running 5 sec.

Speed=430356 pages/min, 1126098 bytes/sec.
Requests: 35863 susceed, 0 failed.

4、10000个并发

[developer@APP211 webbench-1.5]$ webbench  -c 10000 -t 5 htp://example.html
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET htp://example.html
10000 clients, running 5 sec.

Speed=438420 pages/min, 1147199 bytes/sec.
Requests: 36535 susceed, 0 failed.

5、30000个并发

[developer@APP211 webbench-1.5]$ webbench  -c 30000 -t 5 htp://example.html
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET htp://example.html
30000 clients, running 5 sec.

Speed=482928 pages/min, 1263661 bytes/sec.
Requests: 40244 susceed, 0 failed.

6、30001个并发

[developer@APP211 webbench-1.5]$ webbench  -c 30001 -t 5 htp://example.html
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET htp://example.html
30001 clients, running 5 sec.
problems forking worker no. 9011

fork failed.: Resource temporarily unavailable

failed: webbench最多只能模拟3万个并发


你可能感兴趣的:(webbench)