Join the community today
Become a Member

Master Branch update MARCH_TARGETNATIVE check for cloud vps providers in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 3, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:07 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update MARCH_TARGETNATIVE check for cloud vps providers in 123.09beta01

    - Disable march=native compiler option when certain VPS providers are detected. This is for smarter detection of cloud vps providers who run a mix of different cpu models to prevent issues when you switch host nodes via snapshot backup restores or whole vps migrations due to differing cpu models causing seg faults for nginx and php-fpm and can only be fixed after you recompile nginx and php-fpm after the move. This update fixes the issues so you don't need to recompile nginx and php-fpm after the move as not all Centmin Mod users would be aware of the solution for the seg faults caused by nginx and php-fpm being compiled on one cpu model having issues after a move to another vps host node which has a different cpu model.
    - Can disable override this smarter detection routine to force march=native compiler for nginx and php-fpm if you want more performance and are aware of the need to recompile nginx and php-fpm after vps host node moves. You can force march=native and disable override this smarter update by setting in persistent config file /etc/centminmod/custom_config.inc the following variable, MARCH_TARGETNATIVE_ALWAYS='y' prior to nginx and php-fpm recompiles or prior to initial centmin mod installs.

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.