Nginx & PHP-FPM - enable gcc optimisations for Intel detected processors Continue reading...
Yes part of the code was already in place back in April for .07 beta 15 But choose to use the newer commit above for now
Created a new 123.07stable_install branch at centminmod/centminmod at 123.07stable_intel · GitHub just to backport Intel optimisations. Of course mileage will vary as it depends on which specific Intel processor you're using. Also recompiled PHP 5.5.15 with Intel optimisations for this very forum. Nginx only ~2 days out to 1.7.4 release, so will update to Nginx 1.7.4 with Intel optimisations and see
I still need to keep it as close to .07 stable branch for testing, so for now just manually make the changes to 123.07stable_install files. You only have to do it once anyway
no real way to verify AFAIK other than via benchmarking and comparing as well as well checking the compile options i.e. in your nginx upgrade log look for -march=native i.e. Code: ccache gcc -c -O3 -m64 -march=native -pipe -g -mmmx -msse3 Code: grep march=native centminmod_1.2.3-eva2000.07_050814-133739_nginx_upgrade.log | tail -1 ccache gcc -c -O3 -m64 -march=native -pipe -g -mmmx -msse3 -I/svr-setup/staticlibssl/include -I/usr/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/chromium/src -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/google-sparsehash/src -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/protobuf/src -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/re2/src -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/out/Release/obj/gen -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/out/Release/obj/gen/protoc_out/instaweb -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/apr/src/include -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/aprutil/src/include -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/apr/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.8.31.4-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../pcre-8.35 -I ../openssl-1.0.1h/.openssl/include -I objs \
if you get any output it means it matched the text you're grepping so it's confirmed to be in place. if you get no output means grep can't find the text