Discover Centmin Mod today
Register Now

Master Branch additional nginx & php-fpm Cloudflare zlib library prechecks

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 30, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:09 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    additional nginx & php-fpm Cloudflare zlib library prechecks


    Additional checks against GCC native cpu flags to make sure that GCC supports -mpclmul (enabled). Seems some server configurations with older cpus i.e. Intel Xeon Lynnfield 2009 and Xeon Westmere 2010 are returning GCC flags without -mpclmul enabled causing Nginx operation issues when compiled with Cloudflare zlib performance forked library instead of standard zlib libraries https://community.centminmod.com/posts/62818/. This update adds an additional check for pclmul instructions from GCC native output + the existing check for SSE4.2 in /proc/cpuinfo before determining that Cloudflare zlib library can be used for Nginx zlib and PHP-FPM zlib usage. If these 2 checks fail, then Centmin Mod will auto fallback to standard zlib library.

    Continue reading...

    Centmin Mod Github Master branch

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