Something may be wrong, but I'm testing a bit between installing wordpress php-fpm and setting up Wordpress HHVM. I heard and saw a lot of mental results from HHVM, but I'm just shocked by the results that I get.
Using the following apache testing command, I get a much higher performance from php-fpm than HHVM.
ab -n1000 http:
For php-fpm, I get 109.98 requests per second.
Unfortunately, for me, I only get ~ 12.33 requests per second using HHVM.
These tests are performed on a standard new Wordpress installation. I have to do something wrong in my configuration. I just need fresh eyes to see if I do something right.
Customization
An emergency copy from my local Macbook. Ubuntu Server 14.04.1 LTS 1 GB RAM 1 Nginx MySQL processor
HHVM Configuration
pid = /var/run/hhvm/pid hhvm.server.file_socket=/var/run/hhvm/hhvm.sock hhvm.server.type = fastcgi hhvm.server.default_document = index.php hhvm.log.level = Warning hhvm.log.always_log_unhandled_exceptions = true hhvm.log.runtime_error_reporting_level = 8191 hhvm.log.use_log_file = true hhvm.log.file = /var/log/hhvm/error.log hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc hhvm.mysql.typed_results = false hhvm.eval.jit_warmup_requests = 0 hhvm.eval.jit = true
Nginx config
location ~ \.(hh|php)$ { fastcgi_pass unix:/var/run/hhvm/hhvm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
Any help is appreciated! Thank.
php nginx wordpress hhvm
Justin Workman Aug 05 '14 at 19:45 2014-08-05 19:45
source share