Siege Benchmark Test #2: Internet mode
Internet mode test with 300 concurrent users, 100 repetitions, and 0-5 second random delay against multiple URL endpoints. Requests were distributed across 3x load-balanced VPS servers.
URL File
http://centminmod.com/index.html
http://centminmod.com/faq.html
http://centminmod.com/changelog.html
http://centminmod.com/siegebenchmark_nginx.html
http://centminmod.com/apachebench_nginx.html
Test Command & Results
siege -i -c300 -r100 -d5 -f centminmod.txt
** SIEGE 2.70
** Preparing 300 concurrent users for battle.
The server is now under siege...
HTTP/1.1 200 0.24 secs: 2900 bytes ==> /faq.html
HTTP/1.1 200 0.24 secs: 2900 bytes ==> /faq.html
HTTP/1.1 200 0.24 secs: 2822 bytes ==> /apachebench_nginx.html
...
done.
Transactions: 30000 hits
Availability: 100.00 %
Elapsed time: 311.16 secs
Data transferred: 103.56 MB
Response time: 0.16 secs
Transaction rate: 96.41 trans/sec
Throughput: 0.33 MB/sec
Concurrency: 14.94
Successful transactions: 30000
Failed transactions: 0
Longest transaction: 4.83
Shortest transaction: 0.09
Server Load During Test
HAProxy + web3 (peak load: 1.30)
top - 12:00:11 up 34 days, 22:42, load average: 1.30, 0.49, 0.19
Cpu0: 99.5%id Cpu1: 99.5%id
Mem: 1048576k total, 142396k used, 906180k free
web1 (peak load: 0.94)
top - 12:00:11 up 22 days, 7:01, load average: 0.94, 0.26, 0.08
Cpu0: 99.0%id Cpu1: 99.0%id
Mem: 1048576k total, 133616k used, 914960k free
web2 (peak load: 0.67)
top - 12:01:46 up 10 days, 15:15, load average: 0.67, 0.27, 0.09
Cpu0: 94.8%id Cpu1: 94.0%id
Mem: 1048576k total, 129720k used, 918856k free
Nginx Configuration
user nginx nginx;
worker_processes 1;
worker_rlimit_nofile 51200;
error_log logs/error.log;
pid logs/nginx.pid;
events {
worker_connections 32768;
use epoll;
}