terry mcintyre wrote:
Are you using the same hardware? I was looking over
the instruction timings, and there's a lot of
variation depending on the architecture.
cat /proc/cpuinfo reports this for me for the first processor:


processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
stepping : 6
cpu MHz : 2667.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 5325.35
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:




--- Don Dailey <[EMAIL PROTECTED]> wrote:

That's way different that what I'm getting. Something is wrong here. I'm getting 4.08 with RDTSC and when I just set new to 0ull I get 0.696

One of us must have done something wrong.
- Don


A van Kessel wrote:
I would like to mention that your generator is 64
bit and the other
That is correct.

My timings (Haven't profiled yet):
WITH TSC:
real    0m0.902s
user    0m0.870s
sys     0m0.002s

WITHOUT:
real    0m0.613s
user    0m0.582s
sys     0m0.000s

That's for 100 M random numbers.

And inlining would probably help a lot, too.

AvK
_______________________________________________
computer-go mailing list
[email protected]

http://www.computer-go.org/mailman/listinfo/computer-go/
_______________________________________________
computer-go mailing list
[email protected]

http://www.computer-go.org/mailman/listinfo/computer-go/

Terry McIntyre &lt;[EMAIL PROTECTED]&gt;

“Wherever is found what is called a paternal government, there is found state 
education. It has been discovered that the best way to insure implicit 
obedience is to commence tyranny in the nursery.”

Benjamin Disraeli, Speech in the House of Commons [June 15, 1874]


_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to