Discover Centmin Mod today
Register Now

Beta Branch speed up initial centmin mod install in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 29, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    48,519
    11,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,306
    Local Time:
    6:32 AM
    Nginx 1.21.x
    MariaDB 10.x
    speed up initial centmin mod install in 123.09beta01

    - updates to devtoolset-gcc routines to ensure fresh initial Centmin Mod installs don't use ccache compiling caching for initial installs only. The ccache compiler caching should only be used for update/recompile routines as ccache only speeds up subsequent compiles but not the first compilation. For fresh initial Centmin Mod installs the following routines are main ones that benefit from this speed up update - ngx_brotli, openssl and optional modsecurity for Nginx and PHP 7.3, 7.4, 8.0 and 8.1 versions with/without Profile Guided Optimizations which need a higher GCC compiler version and Cloudflare zlib performance library routines.

    Continue reading...


    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    48,519
    11,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,306
    Local Time:
    6:32 AM
    Nginx 1.21.x
    MariaDB 10.x
    Example of Centmin Mod initial install time differences for this above update + this update at https://community.centminmod.com/th...al-centmin-mod-install-in-123-09beta01.22199/ on a 2 CPU KVM VPS with Intel Xeon E-2286 Coffee Lake CPU and 1GB memory.

    For PHP 8.0 default install
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller80.sh && chmod 0700 betainstaller80.sh && bash betainstaller80.sh


    Focus on nginx and php related compile times.

    Before update
    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 172.7929 seconds
    Total YUM Time: 15.924955510 seconds
    Total YUM or DNF + Source Download Time: 47.5817
    Total Nginx First Time Install Time: 312.8219
    Total PHP First Time Install Time: 614.9451
    Download From Github Time: 1.7621
    Total Time Other eg. source compiles: 397.3505
    Total Centmin Mod Install Time: 1372.6992
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1547.2542 seconds
    ---------------------------------------------------------------------------
    2 Intel(R) Xeon(R) E-2286G CPU @ 4.00GHz
    2 4008.000
    ---------------------------------------------------------------------------
    

    After updates
    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 175.7705 seconds
    Total YUM Time: 15.415826951 seconds
    Total YUM or DNF + Source Download Time: 49.9300
    Total Nginx First Time Install Time: 249.6573
    Total PHP First Time Install Time: 547.3196
    Download From Github Time: 1.6501
    Total Time Other eg. source compiles: 344.1714
    Total Centmin Mod Install Time: 1191.0783
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1368.4989 seconds
    ---------------------------------------------------------------------------
    2 Intel(R) Xeon(R) E-2286G CPU @ 4.00GHz
    2 4008.000
    ---------------------------------------------------------------------------
    


    This is for PHP 5.6 default install instead of PHP 8.0 default install. PHP 7+ installs will naturally take longer than PHP 5.6 too.
    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 166.8239 seconds
    Total YUM Time: 15.162140291 seconds
    Total YUM or DNF + Source Download Time: 47.5838
    Total Nginx First Time Install Time: 246.6313
    Total PHP First Time Install Time: 242.0475
    Download From Github Time: 1.6790
    Total Time Other eg. source compiles: 306.8683
    Total Centmin Mod Install Time: 843.1308
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1011.6337 seconds
    ---------------------------------------------------------------------------
    2 Intel(R) Xeon(R) E-2286G CPU @ 4.00GHz
    2 4008.000
    ---------------------------------------------------------------------------