Siege Benchmark Test #1: Benchmark mode
Centmin Mod Nginx auto installer includes an option to auto install Siege. This test ran from a separate 4th VPS in Chicago, IL against 3x 512MB / 1GB Burst OpenVZ VPSes load balanced via HAProxy.
Note: A 256 concurrency level with 1 second delay (-c256 -d1) translates to roughly 47,000 unique visitors per day.
Test Command & Results
siege -b -c300 -r50 centminmod.com/index.html -m centminmod300
** SIEGE 2.70
** Preparing 300 concurrent users for battle.
The server is now under siege...
Transactions: 15000 hits
Availability: 100.00 %
Elapsed time: 20.20 secs
Data transferred: 43.89 MB
Response time: 0.27 secs
Transaction rate: 742.57 trans/sec
Throughput: 2.17 MB/sec
Concurrency: 199.77
Successful transactions: 15000
Failed transactions: 0
Longest transaction: 7.43
Shortest transaction: 0.10
Server Load During Test
HAProxy + web3
top - 03:28:08 up 33 days, 14:10, 1 user, load average: 0.27, 0.09, 0.03
Cpu0: 100.0%id Cpu1: 100.0%id
Mem: 1048576k total, 133636k used, 914940k free
Centmin Mod Nginx web1
top - 03:28:09 up 20 days, 22:29, 1 user, load average: 0.13, 0.04, 0.01
Cpu0: 100.0%id Cpu1: 100.0%id
Mem: 1048576k total, 126200k used, 922376k free
Centmin Mod Nginx web2
top - 03:28:09 up 9 days, 6:41, 1 user, load average: 0.00, 0.00, 0.01
Cpu0: 99.8%id Cpu1: 99.7%id
Mem: 1048576k total, 128308k used, 920268k 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;
}