The MagPi, Issue 88

The MagPi Issue 88The latest issue of The MagPi Magazine includes a whopping 12-page feature investigating the thermal performance of the Raspberry Pi 4 Model B single-board computer as it is affected by a series of firmware updates released since its launch earlier this year.

When I reviewed the Raspberry Pi 4 at launch, I highlighted its dramatically increased power draw and heat output compared with its predecessor the Raspberry Pi 3 Model B+. In the months since, the Raspberry Pi Foundation has been working to address the issue through a series of firmware updates – and, with assistance from Eben Upton and Tim Gover, my feature runs through each release and sees what difference it actually makes.

For the feature, I had to develop a method of benchmarking the Raspberry Pi. Power draw was relatively straightforward: the built-in current meter in a bench-top power supply is used to measure the minimal draw at idle and peak draw at load. For thermal performance, I wrote a custom benchmark which uses two open-source utilities – glxgears and stress-ng – to place a heavy load on both the CPU and the GPU while measuring the resulting temperature rise and the speed of the CPU, which throttles at 80°C to protect the silicon.

These measurements provided a graph of temperature rise and fall, the latter thanks to a five-minute cool-down period built into the benchmark, but for a more visual approach I also took thermal imagery of the board at idle and load to demonstrate which components are responsible for the heat output and better highlight the improvements made at each firmware revision. This was no small undertaking: the benchmarking and thermal imagery was completed for five firmware revisions, the last of which was not publicly available at the time of testing, plus a baseline Raspberry Pi 3B+ for comparison.

The feature also takes a look at a real-world workload, in which temperature and clock speed is measured while a four-worker compile of the Linux kernel is carried out. This revealed something which may come as a surprise to critics of the board: Using the latest firmware, the Raspberry Pi 4 did not throttle at all during the compilation – something that can’t be said for the Raspberry Pi 3B+, which throttled to 1.2GHz from 1.4GHz almost immediately. For the final bit of testing, there’s even a comparison of the Raspberry Pi 4 running sat flat on a desk and balanced vertically – at Upton’s suggestion – with a resulting dramatic impact on the throttle point and operating temperature.

Finally, firmware developer Tim Gover was kind enough to answer my questions on what the Raspberry Pi 4 firmware actually does, how it is developed, and how it can have such a dramatic impact on power usage – along with the confirmation that USB mass-storage booting and IPv6 network booting are on the to-do list for future releases.

The full feature, and plenty more beside, can be found at your local newsagent, supermarket, or downloaded at no cost in digital form under a Creative Commons licence from the official website.

The MagPi, Issue 68

The MagPi Issue 68The launch of a hardware refresh for the low-cost yet surprisingly-capable Raspberry Pi single-board computer is always a great opportunity to take stock of how the project has progressed since its launch six years ago, and the result is this: a special cover feature for The MagPi celebrating the release of the Raspberry Pi 3 Model B+, or Pi 3 B+ to its friends.

Following roughly the same format as my cover feature for the launch of the Raspberry Pi 3 from March 2016, and my cover feature for the Pi Zero’s launch back in November 2015, my multi-page feature begins with an overview of the board highlighting its key new features with high-resolution call-out photography: the new Broadcom BCM2837B0 system-on-chip which dispenses with the old plastic package for a new direct-die layout protected by a metal heatspreader; the new dual-band 2.4GHz and 5GHz Wi-Fi and Bluetooth radio module; a Pi Zero-inspired ground plane antenna, which boosts wireless performance still further; a Power over Ethernet (PoE) header for the optional PoE HAT; gigabit Network connectivity; and a custom-designed power management integrated circuit (PMIC) which improves regulation and assists with the clockspeed increase to 1.4GHz.

Taking a brief pause for a quick getting-started guide for those new to the Raspberry Pi, the feature then gets into its stride with a full suite of benchmarks across two pages. Measuring everything from CPU and memory performance to Ethernet throughput, power draw, and Wi-Fi signal quality, the benchmarks don’t just cover the Pi 3 B+ and its immediate predecessor; the benchmarks compare the new board to every single mainstream model of Raspberry Pi in the project’s history, all the way back to the original Model B from the initial pre-production run. If you’ve ever wondered how things have improved over time, this feature will let you know exactly that.

A further two pages are taken up by my interview with Raspberry Pi Foundation co-founder Eben Upton, who first introduced me to the project all those years ago. Diving into the changes and improvements made in the Pi 3 B+’s design, which is the work of engineer Roger Thornton, the interview also includes several behind-the-scenes images and – because I can never resist the opportunity – a thermal imaging analysis demonstrating how the new packaging and thicker PCB help the Pi 3 B+ deal with heat dissipation, despite its faster clock speed compared to the hot-running Pi 3.

To read through the full feature, which also includes a more detailed getting-started guide and ten project ideas which take advantage of the board’s increased power, head to your local newsagent, supermarket, or download the issue digitally under the permissive Creative Commons licence from the official website.

Benchmarking the Raspberry Pi 3 B+

Raspberry Pi 3 B+

The launch of the shiny new Raspberry Pi 3 B+ offers a chance to revisit the entire history of the Pi family, benchmarking each device in turn from the original Raspberry Pi Model B launch board with its somewhat limited 256MB of RAM right through to the shiniest and newest board. This post collates the results from a range of different benchmarks, demonstrating how the power of the Pi has changed over the years.

If attempting to replicate the results yourself, there is one key fact to note: the Raspberry Pi has enjoyed somewhere in the range of a 30 percent performance uplift in the last couple of years through software and firmware optimisation alone; comparing the same benchmark run on a Pi using the latest Raspbian operating system today with results gathered a year or more ago will give a false reading, which is why all these results have been gathered using the same firmware and software revision.

 

Continue reading