LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Performance vs Apache/PHP-FPM (http://www.litespeedtech.com/support/forum/showthread.php?t=5836)

aheadley 04-06-2012 11:54 AM

Performance vs Apache/PHP-FPM
 
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 04-06-2012 01:08 PM

Quote:

Originally Posted by aheadley (Post 32574)
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?

aheadley 04-06-2012 01:46 PM

Quote:

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.

Quote:

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 04-07-2012 01:16 AM

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.

aheadley 04-07-2012 07:53 AM

Quote:

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 04-07-2012 08:53 AM

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.


All times are GMT -7. The time now is 09:22 PM.