Stress tests for the Raspberry Pi
Project description
Stress tests and temperature plots for the Raspberry Pi.
Raspberry Pi 4B
Raspberry Pi 3B+
Raspberry Pi 3B
There are a million ways to cool down your Raspberry Pi: Small heat sinks, specific cases, and some extreme DIY solutions. stressberry is a package for testing the core temperature under different loads, and it produces nice plots which can easily be compared.
To run stressberry on your computer, simply install it with
[sudo] apt install stress
pip3 install stressberry --user
and run it with
stressberry-run out.dat
stressberry-plot out.dat -o out.png
(Use MPLBACKEND=Agg stressberry-plot out.dat -o out.png
if you're running the script
on the Raspberry Pi itself.)
The run lets the CPU idle for a bit, then stresses it with maximum load for 5 minutes, and lets it cool down afterwards. The entire process takes 10 minutes. The resulting data is displayed to a screen or, if specified, written to a PNG file.
If you'd like to submit your own data for display here, feel free to open an issue and include the data file, a photograph of your setup, and perhaps some further information.
The setups
A naked Raspberry Pi 3
The Raspberry Pi 3 without fans, heat sinks, or particular cases. The idle core temperature is about 47°C, under heavy load it reaches 80°C (at which point the CPU frequency is throttled).
A simple acrylic case
Your average acrylic case from eBay. Temperature measurements are bit warmer than with the naked Raspberry Pi, presumable because the case hinders the free air flow.
A black full-body aluminum alloy case
I got this case from FastTech for about $17. It's basically a full-body aluminum alloy case with heat pads for the CPU and the RAM chip. The heat is dissipated very well and in fact beats every other solution I've seen so far, including the extreme DIY passive cooling setup.
A Rasberry Pi 3B+ with a FLIRC case
The famous FLIRC case. Thanks to @RichardKav for the measurements!
A Rasberry Pi 4B with fans
Thanks to @flyingferret for the measurements!
Testing
To run the tests, just check out this repository and type
pytest
License
stressberry is published under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for stressberry-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29d3d8bbf455dd237cc3aed4c7ca1ebbc77a6e455a28f1f03f8493a7964fed04 |
|
MD5 | 46a142e95fa51514d20352a21e881399 |
|
BLAKE2b-256 | d8642607a7ca7f5706279edd9192dbc4dec658ca3a7630302cd900f82451af2d |