worker cpu balance

Aleksandar Lazic al-nginx at
Mon Apr 14 18:20:56 MSD 2008

On Mon 14.04.2008 09:31, Rob Mueller wrote:
>> Thanks but not so much changes ;-(, any further tuning options?
> The problem the haproxy guy was observing was that he couldn't get
> more than 100% CPU usage on a multi-cpu machine (eg with 2 CPUs, you
> should be able to get to 200%). The above data shows that the machine
> has over 100% idle time, so you're not stressing it enough to prove
> that the change hasn't helped.

Yep, that's the reason why I try to use a older/slower maschine.

> So your tests are showing something completely different to the tests
> run by the haproxy guy. His were able to saturate the CPU, but yours
> clearly aren't saturating the CPU at all. Also your %si figure is
> quite high, which means that the CPU is servicing a lot of software
> interrupts. I wonder if that's actually the limitation here, some BKL
> issue because so much time is in a serialised part of the kernel. I'm
> guessing you're not using the best network card and driver for your
> tests.

Thanks for input I'll come back as soon as I have changed the maschine.



More information about the nginx mailing list