• Stars
    star
    310
  • Rank 134,077 (Top 3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Stress tests for the Raspberry Pi πŸ˜…

stressberry

Stress tests and temperature plots for the Raspberry Pi

PyPi Version PyPI pyversions GitHub stars PyPi downloads

gh-actions codecov Code style: black

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

active passive
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)
Flirc case (@RichardKav, #73) Armor Case

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
python3 -m pip install stressberry

Users of Arch Linux ARM can install from the official repos

[sudo] pacman -S 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.)

If it your computer can't find the stressberry tools after installation, you might have to add the directory $HOME/.local/bin to your path:

export PATH=$PATH:/home/pi/.local/bin

(You can also put this line in your .bashrc.)

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

This software is published under the GPLv3 license.

More Repositories

1

tikzplotlib

πŸ“Š Save matplotlib figures as TikZ/PGFplots for smooth integration into LaTeX.
Python
2,350
star
2

meshio

πŸ•ΈοΈ input/output for many mesh formats
Python
1,855
star
3

tiptop

πŸ–₯️ Command-line system monitoring
Python
1,695
star
4

perfplot

πŸ“ˆ Performance analysis for Python snippets
Python
1,323
star
5

tuna

🐟 Python profile viewer
Python
1,311
star
6

awesome-scientific-computing

😎 Curated list of awesome software for numerical analysis and scientific computing
Python
1,275
star
7

pygmsh

πŸ•ΈοΈ Gmsh for Python
Python
822
star
8

matplotx

πŸ“Š More styles and useful extensions for Matplotlib
Python
774
star
9

termplotlib

πŸ“ˆ Plotting on the command line
Python
655
star
10

colorio

🌈 Tools for color research
TeX
320
star
11

github-trends

πŸ“ˆ GitHub star history plots
256
star
12

dufte

πŸ“ˆ Minimalistic Matplotlib style
Python
214
star
13

deadlink

πŸ’€ Checks and fixes URLs in code and documentation.
Python
160
star
14

cplot

🌈 Plot complex functions
Python
147
star
15

termtables

πŸ–₯️ Pretty tables in the terminal
Python
97
star
16

pytest-codeblocks

πŸ“„ Test code blocks in your READMEs
Python
92
star
17

xhub

Extend GitHub pages with math, graphs etc.
JavaScript
91
star
18

action-cached-lfs-checkout

GitHub checkout action with LFS files pulled from cache
Just
85
star
19

ua-beamer

A LaTeX beamer theme for the University of Antwerp
TeX
75
star
20

pipdate

Small pip update helpers.
Python
72
star
21

matlab-guidelines

Guidelines for writing clean and fast code in MATLAB
TeX
65
star
22

spectro

🎡 Audio file analysis
Python
47
star
23

tablign

Aligns columns in your ASCII tables on the command line or in vim.
Python
43
star
24

pyfoobar

Python project template/scaffold and best practices
Python
41
star
25

betterspy

πŸ‘€ Visualization for SciPy sparse matrices.
Python
39
star
26

color-data

🌈 Collected experimental data for color research
Python
39
star
27

stackoverflow-trends

πŸ“ˆ StackOverflow trends
35
star
28

maelstrom

Numerical simulation of magnetohydrodynamics.
Python
35
star
29

purple-pi

πŸ’œ LaTeX math wherever you want
JavaScript
31
star
30

stackoverflow-card

JavaScript
29
star
31

markdown-math-acid-test

Showcase GitHub math bugs
25
star
32

fontman

Manage and update your installed fonts.
Python
21
star
33

tau

The better pi
Python
20
star
34

scipyx

SciPy fixes and extensions
Python
18
star
35

pyfma

Fused multiply-add (with a single rounding) for Python.
Python
18
star
36

epicycler

Create epicycle animations.
Python
15
star
37

gitfaces

Fetch contributor avatars for a GitHub repository
Python
15
star
38

python-vs-cpp

C++
13
star
39

fjson

Python JSON writer with formatted floats
Python
13
star
40

identinum

Identify exact expression for decimal.
Python
9
star
41

mikado

Friendly solver interfaces for Trilinos.
C++
8
star
42

materials

Density, magnetic permeability etc. for a range of materials.
Python
8
star
43

note-on-cam16

Algorithmic improvements for the CIECAM02 and CAM16 color appearence models
TeX
8
star
44

matheon-html5-template

Matheon HTML5 presentation template
JavaScript
8
star
45

flow

Navier-Stokes and heat equation with FEniCS.
Python
5
star
46

nosh

A numerical solver for nonlinear SchrΓΆdinger equations
C++
4
star
47

tex-font-errors-cheatsheet

Cheat sheet(s) for decoding the meaning of TeX font errors
3
star
48

rhino

Python
3
star
49

vandermonde

πŸ“ Tools for working with Vandermonde matrices, e.g., BjΓΆrck-Pereyra.
Python
3
star
50

keygen_licensing_tools

Tools for license valididation with Keygen.sh
Python
3
star
51

plm

Python
2
star
52

corona-charts

Corona data and charts, updated automatically
Python
2
star
53

math-test

2
star
54

github-mathml-test

2
star
55

parabolic

Time stepping methods for parabolic problems.
Python
2
star
56

sippp

Fortran library for the solution of singularly perturbed parabolic problems
Fortran
2
star
57

nschloe.github.io

Ruby
2
star
58

hanoi-material

Class material for nonlinear optimization at Hanoi Autumn School 2013
MATLAB
2
star
59

talk-python-scientific

Python in Scientific Computation
JavaScript
2
star
60

trilinos-tutorial

C++
1
star
61

tspsolve

Solution algorithms for the travelling salesman problem.
Python
1
star
62

launchpadtools

Tools for submitting packages to Ubuntu Launchpad
Python
1
star
63

nschloe

about me
1
star