<div dir="ltr"><div><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">Hi, I'm a beginner on this field.</p><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">
<br></p><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">I want just to do some simulation about multiprocessor programming.<br></p><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">
What I'm trying to do is to test performance of nginx by using Apache Benchmark.<br>So, I added "server.max-worker = 8" to default "nginx.conf" <br>and ran Apache Bench through a command, "ab -n 100000 -c 1000 xxx.xxx.xx.xx".</p>
<p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">However, server computer's max CPU utilization showed 30% as if it had just 2 cores.<br>Without "max-worker=8", max CPU utilization is 15%, so it is sure that there was some change.</p>
<p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">How can I increase the CPU utilization to 100%, which is 8 core??</p><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">
Followings are running environment,</p><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">O/S: Ubuntu 12.04 (in VIrtualbox4.2)<br>CPU: Intel, i7-3610QM (which has physical 4 cores, but virtually 8 cores considering hyperthreading)<br>
RAM: 4096MB<br>nginx: 1.4.1<br>Apache: 2.2</p><p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">notes-I checked that CPU utilization can be 100% with another application.</p>
<p style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px">If anyone has idea on this or needs more information about my setting, please let me know.<br>Thanks in advance.</p>
</div>-- <br><div dir="ltr">With regards,<div>Jason Koh (°í¹ü±Ô)</div></div>
</div>