Want more timely Centmin Mod News Updates?
Become a Member

PHP rfc preload in PHP 7.4

Discussion in 'Nginx and PHP-FPM news & discussions' started by EckyBrazzz, Sep 26, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    6:59 PM
    Latest
    Latest
    Going to deep dive a little on a server.
    When I was reading here PHP: rfc:preload and I read it was merged into 7.4


    So testing it now on my "private testing server" with the PHP 7.4.0RC2 that has been released on 19 September
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah Centmin Mod 123.09beta01 supports PHP 7.4 with preload enabled so you can load your own preload scripts.
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    6:59 PM
    Latest
    Latest
    It's updating...... :).. For a test server I did not go for a costly one

    Oh, no it's done...
    Code (Text):
      --version           [7.4.0RC2]
      --vernum            [70400]
    ***************************************************
    * PHP compiled with CPU_MARCH=skylake-avx512
    * PHP upgraded and auto reinstalled PHP extensions
    * PHP_PGO='y' detected. PHP compiled with Profile Guided Optimizations
    * https://software.intel.com/en-us/blogs/2015/10/09/pgo-let-it-go-php
    ***************************************************
       ____   _   _  ____    _   _                                _            _
      |  _ \ | | | ||  _ \  | | | | _ __    __ _  _ __  __ _   __| |  ___   __| |
      | |_) || |_| || |_) | | | | || '_ \  / _` || '__|/ _` | / _` | / _ \ / _` |
      |  __/ |  _  ||  __/  | |_| || |_) || (_| || |  | (_| || (_| ||  __/| (_| |
      |_|    |_| |_||_|      \___/ | .__/  \__, ||_|   \__,_| \__,_| \___| \__,_|
                                   |_|     |___/                                
    Total PHP Upgrade Time: 2438.634103705 seconds
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com    
    --------------------------------------------------------
    


    Have to change my cron, have set it to 3 hours, but it seems you push out more.(y)

    Code (Text):
     Centmin Mod code updates available for /usr/local/src/centminmod
     List of updates: community.centminmod.com/forums/41/?prefix_id=19
    -------------------------------------------------------------
     Do you want to update your local Centmin Mod Git code ? [y/n]: 
    
     
    Last edited: Sep 26, 2019
  4. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    6:59 PM
    Latest
    Latest
    Not bad for first day testing: 63 requests
    Project_CMM_7306.png
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    What you testing a php page/framework which is optimised via custom preload script

    what's results like without preload ?
     
  6. EckyBrazzz

    EckyBrazzz Active Member

    917
    190
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +363
    Local Time:
    6:59 PM
    Latest
    Latest
    I don't recall exactly, but I guess it was around 1100ms. Won't touch it now. It's perfect. Can't wait until November.
    All last request are images. They come in a little slower. (as you can see in the image the first with 21ms)
    EDIT: I use the http2-push-content wp plugin. Helps a bit
     
    Last edited: Sep 27, 2019