worker cpu balance
    Aleksandar Lazic 
    al-nginx at none.at
       
    Mon Apr 14 01:21:40 MSD 2008
    
    
  
On Son 13.04.2008 20:40, Igor Sysoev wrote:
>On Sun, Apr 13, 2008 at 06:13:19PM +0200, Aleksandar Lazic wrote:
>> 
>> Thanks but not so much changes ;-(, any further tuning options?
[snipp]
>> Could be the scheduler a point for optimization, or am I on the wrong
>> way?!
>
>If accept_mutex is off, then OS scheduler choose process to accept a
>new connection.
Hm, is there a easy way to find out if the linux scheduler is the
problem?!
I will try to run nginx and light on a solaris x86 maschine.
>> How ever I stay to nginx, I like it more ;-))
>
>In last top shot lighttpd eats more CPU as compared to nginx.
>This may be the cause, why lighty processes are balanced better.
Hm, which tool can help us to find the reason, is top enough?
>It's strange that lighty eats so much CPU although it has
>server.network-backend = "linux-sendfile"
>
>I usually see the equal load on 2CPU FreeBSD 7 (low weekend load):
>
>  PID USERNAME     THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
>11224 nobody         1   4  -10   104M   101M kqread 0 336:12 10.79% nginx
>11225 nobody         1   4  -10   108M   103M kqread 0 338:12 10.60% nginx
Hm, have you some ideas how can I tune nginx to reach the hits/s from
lighty?!
Cheers
Aleks
    
    
More information about the nginx
mailing list