Welcome! Log In Create A New Profile

Advanced

nginx performance test

yong xue
January 29, 2010 10:12AM
hi,


last week, I did a nginx performance test.
Yes, with no surprise, nginx is perfect.

First, I proxyed 15 web hosts after nginx, the cpu utilization and disk
IO were a little high, this was cause by the file download and access log,
after I closed the access log, and changed the download to synchronization by
set proxy_max_temp_file_size to zero, nginx run with little CPU consumption.

So I turned more web hosts after nginx, the disk IO became some high
again, this was caused by uploading, so I changed the client_body_tmp_path
to a tmpfs,
and disk IO disappear, and the bottleneck was the memory capacity.

Finally with 50+ web host proxyed, the nginx host's CPU utilization is
about 30%, and the client_body_tmp_path occupied 4-6G, the peak throughput
of each network
adater was 400-450M.

It is a good result. Thanks you, sysoev.



--
Best Regards,

peterxue

QQ:312200

e-mail:ultraice@gmail.com <e-mail%3Aultraice@gmail.com>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx performance test

yong xue January 29, 2010 10:12AM

Re: nginx performance test

任晓磊 January 29, 2010 10:48AM

Re: nginx performance test

Dennis J. January 29, 2010 11:54AM

Re: nginx performance test

yong xue January 30, 2010 07:20AM

Re: nginx performance test

agentzh January 31, 2010 10:30PM

Re: nginx performance test

yong xue February 01, 2010 04:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready