Performance vs Apache/PHP-FPM

#1
We've done some benchmarking of Magento on Litespeed/PHP-LS against Apache/PHP-FPM using magespeedtest.com and found that Apache/PHP-FPM is consistently a small but non-negligble amount faster. We already have a large LSWS install base but are considering switching to Apache/PHP-FPM for the performance increase. Is there anything we can do to improve Litespeed/PHP-LS performance? Our standard LSWS config is here: http://pastebin.com/amTTyhHQ
 

webizen

Well-Known Member
#2
We've done some benchmarking of Magento on Litespeed/PHP-LS against Apache/PHP-FPM using magespeedtest.com and found that Apache/PHP-FPM is consistently a small but non-negligble amount faster. ...
pls provide some details of how the benchmark was done.

also, do you mean the binary size of Apache/PHP-FPM is small? does it have all the matching extensions and version with Litespeed/PHP-LS?
 
#3
pls provide some details of how the benchmark was done.
The benchmark was 5 Siege runs with 100 concurrent users for 45 seconds against a list of URLs pulled from Magento's sitemap with the default sample data installed. The PHP configuration/extensions/version (5.3.10) were the same for both.

also, do you mean the binary size of Apache/PHP-FPM is small?
No, I mean there was a small performance difference, but that it's not negligible.
 

NiteWave

Administrator
#4
if concern about magento performance, should run php in non-suExec mode and enable opcode cache. I checked the httpd_config.xml, it's configured to run php in suExec mode.
 
#5
if concern about magento performance, should run php in non-suExec mode and enable opcode cache
Both PHP-LS and PHP-FPM were using APC for the benchmarks. This is for a shared hosting environment so running without suExec (or something similar) is not an option.
 

NiteWave

Administrator
#6
APC or XCache not working or extra load under php suExec. disabling it may result better performance --- if you test it. only eAccelerator works well with php suExec if put opcode cache on disk instead of in memory.
 
Top