Hi!<br><br>Please note that ab itself a huge bottleneck and it gives you zero information about nginx performance. As you can see you hit the 100% CPU -what comes from ab load-.<br>I realized that during performance testing, all what I can tell you: use the httperf instead if you have a chance. <br>
(do not forget to modify the FD_SETSIZE to higher value)<br><br>Regards,<br>Istvan<br><br><div class="gmail_quote">2009/4/21 Weibin Yao <span dir="ltr">&lt;<a href="mailto:nbubingo@gmail.com">nbubingo@gmail.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;">&gt; Just note for everyone: &quot;-c 10&quot; (concurrency 10) is far from real world<br>
&gt; usage. The select() method used by nginx is poor scaleable for concurrency<br>
&gt; more than 100-200.<br>
  It seems that the most suitable concurrency for my PC is 1-200.<br>
<br>
More tests in test case3 for Native Nginx in Windows:<br>
<br>
ab.exe -k -n 10000 -c 1 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2424.24 [#/sec] (mean)<br>
CPU load: about 68%<br>
<br>
ab.exe -k -n 10000 -c 10 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2529.64 [#/sec] (mean)<br>
CPU load: about 67%<br>
<br>
ab.exe -k -n 10000 -c 30 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2433.46 [#/sec] (mean)<br>
CPU load: about 72%<br>
<br>
ab.exe -k -n 10000 -c 50 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2397.00 [#/sec] (mean)<br>
CPU load: about 75%<br>
<br>
ab.exe -k -n 10000 -c 75 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2293.91 [#/sec] (mean)<br>
CPU load: about 77%<br>
<br>
ab.exe -k -n 10000 -c 100 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2214.53 [#/sec] (mean)<br>
CPU load: about 82%<br>
<br>
ab.exe -k -n 10000 -c 200 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    2184.30 [#/sec] (mean)<br>
CPU load: about 95%<br>
<br>
ab.exe -k -n 10000 -c 300 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    1987.58 [#/sec] (mean)<br>
CPU load: about 99%<br>
<br>
ab.exe -k -n 10000 -c 500 <a href="http://127.0.0.1/" target="_blank">http://127.0.0.1/</a><br>
Requests per second:    1549.64 [#/sec] (mean)<br>
CPU load: about 100%<br>
<font color="#888888"><br>
------------------<br>
Weibin Yao<br>
2009-04-21<br>
<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>the sun shines for all<br>