Tips for load balancing multiple Python apps on dual/quad core processors?

Paul Rubin http
Mon Apr 7 14:33:34 EDT 2008


"Malcolm Greene" <python at bdurham.com> writes:
> Is there a cross-platform way to monitor CPU load?

Cross-platform: not that I know of. 

Linux: /proc/loadav (load average), 
/proc/cpuinfo (to figure out number of cpu's).  

You want the load average and # of cpu's to be about equal,
i.e. all cpu's should be kept busy but not overloaded.



More information about the Python-list mailing list