CloudLinux mod_lsapi benchmarks

CentOS release 7.3 KVM guest: 1 CPU core (E5-2620) 4GB RAM (DDR4 2133MHz).

Apache Config:
StartServers 1
MinSpareServers 2
MaxSpareServers 4
ServerLimit 100
MaxRequestWorkers 80
MaxConnectionsPerChild 5000
KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 20
Timeout 100

PHP-FPM 5.6 Zend OpCache / Apache 2.4.23 / Nginx 1.11.6

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 0.59, 0.76, 0.86
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/SwM6xWgz
Page load time: 1.6s Requests 15 PageSpeed Score A 97%
load average: 0.03, 0.25, 0.37

PHP 5.6 DSO+mod_ruid2 Zend OpCache / Apache 2.4.23 / Nginx 1.11.6

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 0.50, 0.92, 0.92
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/Do8Uzruu
Page load time: 1.3s Requests 15 PageSpeed Score A 97%
load average: 0.24, 0.59, 0.79

PHP 5.6 DSO w/o mod_ruid2 Zend OpCache / Apache 2.4.23 / Nginx 1.11.16

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 0.19, 0.29, 0.92
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/JcTzmgEk
Page load time: 1.1s Requests 15 PageSpeed Score A 97%
load average: 0.12, 0.20, 0.76

PHP-FPM 5.6 Zend OpCache / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 2.61, 1.25, 1.12
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/8g2x6urU
Page load time 2.5s Requests 15 PageSpeed Score A 97%
load average: 0.37, 0.98, 1.06

PHP 5.6 DSO+mod_ruid2 Zend OpCache / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 8.23, 2.68, 1.45
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/ujReKYJo
Page load time 2.8s Requests 15 PageSpeed Score A 97%
load average: 0.03, 0.87, 1.03

PHP 5.6 suPHP / Apache 2.4.23 / Nginx 1.11.61

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 0.29, 0.34, 1.21
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/8RJXHS7u
Page load time 1.7s Requests 15 PageSpeed Score A 97%
load average: 0.03, 0.32, 1.26

PHP 5.6 suPHP / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 41.21, 11.62, 4.43
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/7JKSoyve
Page load time 3.0s Requests 15 PageSpeed Score A 97%
load average: 0.23, 3.73, 3.09

PHP 5.6 DSO w/o mod_ruid2 Zend OpCache / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 5.83, 3.24, 2.92
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/71JYD35N
Page load time 2.4s Requests 15 PageSpeed Score A 97%
load average: 0.21, 1.75, 2.10

CloudLinux release 7.3 (Yury Malyshev) same KVM guest.

  • Unlimited resource use in LVE

PHP 5.6 mod_lsapi Zend OpCache / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 1.82, 0.75, 0.60
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/hzLWQe0P
Page load time 2.5s Requests 15 PageSpeed Score A 97%
load average: 0.08, 0.28, 0.46

PHP 5.6 mod_lsapi Zend OpCache disabled / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 2.13, 1.26, 0.81
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/my8VZgO4
Page load time 2.6s Requests 15 PageSpeed Score A 97%
load average: 0.89, 1.08, 0.79

PHP 7.0 mod_lsapi Zend OpCache disabled / Apache 2.4.23

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 1.10, 0.83, 0.72
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/hCNNMSB6
Page load time 2.2s Requests 15 PageSpeed Score A 97%
load average: 0.11, 0.66, 0.67

PHP 7.0 mod_lsapi Zend OpCache / Apache 2.4.23 / Nginx 1.9.14

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 1.29, 0.89, 0.78
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/HVsGquTh
Page load time 1.5s Requests 15 PageSpeed Score A 97%
load average: 0.06, 0.31, 0.55

PHP 5.6 mod_lsapi Zend OpCache disabled / Apache 2.4.23 / Nginx 1.9.14

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 1.91, 0.95, 0.74
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/RcrcOgk1
Page load time 1.4s Requests 15 PageSpeed Score A 97%
load average: 0.16, 0.63, 0.65

PHP 5.6 mod_lsapi Zend OpCache / Apache 2.4.23 / Nginx 1.9.14

root@openstack.donthurt.us:~ # siege --concurrent=80 --reps=100 http://blog.donthurt.us
load average: 1.26, 0.67, 0.64
GTMetrix - https://gtmetrix.com/reports/blog.donthurt.us/uttHxbNj
Page load time 1.3s Requests 15 PageSpeed Score A 97%
load average: 0.22, 0.45, 0.58
  • There isn’t a huge speed difference between any of the PHP handlers except for suPHP but what I find most impressive is how much less the load is on the server when using mod_lsapi while running the benchmarks when using Apache without Nginx.

Leave a Reply

Your email address will not be published. Required fields are marked *