nginx-0.7.52
Igor Sysoev
is at rambler-co.ru
Tue Apr 21 14:19:17 MSD 2009
On Tue, Apr 21, 2009 at 05:43:48PM +0800, Weibin Yao wrote:
> > Just note for everyone: "-c 10" (concurrency 10) is far from real world
> > usage. The select() method used by nginx is poor scaleable for concurrency
> > more than 100-200.
> It seems that the most suitable concurrency for my PC is 1-200.
>
> More tests in test case3 for Native Nginx in Windows:
>
> ab.exe -k -n 10000 -c 1 http://127.0.0.1/
> Requests per second: 2424.24 [#/sec] (mean)
> CPU load: about 68%
Could you add
open_file_cache max=1000 inactive=20s;
open_file_cache_valid 30s;
open_file_cache_min_uses 2;
open_file_cache_errors on;
and run just
ab.exe -k -n 10000 -c 1
to see if CreateFile() adds noticeable overhead ?
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list