Skip to content

Commit

Permalink
Add build-essential to package list and Ryzen 5 5600x result.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Nov 17, 2022
1 parent d8aa801 commit 2727606
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,17 @@ ansible-playbook main.yml --tags "setup,benchmark"
> For testing, you can start an Ubuntu docker container:
>
> ```
> docker run -it --rm -v $PWD:/code geerlingguy/docker-ubuntu2204-ansible:latest bash
> docker run --name top500 -it -v $PWD:/code geerlingguy/docker-ubuntu2204-ansible:latest bash
> ```
>
> Then go into the code directory (`cd /code`) and run the playbook using the command above.
#### Setting `performance` CPU frequency
If you get an error like `CPU Throttling apparently enabled!`, you may need to set the CPU frequency to `performance` (and disable any throttling or performance scaling).
For different OSes and different CPU types, the way you do this could be different. So far the automated `performance` setting in the `main.yml` playbook has only been tested on Raspberry Pi OS. You may need to look up how to disable throttling on your own system. Do that, then run the `main.yml` playbook again.
### Overclocking
Since I originally built this project for a Raspberry Pi cluster, I include a playbook to set an overclock for all the Raspberry Pis in a given cluster.
Expand All @@ -98,3 +104,4 @@ Here are a few of the results I've acquired in my testing:
| DeskPi Super6c (6x CM4 @ 2.0 GHz) | 70.338 Gflops | 51W | 1.38 Gflops/W |
| M2 MacBook Air (1x M2 @ 3.5 GHz, in Docker) | 104.68 Gflops | TODOW | TODO Gflops/W |
| M1 Max Mac Studio (1x M1 Max @ 3.2 GHz, in Docker) | TODO Gflops | TODOW | TODO Gflops/W |
| AMD Ryzen 5 5600x @ 3.7 GHz | 229 Gflops | 196W | 1.16 Gflops/W |
1 change: 1 addition & 0 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- name: Install dependencies.
ansible.builtin.package:
name:
- build-essential
- gfortran
- automake
state: present
Expand Down

0 comments on commit 2727606

Please sign in to comment.