Raspberry Pi 2 Benchmarked

IMG_1343 copyI got myself a new Raspberry Pi 2 Model B this morning. I was intrigued by its quad-core cpu and how it would stack up against the other single board computers that I’ve benchmarked in the past, which were:

  • Raspberry Pi Model B+
  • Beaglebone Black
  • Intel Edison
  • Imagination MIPS Creator CI20

A brief outline of the machines under test are as follows

Screen Shot 2015-02-04 at 12.52.14

*depends on baseboard, Edison’s RRP without any baseboard is $50, but you need some kind of baseboard to use it.

IMG_1343 copy

So, down to the benchmarks. They’re very basic, just running 4 types of test with sysbench. The output is graphed against the other boards previously tested.

Firstly, the CPU benchmarks which we’re probably most interested to see.  I’ll run all the tests with 4 threads, as we have 4 cores on the Pi 2.

sysbench --test=cpu --num-threads=4 run

CPU_Pi2

As expected, it’s a massive improvement over the original Raspberry Pi, and brings it right up to the best of the other sub-2-watt boards I’ve tested. Since I do a lot of battery powered projects, it seems to be a sensible option to pick a cut off for the board selection, and I’ve settled on 2 watts. Sure, there are lots of boards out there that work at higher power draws, but where do you stop, Xeons? 🙂 All the boards in these tests will happily work away at under 2 watts. The Intel Edison is currently the king of those I’ve tested at about 0.38W when idle.

Next, it’s the memory test.

sysbench --test=memory --memory-block-size=1M --memory-total-size=10G --num-threads=4 run

Memory_Pi2

Again, the 4 cores dramatically improves the results of this particular test over the Pi 1. It’s also 40% faster than the CI20,  but doesn’t quite manage to keep up to the BBB or the Edison.

Next is the Storage. First the writes.

sysbench --test=fileio --file-test-mode=rndwr --file-total-size=16MB --num-threads=4 prepare
sysbench --test=fileio --file-test-mode=rndwr --file-total-size=16MB --max-requests=1000 --num-threads=4 run

StorageW_Pi2

A good performance improvement here. I may have to re-test the Pi 1 with the same speed card as this test, just to be sure of the numbers.

Finally, the storage reads.

sysbench --test=fileio --file-test-mode=rndrd --file-total-size=16MB --max-requests=10000 --num-threads=4 run

StorageR_Pi2

Surprisingly good improvement here. Significantly better than all other boards except the Edison, and even then it’s only 20% slower than that.

Using the desktop on the Pi 2 to browse the web is a very pleasant experience. No lag, it keeps up with your internet connection effortlessly. Whilst the previous generation of Raspberry Pi was sluggish as a browsing machine, this new generation has no problems whatsoever. Put it in a nice case beside a monitor/keyboard/mouse, and you’ve got a really tidy and usable guest/kids/kitchen PC in a really tidy form factor. 🙂

At $35 (plus tax and shipping) it seems really attractive, but you have to remember that you need to add an SD card, a power supply, and maybe a Wifi/Bluetooth dongle to that for your use case. But if you already have those lying around, it’s a hard price to beat.

Oh, and if you want to donate a board, I’m happy to test it, as long as it runs at under 2 watts. Drop me an email!

About the Author:

By day I’m a senior embedded Linux software engineer. In my spare time, I take pictures, and play with gadgets and technology.

Twitter: https://twitter.com/climberhunt @climberhunt
Facebook: https://www.facebook.com/davidhuntphotography

Be sure to check out my other DIY articles, and if you like, you can subscribe by entering your email address at the top right of the page. 🙂

This entry was posted in Computer Stuff, Raspberry Pi.

24 Comments

  1. Texy February 4, 2015 at 1:53 pm #

    That’s looks a good improvement David. Was this with the default clock speed for the Pi 2?
    Texy

    • daveh February 4, 2015 at 2:02 pm #

      900MHz.

  2. Mateusz February 4, 2015 at 3:11 pm #

    Well done Dave.
    Looks like great improvement.
    It was killing me the lag of R Pi A+ i have. Especially when trying show something to my young fella in SCRATCH. The longer code the slower it was.

    I have just checked it on Farnell and its 40euro. Not bad only porblem is awaiting delivery 🙂

    Question i believe new 4 core CPU will require updated software ? Is it available already online ?

    Is this rev of Raspberry more heavy on current ?

    Cheers

    • daveh February 6, 2015 at 12:48 pm #

      New Raspbian already available. At idle, same as B+, at load same a B. So still low power! 🙂

    • Texy February 6, 2015 at 12:49 pm #

      Hi,
      yes the software is available and ready for download. There is a new image available, or alternatively, apt-get update and upgrade will make it Pi 2 compatible.
      Texy

  3. David Wieneke February 4, 2015 at 11:38 pm #

    Great review. You rarely see even handed tech reviews anymore everyone has an axe to grind. I have the original RPi B with only 256 MB. I am going to try to use your review to convince my wife its time to upgrade :-).

  4. Joe February 5, 2015 at 12:44 am #

    Hi Dave, I was working on your wonderful project the PIPhone using the Pi-B+, however I was unable to get the capacitive touch screen to work. I followed all the instruction to the letter.

    Do you think the Pi-B+ works with the PiPhone?

    Thanks for any feedback

    • daveh February 6, 2015 at 12:49 pm #

      Joe, drop me an email.

  5. Eric February 5, 2015 at 3:55 pm #

    Would be interesting to see how it performs overclocked.

  6. David February 5, 2015 at 4:08 pm #

    The bbb seems to do very badly on the random write test. Was that using an SD card or the internal eMMC?

    • daveh February 6, 2015 at 2:18 pm #

      Internal eMMC. I just ran it again now to be sure. 42.9 secs.

  7. pigraham February 5, 2015 at 5:12 pm #

    The Pi is clearly a big improvement, but I’m impressed by the Edison which seems to come out top in every benchmark here despite only being 500MHz dual core.

    Thanks for publishing.

  8. abc February 5, 2015 at 7:42 pm #

    Any chance to test Ordroid C1 for comparison?

  9. Alan February 6, 2015 at 1:44 am #

    When comparing storage write times, the Beaglebone Black is… very slow.
    Is there any particular reason for that?

    • daveh February 6, 2015 at 2:19 pm #

      Not sure Alan, but something is definitely amiss. Probably the flash is optimised for reads rather than writes, as the read performance is OK.

  10. manuti February 6, 2015 at 8:17 am #

    As soon as possible I try to do the same test with ODROID-C1 and Banana Pro, I’m not sure this SBC are under 2 W. When I have the results I add to this post: http://raspberryparatorpes.net/rivales/sysbench-raspberry-pi-vs-todos/

  11. Matty C February 6, 2015 at 2:23 pm #

    Question on the web browsing with Pi 2 – I found it quite sluggish in Raspbian. Admittedly I was browsing to youtube.com and I’m using a class 4 SD card right now. It was pretty horrible. Is it just that site, or would a class 10 card make a big difference?

    Loving the Pi 2, my first one is going to be my dedicated mini-emulator box 🙂

  12. tHe-BiNk March 13, 2015 at 3:14 pm #

    Thanks for the benchmarks. Pi 2 shows small very nice improvements. Can’t wait for ti to arrive in the mail. 🙂

  13. manuti March 19, 2015 at 5:08 pm #

    Added a core to core Raspberry Pi 2 benchmark http://raspberryparatorpes.net/rivales/sysbench-raspberry-pi-2/

3 Trackbacks

  1. By Le Raspberry 2 | Labo linux CAEN on February 20, 2015 at 11:31 pm
  2. […] does it compare to the good old Model A+/B+? According to the benchmarks made by David Hunt RPi2 gave us about 7 times higher […]

  3. […] does it compare to the good old Model A+/B+? According to the benchmarks made by David Hunt RPi2 gave us about 7 times higher […]