龙芯2E -700Mhz (gcc-4.3-1loongson2e) 104万位46秒
p3-750mhz (gcc-4.3) 104万位 43秒
c3-733mhz 104位 117秒
=====================================
在龙芯下计算:
loongson:/usr/src/pi_fftc6# ./pi_cs
Calculation of PI using FFT and AGM, ver. LG1.1.2-MP1.5.2af.memsave
length of FFT =?
200000
initializing...
nfft= 262144
radix= 10000
error_margin= 0.00611182
mem_alloc_size= 9437304
calculating 1048576 digits of PI...
AGM iteration, time= 3, chksum= ffffdb4c
precision= 48, time= 5, chksum= fffff18d
precision= 80, time= 8, chksum= ffffe3e4
precision= 176, time= 10, chksum= ffffdd72
precision= 352, time= 13, chksum= ffffd78d
precision= 688, time= 15, chksum= ffffd47c
precision= 1392, time= 17, chksum= ffffd90c
precision= 2784, time= 20, chksum= fffff9ad
precision= 5584, time= 22, chksum= ffffc2dd
precision= 11168, time= 25, chksum= ffffcb7a
precision= 22336, time= 27, chksum= ffffe6b3
precision= 44688, time= 30, chksum= fffff96d
precision= 89408, time= 32, chksum= ffffed75
precision= 178816, time= 35, chksum= fffffbe5
precision= 357648, time= 37, chksum= ffffe715
precision= 715312, time= 40, chksum= fffff393
precision= 1430640, time= 42, chksum= ffffe44b
writing pi.dat...
Total 46 sec. (real time), chksum= 3f99
=cpuinfo=================================
loongson:/usr/src/pi_fftc6# cat /proc/cpuinfo
system type : lemote-fulong
processor : 0
cpu model : ICT Loongson-2 V0.2 FPU V0.1
BogoMIPS : 465.92
wait instruction : no
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : no
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
VCED exceptions : not available
VCEI exceptions : not available
==P3-750=================================
route:/usr/src/pi# ./pi_cs
Calculation of PI using FFT and AGM, ver. LG1.1.2-MP1.5.2af.memsave
length of FFT =?
200000
initializing...
nfft= 262144
radix= 10000
error_margin= 0.00460421
mem_alloc_size= 9437304
calculating 1048576 digits of PI...
AGM iteration, time= 3, chksum= ffffdb4c
precision= 48, time= 5, chksum= fffff18d
precision= 80, time= 7, chksum= ffffe3e4
precision= 176, time= 9, chksum= ffffdd72
precision= 352, time= 12, chksum= ffffd78d
precision= 688, time= 15, chksum= ffffd47c
precision= 1392, time= 17, chksum= ffffd90c
precision= 2784, time= 20, chksum= fffff9ad
precision= 5584, time= 22, chksum= ffffc2dd
precision= 11168, time= 24, chksum= ffffcb7a
precision= 22336, time= 26, chksum= ffffe6b3
precision= 44688, time= 29, chksum= fffff96d
precision= 89408, time= 31, chksum= ffffed75
precision= 178816, time= 33, chksum= fffffbe5
precision= 357648, time= 36, chksum= ffffe715
precision= 715312, time= 38, chksum= fffff393
precision= 1430640, time= 40, chksum= ffffe44b
writing pi.dat...
Total 43 sec. (real time), chksum= 3f99
===P3-750 cpuinfo===================
route:/usr/src/pi# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 751.745
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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse up
bogomips : 1504.64
clflush size : 32
==================
v3-733cpu
jn_files:~# ./pi_cs
Calculation of PI using FFT and AGM, ver. LG1.1.2-MP1.5.2af.memsave
length of FFT =?
200000
initializing...
nfft= 262144
radix= 10000
error_margin= 0.00460421
mem_alloc_size= 9437304
calculating 1048576 digits of PI...
AGM iteration, time= 8, chksum= ffffdb4c
precision= 48, time= 14, chksum= fffff18d
precision= 80, time= 19, chksum= ffffe3e4
precision= 176, time= 27, chksum= ffffdd72
precision= 352, time= 33, chksum= ffffd78d
precision= 688, time= 39, chksum= ffffd47c
precision= 1392, time= 45, chksum= ffffd90c
precision= 2784, time= 52, chksum= fffff9ad
precision= 5584, time= 58, chksum= ffffc2dd
precision= 11168, time= 64, chksum= ffffcb7a
precision= 22336, time= 71, chksum= ffffe6b3
precision= 44688, time= 77, chksum= fffff96d
precision= 89408, time= 83, chksum= ffffed75
precision= 178816, time= 89, chksum= fffffbe5
precision= 357648, time= 96, chksum= ffffe715
precision= 715312, time= 102, chksum= fffff393
precision= 1430640, time= 108, chksum= ffffe44b
writing pi.dat...
Total 117 sec. (real time), chksum= 3f99
===cpuinfo============
jn_files:~# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 7
model name : VIA Samuel 2
stepping : 3
cpu MHz : 733.406
cache size : 64 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 de tsc msr cx8 mtrr pge mmx 3dnow
bogomips : 1468.31
附件 | 大小 |
---|---|
pi_fftc6_src.tgz | 52.26 千字节 |
pi_cs_loongson2e | 108.72 千字节 |
pi_cs_686 | 73.76 千字节 |
pi_cs.exe | 96.37 千字节 |