Messages in this thread | | | Date | Fri, 29 Aug 2003 13:14:48 -0700 | From | Iulian Musat <> | Subject | Re: x86, ARM, PARISC, PPC, MIPS and Sparc folks please run this |
| |
Jamie Lokier wrote: > Anyway, please lots of people run the program and post the output + > /proc/cpuinfo. Compile with optimisation, -O or -O2 is fine. (You > can add -DHAVE_SYSV_SHM too if you like): > > gcc -o test test.c -O2 > time ./test > cat /proc/cpuinfo
2 AMD Athlon 4 Itanium II (on an altix machine) 2 Pentium III 1 AMD XP 1 Pentium IV
2 AMD Athlon : ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o test test.c -O2
time ./test
Test separation: 4096 bytes: FAIL - too slow Test separation: 8192 bytes: FAIL - too slow Test separation: 16384 bytes: FAIL - too slow Test separation: 32768 bytes: pass Test separation: 65536 bytes: pass Test separation: 131072 bytes: pass Test separation: 262144 bytes: pass Test separation: 524288 bytes: pass Test separation: 1048576 bytes: pass Test separation: 2097152 bytes: pass Test separation: 4194304 bytes: pass Test separation: 8388608 bytes: pass Test separation: 16777216 bytes: pass VM page alias coherency test: minimum fast spacing: 32768 (8 pages)
real 0m0.088s user 0m0.080s sys 0m0.004s
cat /proc/cpuinfo
processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 1526.385 cache size : 256 KB Physical processor ID : -2084402944 Number of siblings : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no 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 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3038.00
processor : 1 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 1526.385 cache size : 256 KB Physical processor ID : 410321912 Number of siblings : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no 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 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3046.10
~~~~~~~~~~~~~~~~~~~~~~~~
4 Itanium II (on an altix machine) ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o test test.c -O2
time ./test
Test separation: 16384 bytes: pass Test separation: 32768 bytes: pass Test separation: 65536 bytes: pass Test separation: 131072 bytes: pass Test separation: 262144 bytes: pass Test separation: 524288 bytes: pass Test separation: 1048576 bytes: pass Test separation: 2097152 bytes: pass Test separation: 4194304 bytes: pass Test separation: 8388608 bytes: pass Test separation: 16777216 bytes: pass VM page alias coherency test: all sizes passed
real 0m0.095s user 0m0.065s sys 0m0.028s
cat /proc/cpuinfo
processor : 0 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 0 revision : 7 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 900.000000 itc MHz : 900.000000 BogoMIPS : 1346.37
processor : 1 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 0 revision : 7 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 900.000000 itc MHz : 900.000000 BogoMIPS : 1346.37
processor : 2 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 0 revision : 7 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 900.000000 itc MHz : 900.000000 BogoMIPS : 1342.17
processor : 3 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 0 revision : 7 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 900.000000 itc MHz : 900.000000 BogoMIPS : 1342.17
~~~~~~~~~~~~~~~~~~~~~~~~
2 Pentium III ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o test test.c -O2
time ./test
Test separation: 4096 bytes: pass Test separation: 8192 bytes: pass Test separation: 16384 bytes: pass Test separation: 32768 bytes: pass Test separation: 65536 bytes: pass Test separation: 131072 bytes: pass Test separation: 262144 bytes: pass Test separation: 524288 bytes: pass Test separation: 1048576 bytes: pass Test separation: 2097152 bytes: pass Test separation: 4194304 bytes: pass Test separation: 8388608 bytes: pass Test separation: 16777216 bytes: pass VM page alias coherency test: all sizes passed
real 0m0.154s user 0m0.109s sys 0m0.020s
cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 3 cpu MHz : 846.353 cache size : 256 KB Physical processor ID : 0 Number of siblings : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1682.99
processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 3 cpu MHz : 846.353 cache size : 256 KB Physical processor ID : 0 Number of siblings : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1691.09
~~~~~~~~~~~~~~~~~~~~~~~~
1 AMD XP ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o test test.c -O2
time ./test
Test separation: 4096 bytes: FAIL - too slow Test separation: 8192 bytes: FAIL - too slow Test separation: 16384 bytes: FAIL - too slow Test separation: 32768 bytes: pass Test separation: 65536 bytes: pass Test separation: 131072 bytes: pass Test separation: 262144 bytes: pass Test separation: 524288 bytes: pass Test separation: 1048576 bytes: pass Test separation: 2097152 bytes: pass Test separation: 4194304 bytes: pass Test separation: 8388608 bytes: pass Test separation: 16777216 bytes: pass VM page alias coherency test: minimum fast spacing: 32768 (8 pages)
real 0m0.077s user 0m0.060s sys 0m0.010s
cat /proc/cpuinfo
processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) XP 2100+ stepping : 2 cpu MHz : 1746.168 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no 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 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3486.51
~~~~~~~~~~~~~~~~~~~~~~~~
1 Pentium IV ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o test test.c -O2
time ./test
Test separation: 4096 bytes: pass Test separation: 8192 bytes: pass Test separation: 16384 bytes: pass Test separation: 32768 bytes: pass Test separation: 65536 bytes: pass Test separation: 131072 bytes: pass Test separation: 262144 bytes: pass Test separation: 524288 bytes: pass Test separation: 1048576 bytes: pass Test separation: 2097152 bytes: pass Test separation: 4194304 bytes: pass Test separation: 8388608 bytes: pass Test separation: 16777216 bytes: pass VM page alias coherency test: all sizes passed
real 0m0.221s user 0m0.180s sys 0m0.025s
cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 0 model name : Intel(R) Pentium(R) 4 CPU 1700MHz stepping : 10 cpu MHz : 1694.928 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 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 bogomips : 3365.99
~~~~~~~~~~~~~~~~~~~~~~~~
-iulian
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |