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 8534 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 11 years ago

    just as another datapoint...  I've been slowly digging myself out of the 'broken distro of your choosing' (angstrom/debian/whatever) with the aid of LFS to get a clean starting point to compile my own set of packages with the aim of a common armv7l-gnueabihf userspace that makes use of the common facilites in cortex-A8 onwards (or neon and vfpv3) that will eventually work across Sabre-Lite, BBB, iMX53-QSB & Cubieboard2

     

    I've just reached the stage of building my bc package.... on the SL I'm now getting 9.606 s....  gcc-4.8.2/glibc-2.18/kernel 3.12. I've probably been more ruthless than angstrom about stripping pointless for embedded stuff like nls, i18n etc, I'm booted from SATA rather than uSD and at this stage don't have much other than init & sshd running

    Once I get enough pieces packaged to bring this up on a BBB, I'll report results for that too. As I have 3.12 running on the BBB now, it should hopefully give a slightly more interesting comparison since all of the software will be the same

     

    One last thing, for anyone running not-so-recent angstrom on their BBB, at some point in the near future when you update angstrom the dynamic linker is going to change from ld-linux.so.3 to ld-linux-armhf.so.3 in line with http://lists.linaro.org/pipermail/cross-distro/2012-April/000261.html and you'll need to recompile anything you've built yourself at that point. You might get away with a symlink for some stuff, but the experience here is that it doesn't always work.

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

    just as another datapoint...  I've been slowly digging myself out of the 'broken distro of your choosing' (angstrom/debian/whatever) with the aid of LFS to get a clean starting point to compile my own set of packages with the aim of a common armv7l-gnueabihf userspace that makes use of the common facilites in cortex-A8 onwards (or neon and vfpv3) that will eventually work across Sabre-Lite, BBB, iMX53-QSB & Cubieboard2

     

    I've just reached the stage of building my bc package.... on the SL I'm now getting 9.606 s....  gcc-4.8.2/glibc-2.18/kernel 3.12. I've probably been more ruthless than angstrom about stripping pointless for embedded stuff like nls, i18n etc, I'm booted from SATA rather than uSD and at this stage don't have much other than init & sshd running

    Once I get enough pieces packaged to bring this up on a BBB, I'll report results for that too. As I have 3.12 running on the BBB now, it should hopefully give a slightly more interesting comparison since all of the software will be the same

     

    One last thing, for anyone running not-so-recent angstrom on their BBB, at some point in the near future when you update angstrom the dynamic linker is going to change from ld-linux.so.3 to ld-linux-armhf.so.3 in line with http://lists.linaro.org/pipermail/cross-distro/2012-April/000261.html and you'll need to recompile anything you've built yourself at that point. You might get away with a symlink for some stuff, but the experience here is that it doesn't always work.

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

    selsinork wrote:

     

    just as another datapoint...  I've been slowly digging myself out of the 'broken distro of your choosing' (angstrom/debian/whatever) with the aid of LFS to get a clean starting point to compile my own set of packages

     

    Excellent!  It's been my intention to tread that path for a very long time for embedded, because any software that doesn't directly support the embedded application is actually a liability and a waste of resources.  Superfluous and poorly known code also increases the attack surface of a device, an issue of growing importance in recent times.  I'll be very interested in your progress and quite keen to follow on BBB.

     

    I've just reached the stage of building my bc package.... on the SL I'm now getting 9.606 s....  gcc-4.8.2/glibc-2.18/kernel 3.12. I've probably been more ruthless than angstrom about stripping pointless for embedded stuff like nls, i18n etc, I'm booted from SATA rather than uSD and at this stage don't have much other than init & sshd running.

    I've added your datapoint to the table.  I bet it boots fast with so little running. image

     

    Morgaine.

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

    booting still has it's problems... after u-boot loads the kernel and devicetree you get a 'Starting kernel..' message and there's then an annoying 2-3 second delay before you get anything.  It's at exactly this point that everything stops when you've messed up something between uboot, kernel and device tree and it's not going to boot at all, so one of those hold your breath moments.. other than that, yes booting is nicely quick.

     

    LFS is an interesting educational experience image  It has it's challenges though, partially that it's rooted in x86(_64), understandable as that's where it's history lies, and partially in that the version for Arm, CLFS, is both a cross-compiled version and that it wants to use musl-libc instead of (e)glibc (as well as older kernel and gcc which I wanted to avoid)

    After some odd experiences with the cross-compiled angstrom on both BBB & Minnowboard, I started out with two pre-requisites:

    1. No cross compiling, ever.
    2. A 'full fat' build of glibc.

    So I'm using the latest development version of the main LFS-for-x86 but tweaking it for Arm as necessary.  I have to say, I like their approach in general although it's quite obvious there are some historic artifacts as well as some odd jumping through hoops while trying to satisfy some perceived need to follow FHS.

    Interestingly some of the fixes for a couple of problems came from http://www.intestinate.com/pilfs/ where someone has done a version for the RPi. He even provides some scripts that might take a lot of the pain out of doing it. I think you'd mostly only need to change armv6l to armv7l in a few places and probably add the specific options to get gcc & binutils to use neon/vfpv3.  Of course, using the scripts means you miss out on some of the experience of doing it yourself image

    • 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