nginx-0.7.52

Igor Sysoev is at rambler-co.ru
Tue Apr 21 12:18:25 MSD 2009


On Tue, Apr 21, 2009 at 03:51:57PM +0800, Weibin Yao wrote:

> >BTW, could someone run the simple small static file benchmark for
> >nginx/Windows, nginx/Cygwin, Apache2 and IIS (from another host):
> 
> >ab -n 1000 -c 1 ...
> >ab -n 1000 -c 10 ...
> >ab -n 1000 -c 1 -k ... "
> 
> This is my rough test results. It seems that the 
> Windows version of Nginx is really great, even 
> with the simple 'select' method.
> 
> But it's just a test with a small single static file.
> We need more real test cases between these web 
> servers in Windows.

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.

> ------------------------------------------------
> Test case1:
> Apache2.2.11 with all default configration
> 
> httpd.exe -l
> Compiled in modules:
>   core.c
>   mod_win32.c
>   mpm_winnt.c
>   http_core.c
>   mod_so.c
> 
> ab.exe -n 10000 -c 1 http://127.0.0.1/
> Requests per second:    497.57 [#/sec] (mean)
> CPU load: about 68%
> 
> ab.exe -n 10000 -c 10 http://127.0.0.1/
> Requests per second:    703.30 [#/sec] (mean)
> CPU load: about 100%
> 
> ab.exe -k -n 10000 -c 1 http://127.0.0.1/
> Requests per second:    910.38 [#/sec] (mean)
> CPU load: about 59%
> 
> ab.exe -k -n 10000 -c 10 http://127.0.0.1/
> Requests per second:    1198.50 [#/sec] (mean)
> CPU load: about 100%
> ------------------------------------------------
> Test case2:
> IIS/5.1 with all default configration.
> 
> ab.exe -n 10000 -c 1 http://127.0.0.1/
> Requests per second:    534.22 [#/sec] (mean)
> CPU load: about 65%
> 
> ab.exe -n 10000 -c 10 http://127.0.0.1/
> Requests per second:    829.02 [#/sec] (mean)
> CPU load: about 100%, Failed requests: 49
> 
> ab.exe -k -n 10000 -c 1 http://127.0.0.1/
> Requests per second:    1207.55 [#/sec] (mean)
> CPU load: about 60%
> 
> ab.exe -k -n 10000 -c 10 http://127.0.0.1/
> Requests per second:    1600.00 [#/sec] (mean)
> CPU load: about 100%
> -----------------------------------------------
> Test case3:
> nginx/0.7.52 with all default configration.
> 
> ab.exe -n 10000 -c 1 http://127.0.0.1/
> Requests per second:    903.95 [#/sec] (mean)
> CPU load: about 65%
> 
> ab.exe -n 10000 -c 10 http://127.0.0.1/
> Requests per second:    1012.66 [#/sec] (mean)
> CPU load: about 90%
> 
> ab.exe -k -n 10000 -c 1 http://127.0.0.1/
> Requests per second:    2424.24 [#/sec] (mean)
> CPU load: about 68%
> 
> ab.exe -k -n 10000 -c 10 http://127.0.0.1/
> Requests per second:    2529.64 [#/sec] (mean)
> CPU load: about 67%
> ------------------------------------------------
> My test platform:
> 
> 1. All tested index page is:
> <html>
> <head>
> <title>Welcome to nginx!</title>
> </head>
> <body bgcolor="white" text="black">
> <center><h1>Welcome to nginx!</h1></center>
> </body>
> </html>
> 2. OS: Windows XP sp3, professional
> 3. CPU: Inlel pentium(R)4 3.0G 3.0G, memory: 1G. This is my PC, Dell 170L.
> 
> 
> 

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list