IMHO, nginx default optimizing option (-O) is enough for most cases. If you don&#39;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">&lt;<a href="mailto:joe@joeaston.com">joe@joeaston.com</a>&gt;</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 &quot;-O3 -march=core2 -msse -mmmx -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer&quot;, but would it be worthwhile using &quot;-funroll-loops&quot; or other options? Would &quot;-O2&quot; 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>