Welcome to Centmin Mod Community
Become a Member

Beta Branch update nginx centmin.sh menu option 4 in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 5, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,146
    Local Time:
    7:27 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update nginx centmin.sh menu option 4 in 123.09beta01


    Revise nginx's additional optional LTO support options to allow testing both fat-lto-objects and no-fat-lto-object options with the following 4 persistent config variables in /etc/centminmod/custom_config.inc. Most of these updates will only apply to CentOS 7 OSes and not CentOS 6 now if enabled via below variables.

    NGINX_FATLTO_OBJECTS='n' # enable -ffat-lto-objects flag for nginx builds - much slower compile times
    NGINX_NOFATLTO_OBJECTS='n' # enable -fno-fat-lto-objects flag for nginx builds - much slower compile times
    # recommended to keep NGINXOPENSSL_FATLTO_OBJECTS and NGINXOPENSSL_NOFATLTO_OBJECTS set to = n
    NGINXOPENSSL_FATLTO_OBJECTS='n' # enable -ffat-lto-objects flag for nginx OpenSSL builds - much slower compile times
    NGINXOPENSSL_NOFATLTO_OBJECTS='n' # enable -fno-fat-lto-objects flag for nginx OpenSSL builds - much slower compile times

    Continue reading...

    123.09beta01 branch
     
  2. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    5:27 PM
    Mainline
    10.2
    What is this for? What advantage?
    Thanks :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,146
    Local Time:
    7:27 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Potentially faster nginx binaries depending on what cpu model the server has. Will have to test though. Just adding the options to make it easier to test from.
     
  4. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    5:27 PM
    Mainline
    10.2
    Is this advisable to enable now? :)
     
  5. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,146
    Local Time:
    7:27 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Mileage, performance and stability are dependent on cpu model, so try/benchmark and see :D
     
  6. Pasta

    Pasta New Member

    14
    2
    3
    Aug 3, 2021
    Ratings:
    +6
    Local Time:
    5:27 PM
    Nginx 1.21.x
    MariaDB 10.4
    I have to enable all four to test? Can i just enable the first two?