LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Performance vs Apache/PHP-FPM

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2012, 11:54 AM
aheadley aheadley is offline
New Member
 
Join Date: Mar 2012
Posts: 8
Default 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
Reply With Quote
  #2  
Old 04-06-2012, 01:08 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by aheadley View Post
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?
Reply With Quote
  #3  
Old 04-06-2012, 01:46 PM
aheadley aheadley is offline
New Member
 
Join Date: Mar 2012
Posts: 8
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.
Reply With Quote
  #4  
Old 04-07-2012, 01:16 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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.
Reply With Quote
  #5  
Old 04-07-2012, 07:53 AM
aheadley aheadley is offline
New Member
 
Join Date: Mar 2012
Posts: 8
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.
Reply With Quote
  #6  
Old 04-07-2012, 08:53 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:32 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.