Welcome! Log In Create A New Profile

Advanced

question about running on multiprocessor

고범규
June 21, 2013 06:24AM
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 (고범규)
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

question about running on multiprocessor

고범규 June 21, 2013 06:24AM

Fwd: question about running on multiprocessor

bk7749 June 22, 2013 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
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