LVS测试
使用webbench对LVS进行请求webbench -c 1000 -t 60 http://192.168.1.182/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http://192.168.1.182/
1000 clients, running 60 sec.
Speed=27578 pages/min, 248858 bytes/sec.
Requests: 18055 susceed, 9523 failed.
ipvsadm统计结果
#ipvsadm -L --stats
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Conns InPktsOutPktsInBytes OutBytes
-> RemoteAddress:Port
TCP192.168.1.182:http 28578 109361 07204881 0
-> 192.168.1.191:http 9526 50190 03336528 0
-> 192.168.1.189:http 9526 49644 03296733 0
-> 192.168.1.171:http 9526 9527 0 571620 0
请求到LVS后数据包未丢失,CPU服务器负载无变动。
后端应用服务器负载增加,请求有失败现象。
页:
[1]