hi, <br clear="all"><br><div> <br><div> last week, I did a nginx performance test.</div><div> Yes, with no surprise, nginx is perfect.</div><div><br></div><div> 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,</div>
<div>after I closed the access log, and changed the download to synchronization <span class="Apple-style-span" style="font-family: Arial; font-size: 14px; line-height: 20px; "><span class="Apple-style-span" style="font-family: arial; font-size: small; line-height: normal; ">by set proxy_max_temp_file_size to zero, nginx run with little CPU consumption.</span></span></div>
<div><br></div><div> 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, </div><div>and disk IO disappear, and the bottleneck was the memory capacity.</div>
<div><br></div><div> 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</div><div>adater was 400-450M.</div>
<div><br></div><div> It is a good result. Thanks you, sysoev.</div><div><br></div><div><br></div><div> </div><div>-- <br>Best Regards,<br><br>peterxue<br><br>QQ:312200<br><br><a href="mailto:e-mail%3Aultraice@gmail.com">e-mail:ultraice@gmail.com</a><br>
<br>
</div></div>