http2benchmark extended tests fork results
- server - Upcloud 2 cpu 4GB, 80GB KVM VPS CentOS 7.6 with 1Gbit NIC
- client - Upcloud 2 cpu 4GB, 80GB KVM VPS CentOS 7.6 with 1Gbit NIC
/opt/benchmark.sh
ran with following test tools
TOOL_LIST="h2load h2load-low h2load-m80 wrk wrkcmm"
- h2load - nghttp2 library's h2load HTTP/2 HTTPS load testing tool.
- h2load-low - h2load test but with reduced request number tested instead of h2load's 100,000 requests test, reduced to 5,000 requests to allow testing on network constrained systems <=1Gbps.
- h2load-m80 - h2load test with one minor change with more realistic HTTP/2 max concurrent streams = 80 given the average web site has approximately 74 assets according to HTTP Archive.
- wrk - original HTTP/1.1 load testing tool from https://github.com/wg/wrk
- wrkcmm - forked version of wrk with additional features outlined at https://github.com/centminmod/wrk/tree/centminmod. By default tests same paramters as original wrk.
The following test targets are benchmarked by default
1kstatic.html
- 1kb static html file1kgzip-static.html
- 1kb static html file that has been gzip pre-compressed (leverage nginx gzip_static directive)1knogzip.jpg
- 1kb jpg imageamdepyc2.jpg.webp
- 11kb webP imageamdepyc2.jpg
- 26kb jpg imagewordpress
- wordpress php/mariadb mysql test where apache uses w3 total cache plugin, litespeed uses litespeed cache plugin and nginx uses php-fpm fastgci_cache cachingcoachblog
- wordpress OceanWP Coach theme test blog static html version simulating wordpress cache plugins which do full page static html cachingcoachbloggzip
- precompress gzip wordpress OceanWP Coach theme test blog static html version simulating wordpress cache plugins which do full page static html caching i.e. Cache Enabler wordpress plugin + Autoptimize wordpress plugin + Autoptimize Gzip companion plugin. Such combo allows Wordpress site to do full page static html caching with pre-compressed gzipped static assets for html, css and js which can leverage nginx gzip_static directive.
***Total of 1548 seconds to finish process***
[OK] to archive /opt/Benchmark/081119-102255.tgz
############# Benchmark Result #################
h2load - 1kstatic.html
lsws 5.4 finished in 609.37 seconds, 164104.00 req/s, 19.44 MB/s, 0 failures
nginx 1.16.0 finished in 1.37 seconds, 72817.50 req/s, 16.18 MB/s, 0 failures
h2load-low - 1kstatic.html
lsws 5.4 finished in 0.09 seconds, 53356.60 req/s, 6.53 MB/s, 0 failures
nginx 1.16.0 finished in 0.11 seconds, 46247.90 req/s, 10.32 MB/s, 0 failures
h2load-m80 - 1kstatic.html
lsws 5.4 finished in 0.50 seconds, 199415.00 req/s, 23.62 MB/s, 0 failures
nginx 1.16.0 finished in 0.94 seconds, 105860.00 req/s, 23.53 MB/s, 0 failures
wrk - 1kstatic.html
lsws 5.4 finished in 5.00 seconds, 68484.90 req/s, 25.91 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 52382.50 req/s, 18.98 MB/s, N/A failures
wrkcmm - 1kstatic.html
lsws 5.4 finished in 5.00 seconds, 69204.50 req/s, 26.80 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 52987.20 req/s, 19.20 MB/s, N/A failures
h2load - 1kgzip-static.html
lsws 5.4 finished in 609.97 seconds, 163942.00 req/s, 19.42 MB/s, 0 failures
nginx 1.16.0 finished in 1.30 seconds, 76698.50 req/s, 18.44 MB/s, 0 failures
h2load-low - 1kgzip-static.html
lsws 5.4 finished in 0.10 seconds, 52235.60 req/s, 6.40 MB/s, 0 failures
nginx 1.16.0 finished in 0.13 seconds, 38721.20 req/s, 9.34 MB/s, 0 failures
h2load-m80 - 1kgzip-static.html
lsws 5.4 finished in 0.47 seconds, 213071.00 req/s, 25.24 MB/s, 0 failures
nginx 1.16.0 finished in 0.96 seconds, 104367.00 req/s, 25.09 MB/s, 0 failures
wrk - 1kgzip-static.html
lsws 5.4 finished in 5.00 seconds, 60237.60 req/s, 23.47 MB/s, N/A failures
nginx 1.16.0 finished in 5.01 seconds, 51472.70 req/s, 18.41 MB/s, N/A failures
wrkcmm - 1kgzip-static.html
lsws 5.4 finished in 5.00 seconds, 74684.60 req/s, 28.68 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 58109.90 req/s, 20.78 MB/s, N/A failures
h2load - 1knogzip.jpg
lsws 5.4 finished in 944.57 seconds, 105868.00 req/s, 106.35 MB/s, 0 failures
nginx 1.16.0 finished in 1.12 seconds, 89479.70 req/s, 98.23 MB/s, 0 failures
h2load-low - 1knogzip.jpg
lsws 5.4 finished in 0.10 seconds, 48763.80 req/s, 49.20 MB/s, 0 failures
nginx 1.16.0 finished in 0.14 seconds, 35888.60 req/s, 39.43 MB/s, 0 failures
h2load-m80 - 1knogzip.jpg
lsws 5.4 finished in 0.93 seconds, 108047.00 req/s, 108.53 MB/s, 0 failures
nginx 1.16.0 finished in 1.04 seconds, 95845.30 req/s, 105.21 MB/s, 0 failures
wrk - 1knogzip.jpg
lsws 5.4 finished in 5.00 seconds, 71245.50 req/s, 92.41 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 58255.70 req/s, 70.22 MB/s, N/A failures
wrkcmm - 1knogzip.jpg
lsws 5.4 finished in 5.00 seconds, 68457.70 req/s, 89.18 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 49899.30 req/s, 60.15 MB/s, N/A failures
h2load - amdepyc2.jpg.webp
lsws 5.4 finished in 8.94 seconds, 11182.10 req/s, 113.00 MB/s, 0 failures
nginx 1.16.0 finished in 9.01 seconds, 11100.10 req/s, 113.12 MB/s, 0 failures
h2load-low - amdepyc2.jpg.webp
lsws 5.4 finished in 0.49 seconds, 10288.10 req/s, 103.83 MB/s, 0 failures
nginx 1.16.0 finished in 0.50 seconds, 10081.60 req/s, 102.75 MB/s, 0 failures
h2load-m80 - amdepyc2.jpg.webp
lsws 5.4 finished in 10.57 seconds, 9459.60 req/s, 95.55 MB/s, 14 failures
nginx 1.16.0 finished in 9.00 seconds, 11106.10 req/s, 113.18 MB/s, 0 failures
wrk - amdepyc2.jpg.webp
lsws 5.4 finished in 5.00 seconds, 10826.10 req/s, 112.40 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 10909.10 req/s, 112.26 MB/s, N/A failures
wrkcmm - amdepyc2.jpg.webp
lsws 5.4 finished in 5.00 seconds, 10812.90 req/s, 112.32 MB/s, N/A failures
nginx 1.16.0 finished in 5.01 seconds, 10872.20 req/s, 111.88 MB/s, N/A failures
h2load - amdepyc2.jpg
lsws 5.4 finished in 21.91 seconds, 4563.80 req/s, 113.51 MB/s, 0 failures
nginx 1.16.0 finished in 21.99 seconds, 4547.85 req/s, 113.47 MB/s, 0 failures
h2load-low - amdepyc2.jpg
lsws 5.4 finished in 6.09 seconds, 806.10 req/s, 20.03 MB/s, 89 failures
nginx 1.16.0 finished in 1.14 seconds, 4369.40 req/s, 109.02 MB/s, 0 failures
h2load-m80 - amdepyc2.jpg
lsws 5.4 finished in 21.88 seconds, 4569.70 req/s, 113.57 MB/s, 0 failures
nginx 1.16.0 finished in 21.97 seconds, 4551.10 req/s, 113.56 MB/s, 0 failures
wrk - amdepyc2.jpg
lsws 5.4 finished in 5.00 seconds, 4485.53 req/s, 112.70 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 4487.83 req/s, 112.46 MB/s, N/A failures
wrkcmm - amdepyc2.jpg
lsws 5.4 finished in 5.00 seconds, 4487.08 req/s, 112.79 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 4484.23 req/s, 112.32 MB/s, N/A failures
h2load - wordpress
lsws 5.4 finished in 3.47 seconds, 28851.80 req/s, 111.97 MB/s, 0 failures
nginx 1.16.0 finished in 8.80 seconds, 11367.10 req/s, 46.20 MB/s, 0 failures
h2load-low - wordpress
lsws 5.4 finished in 0.22 seconds, 22836.40 req/s, 88.74 MB/s, 0 failures
nginx 1.16.0 finished in 0.46 seconds, 10804.90 req/s, 43.93 MB/s, 0 failures
h2load-m80 - wordpress
lsws 5.4 finished in 8.42 seconds, 11806.30 req/s, 45.82 MB/s, 582 failures
nginx 1.16.0 finished in 8.71 seconds, 11478.00 req/s, 46.65 MB/s, 0 failures
wrk - wordpress
lsws 5.4 finished in 5.00 seconds, 26319.90 req/s, 110.69 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 11673.70 req/s, 49.18 MB/s, N/A failures
wrkcmm - wordpress
lsws 5.4 finished in 5.00 seconds, 26306.60 req/s, 110.64 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 11695.80 req/s, 49.28 MB/s, N/A failures
h2load - coachblog
lsws 5.4 finished in 5.59 seconds, 17873.10 req/s, 112.81 MB/s, 0 failures
nginx 1.16.0 finished in 16.06 seconds, 6228.40 req/s, 47.40 MB/s, 0 failures
h2load-low - coachblog
lsws 5.4 finished in 0.31 seconds, 15901.70 req/s, 100.43 MB/s, 0 failures
nginx 1.16.0 finished in 0.79 seconds, 6292.00 req/s, 47.88 MB/s, 0 failures
h2load-m80 - coachblog
lsws 5.4 finished in 10.54 seconds, 9475.00 req/s, 59.80 MB/s, 113 failures
nginx 1.16.0 finished in 16.88 seconds, 5923.80 req/s, 45.08 MB/s, 0 failures
wrk - coachblog
lsws 5.4 finished in 5.00 seconds, 17033.40 req/s, 111.97 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 6673.20 req/s, 51.73 MB/s, N/A failures
wrkcmm - coachblog
lsws 5.4 finished in 5.00 seconds, 17047.60 req/s, 112.07 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 6677.80 req/s, 51.76 MB/s, N/A failures
h2load - coachbloggzip
lsws 5.4 finished in 5.61 seconds, 17836.30 req/s, 112.58 MB/s, 0 failures
nginx 1.16.0 finished in 5.72 seconds, 17473.20 req/s, 112.52 MB/s, 0 failures
h2load-low - coachbloggzip
lsws 5.4 finished in 0.32 seconds, 15867.80 req/s, 100.22 MB/s, 0 failures
nginx 1.16.0 finished in 0.33 seconds, 14953.40 req/s, 96.30 MB/s, 0 failures
h2load-m80 - coachbloggzip
lsws 5.4 finished in 10.46 seconds, 9542.30 req/s, 60.23 MB/s, 161 failures
nginx 1.16.0 finished in 5.71 seconds, 17517.90 req/s, 112.80 MB/s, 0 failures
wrk - coachbloggzip
lsws 5.4 finished in 5.00 seconds, 17059.90 req/s, 112.15 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 17018.00 req/s, 111.59 MB/s, N/A failures
wrkcmm - coachbloggzip
lsws 5.4 finished in 5.00 seconds, 17063.70 req/s, 112.17 MB/s, N/A failures
nginx 1.16.0 finished in 5.00 seconds, 16912.00 req/s, 110.90 MB/s, N/A failures