On 09/03/2011, at 4:47 PM, Roberto De Ioris wrote:
> There is no specific policy set. This is up to the os scheduler.
> On Linux (for example) a process should run always on the same cpu (to get
> the best from local processor cache).
> 
> Do you know cases for which it can be useful to migrate processes to other
> cores (or when can be useful to bind to specific one)?

Yes- in my case, I have several sites- one 8 processes, one 4, the others just 
1 or 2. But my CPU usage is not spread between 4 cores evenly. See pic below. 
If you can't see the pic, the averages are 11.7, 2.8, 2, and 1.4. Core 1 is 
having all the fun.


<<inline: PastedGraphic-2.png>>


> 
> 
>> 
>> 
>> 
>> Simon Litchfield
>> S29.com.au
>> 
>> M  +61-416-027-826
>> F  +61-2-8569-2377
>> 
>> _______________________________________________
>> uWSGI mailing list
>> [email protected]
>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>> 
> 
> 
> -- 
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Simon Litchfield
S29.com.au

M  +61-416-027-826
F  +61-2-8569-2377

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to