IMHO, nginx default optimizing option (-O) is enough for most cases. If you don't have a CPU-stressing module, -O and -O9 make no visible difference.<br><br><div class="gmail_quote">2008/12/2 Joe Aston <span dir="ltr"><<a href="mailto:joe@joeaston.com">joe@joeaston.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Has anyone done any testing on the optimum GCC compiler flags for compiling Nginx?<br><br>I usually use "-O3 -march=core2 -msse -mmmx -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer", but would it be worthwhile using "-funroll-loops" or other options? Would "-O2" be better?<br>
<br>Has anyone compiled Nginx with the Intel C/C++ Compiler? If so, what settings did you use?<br><br>Many thanks!<br>
</blockquote></div><br>