Le Sat, 17 Oct 2009 06:54:29 +0200, Dieter Maurer a écrit : > > It is also true that adding CPUs may in fact reduce performance for > compute bound multithreaded Python programs. While the additional > computational resources cannot be use by Python, the additional overhead > (switching between CPUs) may reduce overall performance. I agree with > you that it is difficult to understand when this overhead were really > significant.
For what it's worth, I just wrote a little benchmark script to measure this kind of things: http://svn.python.org/view/sandbox/trunk/ccbench/ Regards Antoine. -- http://mail.python.org/mailman/listinfo/python-list