how can it be, that an aapanel based apache server performs only around 50% of the speed of an hestia cp based apache server?
I have hosted 2 identical VPS ARM Servers on Oracle Cloud. Server 1 got Hestia, Server 2 AAPanel installed.
Then i set up Wordpress on both servers and install PHP/MySQL CPU performance statistics Plugin for testing.
Hestia Results:
Server: test1.domain.eu@10.0.0.111
PHP host information: Linux ws2.domain.eu 5.11.0-1027-oracle #3020.04.1-Ubuntu SMP Thu Jan 13 09:43:40 UTC 2022 aarch64
PHP version: 7.4.27
PHP memory limit: 512M
PHP post_max_size: 512M
PHP upload_max_size: 512M
PHP max_execution_time: 30 seconds
PHP extensions loaded Core date libxml openssl pcre zlib filter hash Reflection SPL session standard sodium cgi-fcgi mysqlnd PDO xml apcu bcmath bz2 calendar ctype curl dom mbstring FFI fileinfo ftp gd gettext iconv imagick imap intl json ldap exif mysqli pdo_mysql apc posix pspell readline shmop SimpleXML soap sockets sysvmsg sysvsem sysvshm tokenizer xmlreader xmlwriter xsl zip Phar Zend OPcache
PHP ini file location: /etc/php/7.4/fpm/php.ini
Webserver: Test not implemented yet/unknown web server
Loaded webserver modules: T
Platform: Linux
Gateway interface: CGI/1.1
Path to files: /home/admin/web/test1.domain.eu/public_html/wp-admin
MySQL version 10.6.5-MariaDB-1:10.6.5+mariafocal
Server load now: 0.04
Server load avg. 5 minutes: 0.01
Server load avg. 15 minutes: 0.00
MySQL test:
Time to perform: Query test (200 times) : 0.54 seconds (370/sec)
MySQL tests:
Time to perform: select BENCHMARK(500000000, EXTRACT(YEAR FROM NOW())) : 5.73 seconds
Time to perform: select BENCHMARK(10000000,ENCODE('hello','goodbye')) : 0.64 seconds
Time to perform: select BENCHMARK(25000000,1+1*2); : 0.49 seconds
Total time (all MySQL tests) : 7.40 seconds
PHP test:
Time to perform: Math test : 0.05 seconds
Time to perform: StringManipulation test : 0.19 seconds
Time to perform: test Loop test : 0.07 seconds
Time to perform: test IfElse : 0.08 seconds
Total time (all PHP tests) : 0.39 seconds
Network test:
Network test 1: Fetch data from nearest google CDN point : 60.93 Mbps
All tests:
Total time (all MySQL + PHP tests) : 7.79 seconds
AAPanel Results:
Server: test2.domain.eu@10.0.0.187
PHP host information: Linux aapanel-apache-redis-test 5.11.0-1027-oracle #3020.04.1-Ubuntu SMP Thu Jan 13 09:43:40 UTC 2022 aarch64
PHP version: 7.4.27
PHP memory limit: 512M
PHP post_max_size: 512M
PHP upload_max_size: 512M
PHP max_execution_time: 300 seconds
PHP extensions loaded Core date libxml openssl pcre sqlite3 zlib bcmath ctype curl dom filter ftp gd gettext hash iconv intl json mbstring SPL session pcntl standard PDO mysqlnd pdo_sqlite Phar posix Reflection pdo_mysql shmop SimpleXML soap sockets sodium mysqli sysvsem tokenizer xml xmlreader xmlrpc xmlwriter cgi-fcgi zip apcu fileinfo Zend OPcache
PHP ini file location: /www/server/php/74/etc/php.ini
Webserver: Test not implemented yet/unknown web server
Loaded webserver modules:
Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/test2.domain.eu/wp-content/plugins/mywebtonet-performancestats/mywebtonet-performancestats.php on line 516
T
Platform: Linux
Gateway interface: CGI/1.1
Path to files: /www/wwwroot/test2.domain.eu/wp-admin
MySQL version 10.4.19-MariaDB-log
Server load now: 0.05
Server load avg. 5 minutes: 0.33
Server load avg. 15 minutes: 0.59
MySQL test:
Time to perform: Query test (200 times) : 0.97 seconds (206/sec)
MySQL tests:
Time to perform: select BENCHMARK(500000000, EXTRACT(YEAR FROM NOW())) : 6.54 seconds
Time to perform: select BENCHMARK(10000000,ENCODE('hello','goodbye')) : 0.62 seconds
Time to perform: select BENCHMARK(25000000,1+1*2); : 0.50 seconds
Total time (all MySQL tests) : 8.63 seconds
PHP test:
Time to perform: Math test : 0.23 seconds
Time to perform: StringManipulation test : 0.89 seconds
Time to perform: test Loop test : 0.23 seconds
Time to perform: test IfElse : 0.23 seconds
Total time (all PHP tests) : 1.58 seconds
Network test:
Network test 1: Fetch data from nearest google CDN point : 48.42 Mbps
All tests:
Total time (all MySQL + PHP tests) : 10.21 seconds
Result:
Looking at only the MySql Tests per Second results we can see that the Hestia Server is 2x as fast as AApanel.
When working in the Wordpress backend, i can confirm this result, as loading of the interface, like plugins, dashboard etc.......takes 2 times as long on the AApanel version. (measured by page load times)
WHY IS THAT? OPcache and Apcu are enabled on both servers.