This blog post was migrated from old wordpress7.centminmod.com site prior to it’s closure. Running more load testing benchmarks against this blog for WordPress Super Cache benchmarks. This time using Siege http load testing tool. Centmin Mod LEMP web stack installer already includes installation of Siege benchmark tool by default, so makes testing quite easy. You would need to run Siege benchmark tool from a separate server from the target test web server/site you want to test as Siege uses server resources itself (cpu and memory).
This blog is served from a 2GB KVM based DigitalOcean KBM VPS with 2 cpu cores on CentOS 7.0 64bit located in San Francisco. The Siege test is being launched from my dedicated server in Las Vegas which consists of a Intel Xeon E3-1240v3, 32GB memory and 250GB SSD disk also running Centmin Mod .08 beta LEMP web stack but on CentOS 6.6 64bit OS.
Tests are run against this blog’s November archive url as that is a more static url not subject to changes made from the front page as new blog post entries show up on front page changing the size or the page slightly. This would make it harder to retest for comparison sake compared to using the November archive url.
Siege benchmark testing parameters
- -b for benchmark mode
- -m date and timestamp marker for Siege benchmark logs
- -d3 for 3 second delay
- -c50,100,150,200 for concurrency tests for 50, 100, 150 and 200 concurrent users
- -r20 for 20 repetitions
- cache revalidation enabled in Siege config file at /usr/local/etc/siegerc
- target url for test is WordPress November archive url: http://wordpress7.centminmod.com/date/2014/11/
Actual Siege benchmark commands:
URL=http://wordpress7.centminmod.com/date/2014/11/ siege -q -b -m301114-233322 -d3 -c50 -r20 $URL siege -q -b -m301114-233322 -d3 -c100 -r20 $URL siege -q -b -m301114-233322 -d3 -c150 -r20 $URL siege -q -b -m301114-233322 -d3 -c200 -r20 $URL
Siege benchmark log entries:
head -n1 /usr/local/var/siege.log Date & Time, Trans, Elap Time, Data Trans, Resp Time, Trans Rate, Throughput, Concurrent, OKAY, Failed
tail -8 /usr/local/var/siege.log **** 301114-233322 **** 2014-11-30 23:33:38, 1000, 5.75, 0, 0.14, 173.91, 0.00, 23.81, 1000, 0 **** 301114-233322 **** 2014-11-30 23:33:46, 2000, 7.75, 0, 0.19, 258.06, 0.00, 50.26, 2000, 0 **** 301114-233322 **** 2014-11-30 23:33:58, 3000, 10.77, 0, 0.23, 278.55, 0.00, 65.19, 3000, 0 **** 301114-233322 **** 2014-11-30 23:34:12, 4000, 12.75, 0, 0.29, 313.73, 0.00, 91.37, 4000, 0
Raw Siege benchmark output results below:
siege -q -b -m301114-233322 -d3 -c50 -r20 $URL Transactions: 1000 hits Availability: 100.00 % Elapsed time: 5.75 secs Data transferred: 0.24 MB Response time: 0.14 secs Transaction rate: 173.91 trans/sec Throughput: 0.04 MB/sec Concurrency: 23.81 Successful transactions: 1000 Failed transactions: 0 Longest transaction: 3.04 Shortest transaction: 0.03
siege -q -b -m301114-233322 -d3 -c100 -r20 $URL Transactions: 2000 hits Availability: 100.00 % Elapsed time: 7.75 secs Data transferred: 0.49 MB Response time: 0.19 secs Transaction rate: 258.06 trans/sec Throughput: 0.06 MB/sec Concurrency: 50.26 Successful transactions: 2000 Failed transactions: 0 Longest transaction: 3.04 Shortest transaction: 0.03
siege -q -b -m301114-233322 -d3 -c150 -r20 $URL Transactions: 3000 hits Availability: 100.00 % Elapsed time: 10.77 secs Data transferred: 0.73 MB Response time: 0.23 secs Transaction rate: 278.55 trans/sec Throughput: 0.07 MB/sec Concurrency: 65.19 Successful transactions: 3000 Failed transactions: 0 Longest transaction: 7.04 Shortest transaction: 0.03
siege -q -b -m301114-233322 -d3 -c200 -r20 $URL Transactions: 4000 hits Availability: 100.00 % Elapsed time: 12.75 secs Data transferred: 0.97 MB Response time: 0.29 secs Transaction rate: 313.73 trans/sec Throughput: 0.08 MB/sec Concurrency: 91.37 Successful transactions: 4000 Failed transactions: 0 Longest transaction: 7.04 Shortest transaction: 0.03
The Centmin Mod LEMP web stack consists of the following:
- Centmin Mod .08 beta release
- Nginx 1.7.7
- PHP 7.0.0-dev + Zend Opcache
- MariaDB 10.0.15 MySQL server
- Memcached Server 1.4.21 + Memcache 3.0.8 PHP Extension
- Libmemcached 1.0.18 + Memcached 2.2.0 PHP Extension
- Siege Benchmark Tool
- Ioping Random Disk I/O Benchmark Tool (optional)
- Multi-threaded compression: pigz, pbzip2, lbzip2, plzip, p7zip (optional)
- Python 2.7.7 (optional)
- CSF Firewall
- CentOS 7.0 64bit
For more information on the Centmin Mod LEMP web stack install, check out the How to install Centmin Mod LEMP web stack on DigitalOcean Droplet Guide.