Skip to main content

Stress tests for the Raspberry Pi

Project description

stressberry

Stress tests and temperature plots for the Raspberry Pi

CircleCI codecov Code style: black awesome PyPi Version GitHub stars PyPi downloads

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.

Raspberry Pi 4B

| | :--------------------------------------:|:----------------------:|:------:| custom case with fans (@flyingferret, #21) | KKSB case (@JohBod, #31) | Argon One case (@jholloway, #37) | | hex wrench case (@patrickpoirier51, #45) | CooliPi (@CooliPi, #47, #48) | low-profile ice tower case (@leonhess, #54)

Raspberry Pi 3B+

FLIRC case

The famous FLIRC case. Thanks to @RichardKav for the measurements!

Raspberry Pi 3B

| | :-------------------:|:------------------:|:----------:| No fans, heat sinks, or case. | Your average acrylic case from eBay. | FastTech case, full-body aluminum alloy with heat pads for CPU and RAM.

How to

To run stressberry on your computer, simply install it with

[sudo] apt install stress
pip install stressberry

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.

Testing

To run the tests, just check out this repository and type

pytest

License

stressberry is published under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stressberry-0.2.3.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stressberry-0.2.3-py2.py3-none-any.whl (12.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file stressberry-0.2.3.tar.gz.

File metadata

  • Download URL: stressberry-0.2.3.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for stressberry-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c832b6e64382771135b4c34bfb8c282bd54b61b8369584887c3705a44b63c074
MD5 4d1a501c0ba60ad76c066ffaecaa33e0
BLAKE2b-256 266304df7cbbd1bb0b9cc2979fc633bd6d50c37ce5232f0f0561e8b163bdc123

See more details on using hashes here.

File details

Details for the file stressberry-0.2.3-py2.py3-none-any.whl.

File metadata

  • Download URL: stressberry-0.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for stressberry-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d3d9cb79256a91f2b6cb4cbfd0340ac1805de7fddd91457caf86ea12d05c1ac2
MD5 08b6cc3981fcedeb4d2417dcd5e935cd
BLAKE2b-256 f694d830f96a1b6c385ec1d3ccbf3c04fad591ff1517a250bd5f474e79659144

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page