Join the community today
Become a Member

Beta Branch update PHP-FPM routine for better GCC 13 support in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 7, 2023.

  1. eva2000

    eva2000 Administrator Staff Member

    53,250
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    update PHP-FPM routine for better GCC 13 support in 130.00beta01


    - update centmin.sh menu option 5 PHP-FPM compile routine to better support GCC 13's added new cpu optimized targets for EL 8.9+ and EL 9.3+ operating systems that support GCC 13 toolset
    - this really only applies to dedicated servers and not VPS servers though as VPS servers use a more generic CPU target due to VPS hosts potentially having a mix of cpu models and families that may not support all the CPU flags of more specific cpu model target
    - with GCC 13 the following newer Intel and AMD cpu architiectures's targets are supported when using dedicated non-VPS servers for Intel raptorlake, meteorlake, sierraforest, grandridge, emeraldrapids, graniterapids, graniterapids-d and AMD EPYC 4th gen, znver4. This should in theory in improve PHP-FPM compiled binary's performance on servers running these newer cpus i.e. AMD Zen4 based cpus that would pick up and use znver4 when GCC 13 is used on EL 8.9+ and EL 9.3+ operating systems like AlmaLinux 8.9/9.3 or Rocky Linux 8.9/9.3 when you set in the persistent config file /etc/centminmod/custom_config.inc the variables below BEFORE running centmin.sh menu option 5

    DEVTOOLSETELEVEN='n'
    DEVTOOLSETTWELVE='n'
    DEVTOOLSETTHIRTEEN='y'

    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,250
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    12:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Checking cpu -march and -tune flags with GCC13
    Code (Text):
    /opt/rh/gcc-toolset-13/root/usr/bin/gcc -c -Q -march=native --help=target