Raspberry Pi 5 gets 10-15% speedup with 100 line Linux kernel patch. And what if we could save 50 megawatt-hours of power annually, just with a software patch for older Pis?
I’ll walk through the NUMA Emulation patch that supposedly boosts Pi 5 performance, as well as some other new performance-related developments coming down the pike!
Mentioned in this video:
– Pi 5 NUMA Emulation Patch: https://lore.kernel.org/lkml/20240625125803.38038-1-tursulin@igalia.com/
– What is NUMA? https://lse.sourceforge.net/numa/faq/
– x86 Fake Numa for CPUSets: https://www.kernel.org/doc/html/v5.8/x86/x86_64/fake-numa-for-cpusets.html
– Pi 1, 3 A+, 3 B+ S2Idle patch: https://lore.kernel.org/dri-devel/20240630153652.318882-1-wahrenst@gmx.net/T/#ma0791259e7b745f6b97d3271dd80bee90972d6d4
– Raspberry Pi 5 A2 Command Queueing thread: https://forums.raspberrypi.com/viewtopic.php?p=2235124
– My 2019 blog post on A2 microSD cards: https://www.jeffgeerling.com/blog/2019/a2-class-microsd-cards-offer-no-better-performance-raspberry-pi
– Pi 5 4GB model outperforming 8GB model: https://github.com/raspberrypi/firmware/issues/1854
– Overvolted Pi 5 from jonatron: https://jonatron.github.io/randomstuff/pivolt/
– My video on M.2 NVMe on the Pi 5: https://www.youtube.com/watch?v=GYN3ub8Qb_I
Support me on Patreon: https://www.patreon.com/geerlingguy
Sponsor me on GitHub: https://github.com/sponsors/geerlingguy
Merch: https://www.redshirtjeff.com
2nd Channel: https://www.youtube.com/@GeerlingEngineering
3rd Channel: https://www.youtube.com/@Level2Jeff
Contents:
00:00 – There’s something off about Pi 5
01:27 – NUMA NUMA?
02:27 – The NUMA Emulation patch
04:29 – 50 MW of power savings (ish)
05:35 – microSD: A2 finally faster than A1
07:18 – Some Pis are slower than others
08:29 – Return of the Bloopers
source