From 2727606a70f4e36176fb9c87746938f4c1d45f60 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 17 Nov 2022 12:20:06 -0600 Subject: [PATCH] Add build-essential to package list and Ryzen 5 5600x result. --- README.md | 9 ++++++++- main.yml | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 028b84f..e582063 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 | diff --git a/main.yml b/main.yml index d0290e7..54950ab 100644 --- a/main.yml +++ b/main.yml @@ -22,6 +22,7 @@ - name: Install dependencies. ansible.builtin.package: name: + - build-essential - gfortran - automake state: present