[phobos] std.parallelism unit test hang

Brad Roberts braddr at puremagic.com
Sat Jun 4 21:04:28 PDT 2011


On 6/4/2011 8:55 PM, David Simcha wrote:
> On 6/4/2011 11:50 PM, Brad Roberts wrote:
>> The process is long gone, sorry.
>>
>> The box has one amd athlon 64 x2 dual core processor, 1ghz, 512kb cache.
> ????? I'm pretty sure Athlon 64 X2's don't exist at this slow a clock speed, unless you're underclocking.  Also funny
> because, except for clock speed, this is my hardware as well and I can't reproduce this bug after executing the
> unittests in a loop ~13,000 times.

Hrm, looking at the kernel boot logs, it claims:

[    0.000000] Detected 2004.383 MHz processor.
[    0.010011] Calibrating delay loop (skipped), value calculated using timer frequency.. 4008.76 BogoMIPS (lpj=20043830)

>From /proc/cpuinfo (where I got the 1ghz figure).  Looks like it halved the two values, which seems wrong:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping        : 2
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht
syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips        : 2004.38
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping        : 2
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht
syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips        : 2004.38
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


More information about the phobos mailing list