Banana Pi M5 vs Raspberry Pi 4 – Benchmarks

by Bret
Published: Last Updated on 47 minutes read

The Banana Pi M5 benchmark has turned out to be one of the most popular pieces on my site and it seems what people reaaaally want to see as a straight-up comparison between that and its Raspberry flavoured cousin, so here it is, the Banana Pi M5 vs Raspberry Pi 4 comparison with my thoughts thrown in for free..

Note: This post contains both Amazon and AliExpress affiliate links where I may earn a small commission if you click and purchase an item. These help to continue funding these comparisons so I hope that’s OK!

Specifications

 Banana Pi M5Raspberry Pi 4
CPU1.91GHz Quad-Core Amlogic S905X3 Cortex-A551.5GHz Quad-Core Broadcom BCM2711 Cortex-A72
RAM4GB LPDDR41/2/4/8GB LPDDR4
GPUMali G31 MP2 (650MHz)VideoCore VI (500MHz)
StorageMicroSD CardMicroSD Card
Onboard 16 GB eMMC Flash Storage
I/O1x HDMI 2.12x micro-HDMI 2.0
 4x USB 3.02x USB 3.0 / 2x USB 2.0
 24 pin DVP/RMII Camera ConnectorPi Camera (MIPI CSI)
 Pi Display (MIPI DSI)
 40 Pin GPIO header40 Pin GPIO header
 3.5mm Audio Jack3.5mm Audio Jack
Infrared Receiver
 Networking 1x 10/100/1000 Ethernet1x 10/100/1000 Ethernet
802.11 b/g/n/ac WLAN
Bluetooth 5.0 (with BLE)
PowerUSB-C (5V 3A)USB-C (5V 3A)
 GPIO Header (5V 3A)
PoE (with extra Pi PoE Hat)
Dimensions 92x60mm (Length x Height)85.6×56.5mm (Length x Height)
48 grams46 grams

Hardware Differences

Before jumping into the data, there are some glaring differences between the 2 boards that we should address. First of all, in this particular comparison, I’m using a 2GB RAM version of the Raspberry Pi 4 as I do not have a 4GB model to hand. The SoC and other hardware are the same, the only differences you may see are the RAM benchmarks but this should be minimal.

The biggest difference for most will be that the Banana Pi M5 does not have WiFi or Bluetooth. Depending on your use case, this may be a deal breaker. If it is, they do sell an additional hat but this comes at the cost of losing access to all of your GPIO headers. If it were me, I’d go for a USB dongle instead.

Where it lacks in wireless communications it makes up for in storage. The M5 packs in 16GB of onboard eMMC memory which can be used for booting instead of the microSD card. This offers 50-1000% faster storage depending on the particular test and should also last considerably longer than your SD card.

Besides those, there are smaller differences such as the M5 having full-size HDMI vs the Pi 4’s mini-HDMI. Or 4 USB 3.0 on the Banana Pi vs only 2 on the Raspberry Pi 4 (with 2 USB 2.0 alongside them). My favourite smaller detail though is that the Banana Pi M5 has physical reset buttons on the board which was a vey nice feature to have to prevent the yanking of power cables!

Software Support

I got a little angry in my Mango Pi MQ Quad review earlier this week when I started thinking about software support and Banana Pi are one of the culprits here. Their own “Getting Started with BPI-M5” page starts off well enough and details how to write an image to the SD card or eMMC and mentions running Android and Linux. The problem begins when you go to the board’s wiki page to find the system images and you end up with a myriad of Baidu Cloud and Google Drive links to download user-contributed images and it all feels a bit wrong.

Luckily, Armbian has stepped in and now officially supports the Banana Pi M5 Armbian Debian Bullseye-based images but as I said in my previous post, it really shouldn’t be left to the community to do this.

The Raspberry Pi is fairly self explanatory though. You have heavily supported Raspberry Pi OS along with Ubuntu, Manjaro, Apertis, RISC OS, and many others that have pre-bundled software from official sources.

Pricing

Ah yes, it’s time to talk about Raspberry Pi pricing and availability again, that’s always fun. I’ve been called out on Twitter for using the Raspberry Pi’s retail price but given sites like rpilocator exist and show stock coming in somewhat regularly, I’m going to stick to it. I’m also going to compare the pricing of the 4GB Pi 4 as a fair comparison to the 4GB included on the M5.

The Raspberry Pi 4B 4GB model is priced at $55USD (plus any relevant taxes/shipping) and if you keep an eye on rpilocator you could get lucky and pick one up. The Banana Pi M5 clocks in at around $63 (again, plus any taxes and shipping) so is a little more expensive but not by much.

Whether or not the price difference is worth it is going to depend on whether you’re OK with the differences/missing features listed above and naturally, how well it performs so let’s get to it, shall we?

Compute Performance

As always, all tests are performed with a 120mm fan blowing across the board so that the scores shown are the highest possible with no thermal throttling.

I’m also trying a slightly different approach to this piece. Due to the sheer number of tests in things like UnixBench and Geekbench, the graphs become incredibly difficult to read. To try and remedy this I’m showing a graph of the overall benchmark scores and then including a table with all of the results and the percentage differences in a collapsible area below each test. Let me know if you like this or if I should go back to the drawing board!

UnixBench

Banana Pi M5 vs Raspberry Pi 4 UnixBench bret.dk

Test NameBanana Pi M5Raspberry Pi 4Difference (%)
Dhrystone 29201385-40%
Double-Precision Whetstone540487+10%
Execl Throughput314368-16%
File Copy (1024/ 2000)642390+49%
File Copy (256/500)461270+52%
File Copy (4096/8000)1086750+37%
Pipe Throughput469127+115%
Pipe-based Context Switching3580-78%
Process Creation122217-56%
Shell Scripts (1)625835-29%
Shell Scripts (8)15721655-5%
System Call Overhead77082+162%

Test NameBanana Pi M5Raspberry Pi 4Difference (%)
Dhrystone 236785504-40%
Double-Precision Whetstone21571938+11%
Execl Throughput851997-16%
File Copy (1024/ 2000)10861364-23%
File Copy (256/500)6008973+144%
File Copy (4096/8000)23001993+14%
Pipe Throughput1877511+114%
Pipe-based Context Switching510270+62%
Process Creation848641+28%
Shell Scripts (1)17511882-7%
Shell Scripts (8)16831746-4%
System Call Overhead2716323+157%

Geekbench 5.4.0 AArch64

Banana Pi M5 vs Raspberry Pi 4 - Geekbench 5.4.0 Results

Test NameBanana Pi M5Raspberry Pi 4Difference (%)
AES-XTS28434+157%
Text Compression220277-23%
Image Compression234274-16%
Navigation210217-3%
HTML5184262-35%
SQLite177236-29%
PDF Rendering237296-22%
Text Rendering173256-39%
Clang160237-39%
Camera103210-68%
N-Body Physics81141-54%
Rigid Body Physics213324-41%
Gaussian Blur69100-37%
Face Detection168255-41%
Horizon Detection192339-55%
Image Inpainting175383-75%
HDR300465-43%
Ray Tracing150317-72%
Structure from Motion120215-57%
Speech Recognition123203-49%
Machine Learning77113-38%

Test NameBanana Pi M5Raspberry Pi 4Difference (%)
AES-XTS1103133+157%
Text Compression732767-5%
Image Compression8581044-20%
Navigation489285+53%
HTML5690965-33%
SQLite641849-28%
PDF Rendering899939-4%
Text Rendering616729-17%
Clang520684-27%
Camera303471-43%
N-Body Physics288415-36%
Rigid Body Physics6521224-61%
Gaussian Blur273573-71%
Face Detection642985-42%
Horizon Detection716922-25%
Image Inpainting520916-55%
HDR11741623-32%
Ray Tracing5951088-59%
Structure from Motion344689-67%
Speech Recognition390321+19%
Machine Learning218201+8%

GZIP Compression

Banana Pi M5 vs Raspberry Pi 4 - GZIP Compression

PHPBench

Banana Pi M5 vs Raspberry Pi 4 - PHPBench

PyBench

Banana Pi M5 vs Raspberry Pi 4 - PyBench

WavPack Audio Encoding

Banana Pi M5 vs Raspberry Pi 4 - WavPack Audio Encoding

Crypto++

Banana Pi M5 vs Raspberry Pi 4 - Crypto++ / Crypto plus plus

OpenSSL Bench

Memory (RAM) Performance

Using tinymembench through sbc-bench we can do a deeper dive into some of the RAM capabilities as it’s testing both the latency and bandwidth of the memory across a wide range of variables.

The Banana Pi M5 edges ahead of the Raspberry Pi 4 in general on the RAM front, though do remember that in this particular test you’re seeing a 4GB M5 take on a 2GB Pi 4.

tinymembench

Test NameBanana Pi M5Raspberry Pi 4Difference (%)
C copy backwards21442489-16%
C copy backwards (32byte)21802484-14%
C copy backwards (64byte)22592489-10%
C copy36242508+31%
C copy prefetch (32byte)22142503-13%
C copy prefetch (64byte)34312502+27%
C 2-pass copy23692196+7%
C 2-pass copy prefetch (32byte)12372255-82%
C 2-pass copy prefetch (64byte)22262258-1%
C fill63943362+47%
C fill (shuffle 16byte)63903363+47%
C fill (shuffle 32byte)63903358+47%
C fill (shuffle 64byte)63843361+47%
Standard memcpy35412510+47%
Standard memset63933363+47%
NEON LDP/STP Copy36492501+31%
NEON LDP/STP Copy pldl2strm (32byte)27572492+10%
NEON LDP/STP Copy pldl2strm (64byte)35992493+31%
NEON LDP/STP Copy pldl1keep (32byte)26512517+5%
NEON LDP/STP Copy pldl1keep (64byte)38262518+34%
NEON LD1/ST1 copy36962499+32%
NEON STP fill63893352+48%
NEON STNP fill56743172+44%
ARM LDP/STP copy36472499+31%
ARM STP fill63943364+47%
ARM STNP fill56923110+45%

CacheBench

Banana Pi M5 vs Raspberry Pi 4 - CacheBench

Networking Performance

Both the Banana Pi and Raspberry Pis here have onboard 1Gigabit RJ45 Ethernet ports and there’s nothing between these as you’d expect. I tried USB ethernet on both with a Linksys 1Gbit USB3 adapter and this is maxed out both too (using the USB 3.0 port on the Pi 4, naturally) so if you need a 2nd port for whatever reason, there you go!

As the M5 lacks WiFi, only the Pi 4 is listed here. As soon as I get my hands on the add-on “hat” for WiFi/Bluetooth for the M5, I’ll update the results here.

Banana Pi M5 vs Raspberry Pi 4 - WiFi and Ethernet Speeds

Storage Performance

With 32GB of eMMC memory on board, the Banana Pi M5 has a clear benefit here in terms of out-of-the-box speeds, though both feature a microSD slot so I’ve included the full set of benchmarks from my Best microSD Cards for the Raspberry Pi for both boards.

It turns out it’s not just the eMMC that has a speed benefit here. With a good pick such as the Amazon Basics microSD Card you’re going to be seeing some very respectable SD card speeds so the M5 wins out there.

The tide swings when it comes to the USB-attached SSD tests, where using the exact same SATA-USB cable results in 3 to 5 times better performance which is extremely interesting given both sport USB 3.0 ports and in the networking section we see it pushing 1Gbit over USB ethernet. It shows up as the same driver/device on both boards, feel free to shout at me in the comments if I’m missing something!

Banana Pi M5 MicroSD Card Speeds

SD Card ModelSequential ReadSequential WriteRandom ReadRandom WriteIOPing
SanDisk Ultra (8GB)34.79 MB/s12.7 MB/s5.75 MB/s0.71 MB/s0.85 ms
SanDisk Ultra (16GB)71 MB/s12.6 MB/s9.35 MB/s2.89 MB/s2.89 ms
SanDisk Ultra (32GB)70.93 MB/s12.6 MB/s9.35 MB/s2.89 MB/s2.81 ms
SanDisk Extreme (64GB)72.62 MB/s32.7 MB/s8.57 MB/s3.87 MB/s0.62 ms
SanDisk Extreme PRO (128GB)72.57 MB/s40.53 MB/s8.21 MB/s3.89 MB/s0.68 ms
Kingston Canvas Select Plus (32GB)67.2 MB/s22.93 MB/s6.72 MB/s2.25 MB/s0.85 ms
KIOXIA EXCERIA (32GB)67.3 MB/s17.65 MB/s10.38 MB/s5.05 MB/s0.67 ms
Samsung EVO Plus (32GB)66.66 MB/s16.03 MB/s11.37 MB/s2.27 MB/s0.8 ms
Amazon Basics (64GB)74.58 MB/s36.5 MB/s11.9 MB/s4.92 MB/s1.21 ms
Verbatim Premium (16GB)63.32 MB/s10.33 MB/s9.15 MB/s2.99 MB/s0.75 ms
SanDisk MAX ENDURANCE (32GB)72.52 MB/s34.4 MB/s8.28 MB/s3.35 MB/s0.82 ms
Integral ultima PRO (64GB)74.89 MB/s31.1 MB/s9.22 MB/s4.67 MB/s0.94 ms
Patriot EP Series (64GB)65.61 MB/s30.9 MB/s8.14 MB/s3.2 MB/s0.89 ms
Kodak (64GB)62.11 MB/s31.8 MB/s3.39 MB/s0.86 MB/s1.02 ms
Intenso (64GB)21.9 MB/s17.9 MB/s8.4 MB/s3.95 MB/s1.29 ms
Transcend (32GB)76.75 MB/s20.5 MB/s12.93 MB/s4.13 MB/s0.58 ms
Samsung EVO Select (32GB)67.86 MB/s17.6 MB/s11.37 MB/s2.19 MB/s1.08 ms
Samsung PRO Plus (128GB)76.56 MB/s23.7 MB/s11.4 MB/s2.69 MB/s0.58 ms
SanDisk HIGH ENDURANCE (64GB)68.64 MB/s28.9 MB/s6.89 MB/s3.26 MB/s0.65 ms
Samsung PRO Endurance (32GB)70.02 MB/s34.33 MB/s11.42 MB/s2.48 MB/s0.67 ms
Onboard eMMC (16GB)129.39 MB/s45.5 MB/s22.65 MB/s24.61 MB/s0.42 ms

Raspberry Pi 4 MicroSD Card Speeds

SD Card ModelSequential ReadSequential WriteRandom ReadRandom WriteIOPing
SanDisk Ultra (8GB)39.42 MB/s13.77 MB/s8.13 MB/s0.73 MB/s0.75 ms
SanDisk Ultra (16GB)41.91 MB/s13.93 MB/s8.3 MB/s2.65 MB/s2.7 ms
SanDisk Ultra (32GB)39.63 MB/s17.53 MB/s7.99 MB/s2.25 MB/s2.6 ms
SanDisk Extreme (64GB)39.68 MB/s35.27 MB/s7.28 MB/s3.63 MB/s0.73 ms
SanDisk Extreme PRO (128GB)38.98 MB/s35.87 MB/s6.66 MB/s3.51 MB/s0.76 ms
Kingston Canvas Select Plus (32GB)38.42 MB/s20.73 MB/s5.7 MB/s2.16 MB/s0.63 ms
KIOXIA EXCERIA (32GB)39.66 MB/s17.17 MB/s8.58 MB/s4.49 MB/s0.97 ms
Samsung EVO Plus (32GB)40.31 MB/s24.37 MB/s9.94 MB/s2.55 MB/s0.75 ms
Amazon Basics (64GB)39.3 MB/s36.3 MB/s10.2 MB/s4.35 MB/s1.11 ms
PNY Performance Plus (16GB)N/AN/AN/AN/A N/A
Verbatim Premium (16GB)40.44 MB/s11.6 MB/s7.55 MB/s2.8 MB/s0.98 ms
SanDisk MAX ENDURANCE (32GB)43.35 MB/s33.3 MB/s7.57 MB/s3.51 MB/s0.6 ms
Integral ultima PRO (64GB)41.05 MB/s34.7 MB/s8.05 MB/s4.3 MB/s1.07 ms
Patriot EP Series (64GB)40.77 MB/s29.57 MB/s6.74 MB/s2.9 MB/s0.87 ms
Kodak (64GB)40.11 MB/s27.97 MB/s3.33 MB/s0.84 MB/s0.87 ms
Intenso (64GB)40.12 MB/s34.73 MB/s9.81 MB/s4.36 MB/s0.95 ms
Transcend (32GB)42.34 MB/s20.43 MB/s11.11 MB/s3.96 MB/s0.55 ms
Samsung EVO Select (32GB)40.08 MB/s24.07 MB/s9.28 MB/s2.66 MB/s0.74 ms
Samsung PRO Plus (128GB)40.89 MB/s32.67 MB/s10.03 MB/s2.62 MB/s0.6 ms
SanDisk HIGH ENDURANCE (64GB)41.55 MB/s30.27 MB/s6.15 MB/s3.08 MB/s0.74 ms
Samsung PRO Endurance (32GB)41.46 MB/s31.7 MB/s9.34 MB/s2.67 MB/s0.67 ms

USB SSD, eMMC & microSD Card Comparison

Banana Pi M5 vs Raspberry Pi 4 - Storage Benchmarks

Thermals & Power

On the whole, the Banana Pi M5 runs cooler than the Raspberry Pi 4 in the more “real world” situations tested. This is to be expected though with its lower power consumption in the same situations.

All data is normalised to a 25 degree celsius ambient temperature.

Temperatures

Banana Pi M5 vs Raspberry Pi 4 - Temperatures

Power Usage

Whilst electricity prices surge across most of the world, luckily your bills aren’t going to be a big consideration when it comes to either of these boards. My average price this month has been $0.11/kWh so far (excluding any standing/delivery fees) so running an M5 at 100% load would cost me around $3.60 per year to run, compared to $4.55 for the Raspberry Pi 4.

It’s worth noting that both boards were measured with the default operating system with nothing disabled and nothing but an ethernet cable plugged in. This means that the Pi 4 also has WiFi/Bluetooth running at the time, it was also the only board that had a microSD card plugged in.

Banana Pi M5 vs Raspberry Pi 4 - Power Consumption

Banana Pi M5 vs Raspberry Pi 4 – Who Wins?

So there we have it, a range of tests, varied benchmarks and most bases covered (on the headless/server side at least, I may come back to update desktop/GPU details at a later date) allowing us to make a judgement call on whether the Banana Pi M5 is a worthwhile competitor to the Raspberry Pi 4 and if you should part with your hard earned cash.

banana pi m5 vs raspberry pi 4 head on

The Banana Pi M5 does well and if you don’t need WiFi/Bluetooth then it could make a compelling purchase the price difference could be negated by the inclusion of eMMC, thus no SD card would be required (if you’re fine with 16GB that is). If you do need more space, the microSD card performance on the M5 is great and would keep your project’s physical footprint in check.

Couple that with their immediate availability on AliExpress it could be a good option for you if you’re willing to do a bit more work if things don’t “just work” out of the box and you like tinkering.

It’s not very useful for me to say, I know, though ultimately the choice is going to come down to what you’re planning to do and what features you’ll need for the project and what compromises you want to make!

My 2 cents? If I wasn’t in a rush and I was willing to do some work to keep an eye on available stock, I think ultimately I’d still go with the Raspberry Pi where possible as it covers more bases for the price. You’ll see better operating system support, a larger overall community and a lot more accessories that just work.

Are there any other Pi 4 alternatives you’d like me to take a look at? Perhaps a Banana Pi vs Raspberry Pi vs Orange Pi lineup? Maybe we can throw in a few more and have a full-size comparison similar to the Raspberry Pi Zero Comparison?

You may also like...

Leave a Comment