Want more timely Centmin Mod News Updates?
Become a Member

Nginx Turn on APC but nothing speedup

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by reallove0810, Jan 5, 2015.

  1. reallove0810

    reallove0810 New Member

    22
    10
    3
    Jan 3, 2015
    Ratings:
    +11
    Local Time:
    4:17 AM
    1.7.9
    5.5.41
    Hello,
    I have turned on apc in magento and I used Apache Benmach to test, but nothing difference.
    ab -c 5 -n 3000 => Time taken for tests: 400.
    In the following article, Magento will speedup 3x when turn on any opcode cache.
    Compare APC, eAccelerator and XCache in magento performance benchmark
    Who can explain??
    can I install Zend Opcache in Centmin Menu for my current php 5.4
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,906
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,404
    Local Time:
    1:17 PM
    Nginx 1.13.x
    MariaDB 5.5
    There's a science to benchmarking so need to play around with your testing tool parameters (concurrency level, requests tested) + your server config settings. And results are web app specific and if it's backed by MySQL database backend, then you're testing also the MySQL performance and not just PHP which can influence your results. But I have no experince with Magento.

    Nice run down of PHP opcache available at PHP Opcode and Memcached statistics pages | Centmin Mod Community

    centmin.sh menu option 12 can install Zend Opcache for PHP 5.3-5.6
    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ]
    --------------------------------------------------------
     
  3. reallove0810

    reallove0810 New Member

    22
    10
    3
    Jan 3, 2015
    Ratings:
    +11
    Local Time:
    4:17 AM
    1.7.9
    5.5.41