Overclocking a Raspberry Pi and Banana Pi (December 2014 Redux)

You might recall that I did a simple performance test with the Banana Pi and Raspberry Pi, using a small Python script – and I logged the results. I wrote about that here.

Well, Lars Klein reached out and asked if I would do a more proper test – a C++ app with multi-threading. Since the Banana Pi is dual-core, that is significant. So, he supplied some code here:

https://gist.github.com/lhk/f8fdd41f74d0ce29d5b0

and then I ran this to compile and then execute it (did exactly the same on Raspberry Pi and Banana Pi):

$ g++ -fopenmp ./benchmark.cpp -o bench
$ export OMP_NUM_THREADS=2
$ ./bench

That worked without any issue on both systems.

The results:
This test took some time to run, so it took me a couple hours to put all of this. Here are the results in tabular and graph form:

image

and here it is as a graph:

image

this shows that for a multi-threaded app, even the slowest over-clocking for the Banana Pi is still faster than the faster overclock of the Raspberry Pi.

Overclocking the Banana Pi:
In my last write-up, the “raspi-config” utility didn’t seem to affect the CPU speed. I pulled the latest ROM and did the test with the latest OS for the Banana Pi and the overclock feature DOES (as you can see by the numbers) appear to work now.

Posted in Computers and Internet, General, Infrastructure, Linux, New Technology, Raspberry Pi, Uncategorized
4 comments on “Overclocking a Raspberry Pi and Banana Pi (December 2014 Redux)
  1. […] co-worker Rob Seder ran some performance benchmarks and wrote a blog comparing the previous version of the Raspberry Pi and Banana Pi.  After installing Raspbian, […]

    Like

  2. […] for the 2nd generation Pi’s (the Model B’s) – using two different methods, here and here. Well, using the better C++ version, I saw results like this from that […]

    Like

  3. […] co-worker Rob Seder ran some performance benchmarks and wrote a blog comparing the previous version of the Raspberry Pi and Banana Pi.  After installing Raspbian, I […]

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives
Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 5 other followers

%d bloggers like this: