Performance vs Apache/PHP-FPM

Discussion in 'General' started by aheadley, Apr 6, 2012.

  1. aheadley

    aheadley Member

    We've done some benchmarking of Magento on Litespeed/PHP-LS against Apache/PHP-FPM using 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:
  2. webizen

    webizen Well-Known Member

    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. aheadley

    aheadley Member

    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.

    No, I mean there was a small performance difference, but that it's not negligible.
  4. NiteWave

    NiteWave Administrator

    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. aheadley

    aheadley Member

    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.
  6. NiteWave

    NiteWave Administrator

    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.

Share This Page