Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch make PHP_PGO='y' available on initial installs in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 12, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,146
    Local Time:
    10:05 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    make PHP_PGO='y' available on initial installs in 123.09beta01

    - PHP_PGO='y' to date only enabled profile guided optimisations for PHP 7+ when 2 or more cpu cores/threads were detected for php upgrade routines via centmin.sh menu option 5. PHP_PGO='y' wasn't enabled for initial centmin mod 123.09beta01 installs. This update enables it for initial installs too when PHP_PGO='y' was set in persistent config file /etc/centminmod/custom_config.inc prior to running centmin mod 123.09beta01 with PHP 7.0, 7.1, 7.2 or 7.3 default installers.
    - PHP_PGO='y' can increase the time it takes to compile PHP 7+ - can take 2-5x times longer to compile depending on speed of your server and how many cpu core/threads you have. But the resulting PHP 7 binaries can be between 5-25% faster for some PHP code paths and work loads from benchmarks PHP - PHP 7.3 vs 7.2 vs 7.1 vs 7.0 (PHP-FPM) Benchmarks.


    Continue reading...

    123.09beta01 branch