Skip to content

Commit

Permalink
adding phoronix f/oss cpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Mar 18, 2024
1 parent 0c811d4 commit a821e9b
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion _posts/2024-03-15-minipc-vs-pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ _BMAX B4 - Temperature during Docker Build_

And these are the temperatures [registered by NetData](https://fossengineer.com/selfhosting-netdata/)

### BMAX B4 vs Orange Pi 5

![BMAX B4 - Temperature during Docker Build](/img/minipc-vs-pis/n95-cpu-phoronix.png)
_Intel N95 4 cores with phoronix Open Source Benchmark_

![BMAX B4 - Temperature during Docker Build](/img/minipc-vs-pis/orangepi5-cpu-phoronix.png)
_The Orange Pi 8 Cores is a beast_

---

## FAQ
Expand All @@ -88,6 +96,24 @@ That's why I decided to switch to [a lighter Linux Distribution](https://jalcoce

> The max consumption registered was ~15w in this case
#### How to Disable Wifi/Bluetooh

To further lower the consumption, you can disable wifi with:

```sh
nmcli radio wifi off #on
#nmcli radio help
```

> Here you improve by ~10% the power efficiency, aka: -1W 😜
And Bluetooth:

```sh
sudo service bluetooth stop #start
#service bluetooth status
```


### Using a MiniPC as Free Home Cloud

Expand Down Expand Up @@ -116,4 +142,25 @@ The system was using 12/16GB (im running couple other containers) and the replie
You can see how for the python question, which answer was pretty detailed, took ~30s and a max Temp of ~70C (fan full speed).

![BMAX B4 - MiniPC Performance while LLM inference](/img/minipc-vs-pis/minipc_gemma_temps.png)
_BMAX B4 - MiniPC Performance while LLM inference_
_BMAX B4 - MiniPC Performance while LLM inference_


### How to Benchmark with Phoronix Test Suite

We can have an idea by being part of [openbenchmarking](https://openbenchmarking.org/) by using the [F/OSS Phoronix Test Suite](https://github.com/phoronix-test-suite/phoronix-test-suite/releases)

```sh
wget https://github.com/phoronix-test-suite/phoronix-test-suite/releases/download/v10.8.4/phoronix-test-suite_10.8.4_all.deb
sudo dpkg -i phoronix-test-suite_10.8.4_all.deb
sudo apt-get install -f
```

Then, just use:

```sh
phoronix-test-suite benchmark smallpt
#phoronix-test-suite system-info
```
<!--
https://openbenchmarking.org/result/2403181-NE-TESTBENCH60
https://openbenchmarking.org/result/2403181-NE-TESTORANG02 -->
Binary file added img/minipc-vs-pis/n95-cpu-phoronix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/minipc-vs-pis/orangepi5-cpu-phoronix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a821e9b

Please sign in to comment.