element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum SBC CPU Throughput
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 88 replies
  • Subscribers 63 subscribers
  • Views 8520 views
  • Users 0 members are here
  • cubieboard
  • olinuxino
  • sabrelite
  • bbb
  • BeagleBone
  • rpi
Related

SBC CPU Throughput

morgaine
morgaine over 12 years ago

I notice that people are doing some initial benchmarking of BBB and other boards on the RPF forum.  Results roughly as expected I guess:

 

Using just a simple

 

time echo "scale=2000;4*a(1)" | bc -l

 

as a lightweight benchmark, I see these numbers reported (smaller Time is better):

 

[table now updated with extra datapoints reported in current thread below]

 

Submitter
Time (s)
Board
SoC
Clock (MHz)
O/S
shuckle26.488Raspberry Pi BBCM2835700Raspbian 3.1.9
morgaine25.719Raspberry Pi BBCM2835700Raspbian 3.1.9+ #272
shuckle25.009Raspberry Pi BBCM2835700Raspbian 3.2.27
trn24.280Raspberry Pi BBCM2835700Raspbian ?
morgaine22.456Raspberry Pi BBCM2835800Raspbian 3.1.9+ #272
morgaine21.256Raspberry Pi BBCM2835800Raspbian 3.6.11+ #545, new firmware only
selsinork21.0MinnowboardAtom E640T1000Angstrom minnow-2013.07.10.img
shuckle17.0Raspberry Pi BBCM28351000Raspbian ?
morgaine16.153BB (white)AM3359720Angstrom v2012.01-core 3.2.5+, user-gov
selsinork15.850A20-OLinuXino-MICROA20912Debian 7.0, 3.4.67+
selsinork15.328CubieboardA20912Ubuntu/Debian 7.1
pluggy14.510BBBAM33591000Debian
morgaine14.153BBBAM33591000Debian 7.0, 3.8.13-bone20, perf-gov
selsinork13.927A10-OLinuXino-LIMEA101000Debian 7.0, 3.4.67+
Heydt13.159CubieboardA101000?
selsinork12.8Sabre-litei.MX61000Debian armhf
selsinork12.752CubieboardA20912Ubuntu/Debian 7.1 + Angstrom bc
selsinork12.090BBBAM33591000Angstrom dmnd-gov
pluggy11.923BBBAM33591000Angstrom
selsinork11.86BBBAM33591000Angstrom perf-gov
selsinork9.7Sabre-litei.MX61000Debian armhf + Angstrom bc
selsinork9.606Sabre-litei.MX61000LFS 3.12, gcc-4.8.2, glibc-2.18

 

 

As usual, take benchmarks with a truckload of salt, and evaluate with a suitable mixture of suspicion, snoring, and mirth. Use the numbers wisely, and don't draw inappropriate conclusions. image

 

Morgaine.

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 12 years ago in reply to gdstew +2
    floating point doesn't get you 2000 digits.
  • morgaine
    morgaine over 12 years ago in reply to gdstew +1
    Data is always good, and sharing it is also good. The warnings are to help people avoid unwarranted conclusions. And when used properly, synthetic and other artificial benchmarks can be very valuable,…
  • Former Member
    Former Member over 12 years ago in reply to gdstew +1
    > and don't understand why you think it is a good idea to keep it in the loop so you can benchmark it. Come on. It's not that complicated. Johnny wanted to know how fast his new computer was. He decided…
Parents
  • Former Member
    Former Member over 12 years ago

    minnowboard,  Intel(R) Atom(TM) CPU E640   @ 1.00GHz, production-Angstrom-development-GNOME-image-eglibc-ipk-v2012.12-minnow-2013.07.10.img

     

    bc-1.06.95 compiled from source on the minnowboard itself as the version of bc included with angstrom segfaults whenever the -l mathlibrary switch is used.

     

    21 seconds

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    selsinork wrote:

     

    21 seconds

     

    That's interesting, as an initial data point for Atom E640 here.  Probably no surprise given the results of various review sites when comparing Atom (not sure which SoC) versus Cortex-A15 in tablets and chromebooks.

     

    It's just the start of the inquiry though, and I bet the numbers will vary a lot as the platform libraries and optimizations change.  I'd like to see what the Minnowboard forums have to say about it too.  It's still very early days.  More specifically, I'd like to hear whether this initial measurement seems reasonable to them given the instruction set, clock speed, and memory + cache performance.

     

    I'll pop it into the table, but let me know if you decide it wasn't actually representative and needs changing.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to morgaine

    I think it's going to be reasonable, as a comparison a different system with an Atom 230 @ 1.6Ghz does it in about 14 seconds in 32 bit mode.

     

    However, historically Atom processors were better in 64 bit mode and the same system with the same version of bc, manages it in 9.3 seconds in 64 bit mode.

     

    Pity then that the E640 is apparently 32 bit only.  Interestingly, when looking at /proc/cpuinfo on the minnow it includes 'lm' which would suggest 64 bit may be possible and I'll try that out at some point too.

     

    Regardless, it seems clear that for this particular benchmark the Minnowboard doesn't do well against it's competition and would seem unlikely to be competitive even in 64 bit mode.

    So price/performance comparisons are a legitimate target along with performance per watt, is there really a killer feature that makes the minnowboard worth it ?   I'm not so sure..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    selsinork wrote:

     

    So price/performance comparisons are a legitimate target along with performance per watt, is there really a killer feature that makes the minnowboard worth it ?   I'm not so sure..

    I/O bandwidth perhaps?  With SATA and gigabit Ethernet, it seems likely that Minnowboard would perform well in I/O-limited applications like NAS and also in web services, as long as the web service is not a CPU-intensive one.

     

    Measurements of network, USB, [u]SD, SATA and PCIe latencies and throughputs could be useful when matching boards to applications.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to morgaine

    Morgaine Dinova wrote:

     

    Measurements of network, USB, [u]SD, SATA and PCIe latencies and throughputs could be useful when matching boards to applications.

    Ok, so SATA was next on my list anyway. 

     

    Simplistic sustained sequential read testing showed the SL capable of about 25MB/s from a drive that's theoretically capable of 120MB/s, the same drive and test on the Minnow shows about 110MB/s.

    Read from uSD approx 17MB/s with the current card.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    selsinork wrote:

     

    Simplistic sustained sequential read testing showed the SL capable of about 25MB/s from a drive that's theoretically capable of 120MB/s, the same drive and test on the Minnow shows about 110MB/s.

    That sounds very good on the Minnow, and seems inline with normal PC technology which has been delivering good I/O for decades.  It wouldn't surprise me to find that ARM has some catching up to do in this area.

     

    In the spirit of the lightweight CPU benchmark, it would be nice to have a standard one-liner to deliver an estimate of maximum storage read and write bandwidth, one that is inherently immune to Linux disk caching in memory.  How have you been obtaining your figures?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to morgaine

    Morgaine Dinova wrote:

     

    How have you been obtaining your figures?

    Remember I did say they were simplistic tests....

     

    Two ways

    hdparm -tT /dev/sda

     

    or

     

    dd if=/dev/sda of=/dev/null bs=1M count=10000 iflag=direct

     

    in the second one, iflag=direct should sidestep any caching, but if not then making bs * count several times larger than available ram gives a similar effect.  The numbers tend to be very similar anyway.

    As usual, you can't read a thing into the numbers produced as we're ignoring files, filesystems and everything else deliberately to get a rough idea of raw throughput over the sata cable and not much more.

    The funny thing is that the drive I'm using is a recent 2.5" drive with an operating power of 1.6W (on paper, haven't measured it yet) which doesn't compare well to the Minnow at approx 7W.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    selsinork wrote:

     

    Ok, so SATA was next on my list anyway. 

     

    Simplistic sustained sequential read testing showed the SL capable of about 25MB/s from a drive that's theoretically capable of 120MB/s, the same drive and test on the Minnow shows about 110MB/s.

    Ok, so this is more about Sabre-Lite than BBB...   I've been spending some time getting 3.12 kernels up and running on my BBB and Sabre-Lite and interestingly have discovered that with this kernel the Sabre-Lite is now able to beat the Minnow for simple sequential disk read tests with 117MB/s.  The original SL kernel was 3.0.35-mangled-by-timesys-no-source-or-config-available,  the one I'm using is referenced in this Boundary Devices blog post  http://boundarydevices.com/mx6-main-line-linux-kernel/

    Moral of the story ?  First thing you should do when buying any of these embedded boards is to ditch every piece of software that comes with it and start fresh.

     

    Oh, and the BBB 3.12 kernel can be found here https://github.com/beagleboard/linux/tree/3.12 some details and issues discussed here https://groups.google.com/forum/#!msg/beagleboard/n914vncfPd8/ktY9NHY6SAYJ biggest of which seems to be that cape support is lacking for now

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    This is excellent!  With CPU, network and storage throughput measured, the major building blocks are covered.

     

    Since you're the only person to have measured SATA throughput so far (I don't have a non-x86 board with SATA yet), how about starting off an "SBC Storage Throughput" thread, or something like that?  (Not sure whether flash and USB storage are best covered together with SATA or not.)

     

    As you noted, our measurements haven't been limited to BBB, so I'll rename this thread to "SBC CPU Throughout" to match the "SBC Network Throughput" one.  (I did ask earlier whether anyone objected to the change, but nobody did.)

     

    Morgaine.

     

    PS. Thread renaming done.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    This is excellent!  With CPU, network and storage throughput measured, the major building blocks are covered.

     

    Since you're the only person to have measured SATA throughput so far (I don't have a non-x86 board with SATA yet), how about starting off an "SBC Storage Throughput" thread, or something like that?  (Not sure whether flash and USB storage are best covered together with SATA or not.)

     

    As you noted, our measurements haven't been limited to BBB, so I'll rename this thread to "SBC CPU Throughout" to match the "SBC Network Throughput" one.  (I did ask earlier whether anyone objected to the change, but nobody did.)

     

    Morgaine.

     

    PS. Thread renaming done.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Former Member
    Former Member over 12 years ago in reply to morgaine

    Hmm.. not sure I want to go there just yet.  SATA performance is reasonably simple to do as it's relatively uncomplicated to compare sequential read from a drives datasheet to a simplistic test. That'll easily show up problems like the SLs poor performance with old kernels.  However, as you say, we only have a tiny sample of SATA results to look at so far and they're all from me, so verification of results by someone else would be needed.

     

    SD on the other hand is an absolute minefield, manufacturers claims are usually outrageously ridiculous and unverifiable. Combine that with meaningless 'class X' numbers that take no account that the actual signaling mode required to reach the speed can't be used by your SBC due to lack of voltage switching or similar and it gets messy very quickly. 

    Unfortunately not a lot of people understand enough about the intricacies of SDcards vs hardware vs drivers capabilities to get much in the way of worthwhile results.

     

    Just to illustrate the point,  there was a post in the RPI group here a week or so back urging people to ditch class 10 cards as they're 'difficult to setup' and yet I ended up with the most recent kernel update rendering the class 4/6 cards unuseable and the class 10 being the only one that works! Help - R Pi Errors Boot Failing :-(

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube