hyperthreading locks up sleeping threads

OlafMeding at gmail.com OlafMeding at gmail.com
Tue May 9 10:35:35 EDT 2006


Dave send me the below as an email.  Olaf

Hi Olaf,

I'm running your test for you - it's been going for about an hour now
and is continuing to generate output[1].

c:\>py
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>>

winmsd says:
OS Name	Microsoft Windows XP Professional
Version	5.1.2600 Service Pack 1 Build 2600
Processor	x86 Family 15 Model 2 Stepping 9 GenuineIntel ~2992 Mhz
Processor	x86 Family 15 Model 2 Stepping 9 GenuineIntel ~2992 Mhz

(it's a hyperthreaded P4 - not 2 true CPUs - so it should be similar to
your setup)

-Dave

[1] Here's the output (line breaks added by my email program):

c:\Temp>testsleep.py
thread 1 started, sleep time 0.010
thread 2 started, sleep time 0.003
1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2
1 2 1 2 1
1 2 1 2
  1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1
2 1 2 1 1
2 1 2 1
2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1
1 2 1 2 1
2 1 2 1
  2 1 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 1 2 1
2 1 2 1 2
1 2 1 1
2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1
2 1 2 1 2
1 1 2 1
  2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2
1 2 1 1 2
1 2 1 2
1 2 1 2 1 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 1 1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