xeon hyperthreading & GIL

Aahz aahz at pythoncraft.com
Thu Feb 6 16:33:49 EST 2003


In article <1044530966.192487 at ananke.eclipse.net.uk>,
Seb Bacon  <seb.bacon at jamkit.com> wrote:
>
>Can anyone give me the lowdown on how hyperthreading on the Xeon might 
>effect python performance?
>
>AFAICT the cost of context switching is very low so the impact of 
>releasing the GIL should be minimal.

<shrug>  Consider hyperthreading as functionally equivalent to multiple
CPUs; from Python's perspective, there's no difference.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Argue for your limitations, and sure enough they're yours."  --Richard Bach




More information about the Python-list mailing list