- 论坛徽章:
- 0
|
本帖最后由 heizi21 于 2010-06-04 10:11 编辑
四台服务器,2台LVS主备,2台realserver,后端服务是apache静态页面,
经过siege压力测试对比数据如下:
siege 并发1000 重复20次
访问LVS
Transactions: 1254hits
Availability: 38.57 %
Elapsed time: 71.99 secs
Data transferred: 0.05 MB
Response time: 0.84 secs
Transaction rate: 17.42 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 14.42
Successful transactions: 1254
Failed transactions: 1997
Longest transaction: 21.08
Shortest transaction: 0.04
直接访问web端数据是
Transactions: 20000 hits
Availability: 100.00 %
Elapsed time: 57.54 secs
Data transferred: 0.84 MB
Response time: 0.46 secs
Transaction rate: 347.58 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 161.63
Successful transactions: 20000
Failed transactions: 0
Longest transaction: 26.12
Shortest transaction: 0.04
为何结果是这样呢,是不是测试方法不对,还是哪里参数设置问题?如何测试LVS性能呢? |
|