maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Competitors (https://talk.maemo.org/forumdisplay.php?f=4)
-   -   How fast are different ARM CPUs? (https://talk.maemo.org/showthread.php?t=43189)

u2maemo 2010-02-03 04:37

How fast are different ARM CPUs?
 
Users all hope to know how fast is the device they are using or will buy.

Not like x86 platform, there are a lot of test software to show different aspect of the cpu's performance. ARM platform don't have so many. But pi is the same on both x86 and ARM, can be used to show useful info about ARM CPU.

here is for my N810.

apt-get install pi

Quote:

~# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 2 (v6l)
BogoMIPS : 164.36
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x0
CPU part : 0xb36
CPU revision : 2
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 32768
I assoc : 4
I line length : 32
I sets : 256
D size : 32768
D assoc : 4
D line length : 32
D sets : 256

Hardware : Nokia RX-44
Revision : 24202524
Serial : 0000000000000000
Quote:

# bash -c "time pi 1048576 >/dev/null" 2>&1 | grep real
real 6m0.565s
hope more users provide test result then we know more about different ARM cpu.

Other test method please also be suggested. Thanks!

itpastorn 2010-02-03 14:19

Re: How fast are different ARM CPUs?
 
Problem is, how do we test on devices that do not have a shell?

Veix 2010-02-03 17:36

Re: How fast are different ARM CPUs?
 
I think jailbroken iphone has shell somekindof.. so pi should be available for it somehow through cydia....
n900 and n1 numbers anyone ?

craftyguy 2010-02-03 18:06

Re: How fast are different ARM CPUs?
 
Here are the results for the N900, running the latest PR1.1

Quote:

# bash -c "time pi 1048576 >/dev/null" 2>&1 | grep real
real 3m55.503s

~# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 499.92
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3

Hardware : Nokia RX-51 board
Revision : 2101
Serial : 0000000000000000

abubakar 2010-02-03 18:15

Re: How fast are different ARM CPUs?
 
Quote:

Originally Posted by craftyguy (Post 509030)
Here are the results for the N900, running the latest PR1.1

hey, how is your BogoMIPS (whatever that mean :) ) at 499? Mine is 249.96! Now i'm worried! Can anyone explain plz ? Is it because i'm running the 44-1 firmware?

craftyguy 2010-02-03 18:20

Re: How fast are different ARM CPUs?
 
BogoMIPS represents a very very rough performance value of the CPU at the given time. Things like CPU frequency throttling will cause that number to appear smaller. My guess is your N900 CPU was throttled to a much lower frequency when you read /proc/cpuinfo than mine was :)

abubakar 2010-02-03 18:28

Re: How fast are different ARM CPUs?
 
i cccc .... thats gud. I just played media player and than tried cpuinfo and I got 499 :) ... sheww

craftyguy 2010-02-03 18:30

Re: How fast are different ARM CPUs?
 
In case you're interested in BogoMIPS and how it is a hilariously poor performance measurement, wikipedia has a pretty good explanation of what it is and how it is measured: http://en.wikipedia.org/wiki/BogoMips

shadowjk 2010-02-03 21:18

Re: How fast are different ARM CPUs?
 
Sheevaplug 1.2 GHz

Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Marvell SheevaPlug Reference Board
Revision : 0000
Serial : 0000000000000000


# bash -c "time pi 1048576 >/dev/null" 2>&1 | grep real
real 0m44.774s

u2maemo 2010-02-03 22:13

Re: How fast are different ARM CPUs?
 
I just wonder why
arm v5(Sheevaplug 1.2 GHz)
fast than
both arm v7(omap 3420 cortex A8 600 MHz)
and arm v6(omap 2420 arm11 400 MHz)

frequency?
or
pi is not suit for performance test

pierro78 2010-02-03 22:35

Re: How fast are different ARM CPUs?
 
Sheeva is cortex A8 : http://extranet.marvell.com/technolo...pu_history.jsp

u2maemo 2010-02-03 23:14

Re: How fast are different ARM CPUs?
 
Quote:

Originally Posted by shadowjk (Post 509326)
Sheevaplug 1.2 GHz

Processor : Feroceon 88FR131 rev 1 (v5l)

v5l means ARMv5

craftyguy 2010-02-04 03:13

Re: How fast are different ARM CPUs?
 
Quote:

Originally Posted by u2maemo (Post 509411)
I just wonder why
arm v5(Sheevaplug 1.2 GHz)
fast than
both arm v7(omap 3420 cortex A8 600 MHz)
and arm v6(omap 2420 arm11 400 MHz)

frequency?
or
pi is not suit for performance test

My guess is that pi is more sensitive to frequency than any microarchitecture differences between ARM 5 & 8..

shadowjk 2010-02-04 03:19

Re: How fast are different ARM CPUs?
 
The description for pi says it's limited only by your machine's ram. The SheevaPlug has half a gigabyte of fast ram.

mrebanza 2010-02-04 03:30

Re: How fast are different ARM CPUs?
 
is it possible to UPGRADE any of the hardware on the N900???


RAM - PROCESSOR - ECT ? ? ? :D

Rob1n 2010-02-04 09:20

Re: How fast are different ARM CPUs?
 
Quote:

Originally Posted by mrebanza (Post 509800)
is it possible to UPGRADE any of the hardware on the N900???


RAM - PROCESSOR - ECT ? ? ? :D

No. They're all soldered onto the boards, and there's all sorts of power & thermal issues involved.

shadowjk 2010-02-06 22:51

Re: How fast are different ARM CPUs?
 
These results aren't making much sense..

SmartQ7, 667MHz s3c6410 ARMv6, original firmware 5.0

1m35.872s

maxximuscool 2010-02-06 23:01

Re: How fast are different ARM CPUs?
 
here is my N900:

~ $ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 249.96
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3

Hardware : Nokia RX-51 board
Revision : 2101
Serial : 0000000000000000
~ $

shadowjk 2010-02-23 16:48

Re: How fast are different ARM CPUs?
 
EDIT: Added intel Atom 330 and Intel Core 2 Quad 9550 CPUs.


Another benchmark, distributed.net OGR and RC5. Clients available for arm-eabi at distributed.net, ./dnetc -bench, take fastest result.

The results for the multicore hyperthreaded Atom330 and multicore Q9550 are for a single thread on a single core.

I hope the formatting remains sane. I found no proper way of making tables on the forum...

RC5-72

Code:

Device,  Clockspeed  result,      relative to N800, per clock
N800:    400MHz    448,553 keys/sec  100%  1121 keys/s/MHz
N900:    600MHz  1,001,396 keys/sec  223%  1669 keys/s/MHz
SmartQ7:  667MHz    751,596 keys/sec  167%  1127 keys/s/MHz
Sheeva:  1200MHz  1,314,021 keys/sec  293%  1095 keys/s/MHz
Atom330: 1600MHz  3,208,177 keys/sec  715%  2005 keys/s/MHz
Q9550(1):2830MHz  9,479,121 keys/sec 2113%  3350 keys/s/MHz
Q9550(2):2830MHz 10,562,046 keys/sec 2355%  3732 keys/s/MHz

Atom330 in 32bit mode.
(1) 64bit client with less optimizations
(2) 32bit client, seems to have more optimizations

Interesting things:

N900 has 1.5 times the clockspeed of N800, yet it's over 2 times faster.
Sheevaplug has DOUBLE the clockspeed of N900, yet it's only 1.3 times as fast as N900.

OGR-NG:
Code:

Device,  Clockspeed, result,        relative to N800, nodes per clock
N800:    400MHz  1,855,943 nodes/sec  100%  4640 nodes/s/MHz
N900:    600MHz  3,642,503 nodes/sec  196%  6071 nodes/s/MHz
SmartQ7:  667MHz  3,070,970 nodes/sec  165%  4604 nodes/s/MHz
Sheeva:  1200MHz  4,986,341 nodes/sec  268%  4155 nodes/s/MHz
Atom330: 1600MHz  9,893,719 nodes/sec  533%  6184 nodes/s/MHz
Q9550(1):2830MHz 37,681,342 nodes/sec 2030% 13314 nodes/s/MHz
Q9550(2):2830MHz 46,671,019 nodes/sec 2515% 16492 nodes/s/MHz

Atom330 in 32 bit mode.
(1) 64 bit client
(2) 32 bit client with SSE2 optimizations

The overall picture is the same, the N900's CPU does more work per clcok than all the other ARM cores. Interestingly, it's not far behind Atom here. Remember, that for decent battery life in a portable, the atoms usually run at 600-800MHz.. That puts them in an interesting position when compared to Omap3...

Core2 is brutal, but we knew that. And it gobbles up insane amounts of power to keep its 1 kilogram heatsink hot...

TA-t3 2010-02-23 16:52

Re: How fast are different ARM CPUs?
 
>N900 has 1.5 times the clockspeed of N800, yet it's over 2 times faster.

That makes sense, it's OMAP3 vs. OMAP2. The only surprise is that it isn't even faster. Was the N900 version compiled with options for the architecture?

Is there floating point involved? Double- or single-precision, if so?

pierro78 2010-02-23 20:44

Re: How fast are different ARM CPUs?
 
I am impressed by the smartq7 numbers, knowing it's only a little more than $200.

The smartq v7 numbers would be interesting too :)

Mandor 2010-02-23 21:51

Re: How fast are different ARM CPUs?
 
Quote:

Originally Posted by shadowjk (Post 542944)
Sheevaplug has DOUBLE the clockspeed of N900, yet it's only 1.3 times as fast as N900.

The overall picture is the same, the N900's CPU does more work per clcok than all the others.

Is there an explanation for that ? There is a 1.2 GHz Marvell Kirkwood SoC inside the SheevaPlug. Is the OMAP3 that much more efficient ? I am on the impression that you guys are not surprise by that (are you ?).

Have you been able to find a performance per watt comparison ?

In short : :confused:

Matan 2010-02-23 22:14

Re: How fast are different ARM CPUs?
 
Short version: ARMv5 cores (such as in the tablets, the SheevaPlug and the SmartQ) are scalar - they execute one integer operation per clock.

ARMv7 cores are superscalar - they execute multiple operations per clock (in the case of Cortex A8 that is in the N900 and Snapdragon that is in the N1, maximum two per clock). Since interdependence between instruction does not allow actual execution of two operations every clock, the ratio is about as is expected.

shadowjk 2010-02-23 22:50

Re: How fast are different ARM CPUs?
 
Added Atom330 and Q9550 (Intel CPUs) numbers.

TA-t3: I believe it's all integer. Seems like along time since anybody worked on the arm cores for distributed.net, the most modern one was X-scale (which would favour Sheeva).

pierro78: Well if you're going to crunch RC5 or OGR, sure. But in your hands the SmartQ7 "feels" 3 times slower than N800/N810.

Mandor: I am not that surprised. ARM's Cortex A8 is a big step up in performance. Though sheevaplug's kirkwood is supposedly dual-issue too. Maybe it's the branch prediction in A8 that helps it, who knows.

Matan: Tablet and SmartQ are ARMv6.

Besides, ARMv7 doesn't mean superscalar. The Cortex A8 ARMv7 implementation is, but snapdragon is a different implementation and will perform differently.

tso 2010-03-01 23:37

Re: How fast are different ARM CPUs?
 
Quote:

Originally Posted by pierro78 (Post 543256)
I am impressed by the smartq7 numbers, knowing it's only a little more than $200.

The smartq v7 numbers would be interesting too :)

v7 is basically 7 with improved video decoding hardware.

shadowjk 2010-03-02 02:04

Re: How fast are different ARM CPUs?
 
It's a different soc though.. the video decode is in the cpu/soc... different ram speeds...

BTW, N900 and SmartQ7 have almost identical /hardware/ video decoding capabilities.. Of course, N900 should be vastly better at doing it in software than SmartQ7 :)

redrum 2010-10-11 03:38

Re: How fast are different ARM CPUs?
 
I don't know if this is a valid test or not.. It would seem to be so, but here we go with mine: I have a Seagate Dock Star which is running Debian Squeeze and it only has 128mb of Ram, though in fairness it also has a gig of swap space on the hard drive. In addition, the OS is on the hard drive instead of on flash, sd or nand.

Drive is a 5400 RPM Seagate 500mb drive, nothing special.

Here we go:

root@debian:~# cat /proc/cpuinfo
Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Marvell SheevaPlug Reference Board
Revision : 0000
Serial : 0000000000000000
root@debian:~# bash -c "time pi 1048576 >/dev/null" 2>&1 | grep real
real 0m0.003s
root@debian:~# bash -c "time pi 1048576 >/dev/null" 2>&1 | grep real
real 0m0.003s


Here is my "unlocked" quad core x86 machine with 4gb memory:

bvogele@NZXT:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Phenom(tm) II X4 B40 Processor
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
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 pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.48
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Phenom(tm) II X4 B40 Processor
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
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 pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.85
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 2
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Phenom(tm) II X4 B40 Processor
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
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 pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.84
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 5
model name : AMD Phenom(tm) II X4 B40 Processor
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
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 pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.87
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

bvogele@NZXT:~$ bash -c "time pi 1048576 >/dev/null" 2>&1 | grep real
real 0m0.001s

shadowjk 2010-10-11 11:53

Re: How fast are different ARM CPUs?
 
redrum: um, I'm guessing you don't have that "pi" software installed. Try doing just "pi 1048576" without the quotes..

werebug 2010-10-31 00:51

Re: How fast are different ARM CPUs?
 
i dont have access to one right now but if anyones got an Efikamx handy it would be a very good thing to see some speed stats for that
v7 Arm cortex A8/Neon 128bit SIMD Freescale i.MX51at 800MHz
799.53 BogoMIPS doesn't tell the whole story with ARM v7 it seems.

see the youtube video's

http://www.youtube.com/watch?v=qUQzl...eature=related
"OpenVG hardware acceleration by Freescale"

OpenVG overlayed on top of OpenGL 2 seems like a very nice flash scripting replacement If someone writes the code to use them in a generic video app using FFmpeg etc.

http://www.youtube.com/watch?v=pOSluW6vHL8
"Microsoft Word on ARM Powered Laptop using Genesi and Citrix solutions"

very cool for a cheap developer kit on the face of it, that ORA boot firmware sounds interesting as you dont need an expansive/expensive BSP

and it seems they are actually the one's getting and initially supporting the actual full Arm Linux porting of different distro's too as they did with the PPC linux before that.

http://www.powerdeveloper.org/forums...ic.php?p=13854

werebug 2010-11-11 04:39

Re: How fast are different ARM CPUs?
 
there's also the latest Marvell ARM v7 A9 quad / NEON 128bit SIMD at 1.6 GHz with a shared 2 MB L2 cache memory on board to come to market Now
http://www.theregister.co.uk/2010/11...a_xp_arm_chip/

when someone gets their hands on a developer one that too would be a very nice thing to run real life tests on (the Arm Cortex compiled x264 AVC Encoder etc) to give us all a window into what's coming down the line in 2011.


All times are GMT. The time now is 07:27.

vBulletin® Version 3.8.8