Welcome! Log In Create A New Profile

Advanced

Re: nginx and multiple cpu

Dennis J.
January 13, 2010 10:36AM
On 01/13/2010 04:20 PM, Omer Faruk Sen wrote:
> Hi,
>
> I have a 8 core (4 core and HT enabled) machine to test nginx. In my
> configuration file
>
> worker_processes 8;
>
> events {
> worker_connections 30000;
> }
>

[SNIP]

>
> As you can see nginx only use one core not all of them even if I state
> worker_processes 8;
>
> I have used nginx-0.7.64 and used centos 5.4 compiled using just
> ./configure&& make&& make install. I have read that nginx supports
> multiple cpu but as far as I see from mpstat output it doesn't
> Can anyone englighten me about that?

I've seen someting similar during my tests on an 8 core system (no HT). I
set up a default nginx with and increased the number of worker processes to
two but when I put load on nginx only one CPU gets used while the other
stays idle.

Regards,
Dennis

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx and multiple cpu

Omer Faruk Sen January 13, 2010 10:24AM

Re: nginx and multiple cpu

Dennis J. January 13, 2010 10:36AM

Re: nginx and multiple cpu

Omer Faruk Sen January 14, 2010 06:28AM

Re: nginx and multiple cpu

Denis F. Latypoff January 13, 2010 10:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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