# Question about running on multiprocessor

**URL:** <https://www.ruby-forum.com/t/question-about-running-on-multiprocessor/245576>\
**Category:** NGINX\
**Created:** [June 21, 2013, 12:22pm UTC](https://www.ruby-forum.com/t/question-about-running-on-multiprocessor/245576 "2013-06-21T12:22:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [June 21, 2013, 12:22pm UTC](https://www.ruby-forum.com/t/question-about-running-on-multiprocessor/245576/1 "2013-06-21T12:22:44Z")

</div>

Hi, I’m a beginner on this field.

I want just to do some simulation about multiprocessor programming.

What I’m trying to do is to test performance of nginx by using Apache  
Benchmark.  
So, I added “server.max-worker = 8” to default “nginx.conf”  
and ran Apache Bench through a command, “ab -n 100000 -c 1000  
xxx.xxx.xx.xx”.

However, server computer’s max CPU utilization showed 30% as if it had  
just  
2 cores.  
Without “max-worker=8”, max CPU utilization is 15%, so it is sure that  
there was some change.

How can I increase the CPU utilization to 100%, which is 8 core??

Followings are running environment,

O/S: Ubuntu 12.04 (in VIrtualbox4.2)  
CPU: Intel, i7-3610QM (which has physical 4 cores, but virtually 8 cores  
considering hyperthreading)  
RAM: 4096MB  
nginx: 1.4.1  
Apache: 2.2

notes-I checked that CPU utilization can be 100% with another  
application.

If anyone has idea on this or needs more information about my setting,  
please let me know.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![SSS\_SS\_SSSSSS\_SSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ac8455/32.png) [@SSS\_SS\_SSSSSS\_SSS](https://www.ruby-forum.com/u/SSS_SS_SSSSSS_SSS)\
**Post date:** [June 22, 2013, 2:33pm UTC](https://www.ruby-forum.com/t/question-about-running-on-multiprocessor/245576/2 "2013-06-22T14:33:47Z")

</div>

---------- Forwarded message ----------  
From: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: 2013/6/21  
Subject: question about running on multiprocessor  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Hi, I’m a beginner on this field.

I want just to do some simulation about multiprocessor programming.

What I’m trying to do is to test performance of nginx by using Apache  
Benchmark.  
So, I added “server.max-worker = 8” to default “nginx.conf”  
and ran Apache Bench through a command, “ab -n 100000 -c 1000  
xxx.xxx.xx.xx”.

However, server computer’s max CPU utilization showed 30% as if it had  
just  
2 cores.  
Without “max-worker=8”, max CPU utilization is 15%, so it is sure that  
there was some change.

How can I increase the CPU utilization to 100%, which is 8 core??

Followings are running environment,

O/S: Ubuntu 12.04 (in VIrtualbox4.2)  
CPU: Intel, i7-3610QM (which has physical 4 cores, but virtually 8 cores  
considering hyperthreading)  
RAM: 4096MB  
nginx: 1.4.1  
Apache: 2.2

notes-I checked that CPU utilization can be 100% with another  
application.

## If anyone has idea on this or needs more information about my setting, please let me know. Thanks in advance.

With regards,  
Jason Koh ()
