Skip to content

Commit

Permalink
Measure idle consumption with Netio in review mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKaiser committed Mar 13, 2023
1 parent ff4ba3a commit 3dc3a5d
Show file tree
Hide file tree
Showing 9 changed files with 1,442 additions and 58 deletions.
3 changes: 2 additions & 1 deletion Results.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ So do **not** rely on collected numbers unless you carefully read through all th
| [PineH64](http://ix.io/1jEr) | 1800 MHz | 4.18 | Stretch arm64 | 4650 | 1274 | 836900 | 1380 | 5530 | 5.62 |
| [PineH64](http://ix.io/26Ph) | 1800 MHz | 5.4 | Buster arm64 | 4710 | 1293 | 839870 | 1420 | 5560 | 7.10 |
| [Qualcomm QRB5165](http://ix.io/49kx) | 2840/2410/1790 MHz | 4.19 | Focal arm64 | 18860 | 3898 | 1598490 | 14470 | 23910 | 25.56 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | 21010 | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | 21010 | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000/2440 MHz | 6.2 | Jammy arm64 | 35320 | 4283 | 1694260 | 17710 | 42110 | 42.76 |
| [Quartz64](http://ix.io/3rUb) | 1810 MHz | 5.13 | Buster arm64 | 4840 | 1353 | 845490 | 2980 | 7650| - |
| [Radxa ROCK 3A](http://ix.io/40TX) | 2000 MHz | 5.18 | Bullseye arm64 | 5110 | 1450 | 935920 | 3150 | 6250 | 7.58 |
| [Radxa ROCK 5B](http://ix.io/41BH) | 2350/1830 MHz | 5.10 | Focal arm64 | 16450 | 3146 | 1337540 | 10830 | 29220 | 25.31 |
Expand Down
1,236 changes: 1,236 additions & 0 deletions results/4qG1.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion results/ARMv8-Crypto-Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Crawling through [sbc-bench results collection](../Results.md) comparing +30 dif
| Cortex-A78AE | | | |
| [NVIDIA Orin](http://ix.io/4ax9) | 2200 | 1242940 | 565 |
| Cortex-X1C | | | |
| [Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980 | 1679480 | 564 |
| [Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000 | 1694260 | 565 |
| Qualcomm Falkor V1 | | | |
| [Snapdragon 835](http://ix.io/4fea) | 2360 | 1342240 | 569 |
| Neoverse-N1 | | | |
Expand Down
18 changes: 12 additions & 6 deletions results/Sorted-Results.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
| [Gigabyte H270-T70](http://ix.io/3N5c) | 2000 Mhz | 5.16 | Sid arm64 | **107180** | 1826 | 340750 | 4180 | 17130 | - |
| [Apple M1 Pro](http://ix.io/443N) | 3030/2060 MHz | 5.18 | Gentoo 2.8 arm64 | **43800** | 5010 | 1064450 | 27110 | 71910 | 48.28 |
| [Jetson AGX Orin](http://ix.io/4ax9) | 2200 MHz | 5.10 | Focal arm64 | **39450** | 3187 | 1242940 | 10600 | 30350 | 59.96 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | **33600** | 4789 | 1679480 | 21010 | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000/2440 MHz | 6.2 | Jammy arm64 | **35320** | 4283 | 1694260 | 17710 | 42110 | 42.76 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | **33600** | 4789 | 1679480 | 21010 | 41540 | 50.65 |
| [Honeycomb LX2](http://ix.io/3Y4f) | 2200 MHz | 5.16 | Fedora 35 aarch64 | **30690** | 2288 | 1251710 | 5050 | 16220 | 46.09 |
| [Clearfog CX](http://ix.io/4ju5) | 2000 MHz | 5.10 | Focal arm64 | **25260** | 2236 | 1136690 | 4460 | 12500 | - |
| [Jetson Xavier AGX](http://ix.io/4ebH) | 2250 MHz | 4.9 | Bionic arm64 | **21590** | 2742 | 853250 | 10910 | 22520 | 26.57 |
Expand Down Expand Up @@ -216,8 +217,9 @@
| Device / details | Clockspeed | Kernel | Distro | 7-zip multi | *7-zip single* | AES | memcpy | memset | kH/s |
| ----- | :--------: | :----: | :----: | ----: | ------: | ------: | -----: | -----: | ---: |
| [Apple M1 Pro](http://ix.io/443N) | 3030/2060 MHz | 5.18 | Gentoo 2.8 arm64 | 43800 | **5010** | 1064450 | 27110 | 71910 | 48.28 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | **4789** | 1679480 | 21010 | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | **4789** | 1679480 | 21010 | 41540 | 50.65 |
| [Pentium G4600](http://ix.io/2jVw) | 3600 MHz | 4.19 | Buster amd64 | 11810 | **4448** | 984820 | 15120 | 33380 | 21.88 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000/2440 MHz | 6.2 | Jammy arm64 | 35320 | **4283** | 1694260 | 17710 | 42110 | 42.76 |
| [Huaqin P6410](http://ix.io/4kiu) | 3000 MHz | 5.4 | Focal arm64 | 430860 | **4211** | 1710010 | 13310 | 47970 | - |
| [Ampere A1](http://ix.io/4dsC) | 3000 MHz | 5.15 | Jammy arm64 | 16300 | **4009** | 1706150 | 11910 | 47780 | - |
| [Qualcomm QRB5165](http://ix.io/49kx) | 2840/2410/1790 MHz | 4.19 | Focal arm64 | 18860 | **3898** | 1598490 | 14470 | 23910 | 25.56 |
Expand Down Expand Up @@ -421,7 +423,8 @@
| ----- | :--------: | :----: | :----: | ----: | ------: | ------: | -----: | -----: | ---: |
| [Huaqin P6410](http://ix.io/4kiu) | 3000 MHz | 5.4 | Focal arm64 | 430860 | 4211 | **1710010** | 13310 | 47970 | - |
| [Ampere A1](http://ix.io/4dsC) | 3000 MHz | 5.15 | Jammy arm64 | 16300 | 4009 | **1706150** | 11910 | 47780 | - |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | **1679480** | 21010 | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000/2440 MHz | 6.2 | Jammy arm64 | 35320 | 4283 | **1694260** | 17710 | 42110 | 42.76 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | **1679480** | 21010 | 41540 | 50.65 |
| [Qualcomm QRB5165](http://ix.io/49kx) | 2840/2410/1790 MHz | 4.19 | Focal arm64 | 18860 | 3898 | **1598490** | 14470 | 23910 | 25.56 |
| [ODROID-N2+](http://ix.io/3DtN) | 2400/2015 MHz | 5.14 | Impish arm64 | 9790 | 2253 | **1366930** | 4300 | 7480 | - |
| [ODROID-N2+](http://ix.io/3R1a) | 2400/2015 MHz | 5.10 | Focal arm64 | 9680 | 2372 | **1366730** | 4030 | 7120 | - |
Expand Down Expand Up @@ -622,7 +625,8 @@
| Device / details | Clockspeed | Kernel | Distro | 7-zip multi | 7-zip single | AES | *memcpy* | memset | kH/s |
| ----- | :--------: | :----: | :----: | ----: | ------: | ------: | -----: | -----: | ---: |
| [Apple M1 Pro](http://ix.io/443N) | 3030/2060 MHz | 5.18 | Gentoo 2.8 arm64 | 43800 | 5010 | 1064450 | **27110** | 71910 | 48.28 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | **21010** | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | **21010** | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000/2440 MHz | 6.2 | Jammy arm64 | 35320 | 4283 | 1694260 | **17710** | 42110 | 42.76 |
| [Pentium G4600](http://ix.io/2jVw) | 3600 MHz | 4.19 | Buster amd64 | 11810 | 4448 | 984820 | **15120** | 33380 | 21.88 |
| [Qualcomm QRB5165](http://ix.io/49kx) | 2840/2410/1790 MHz | 4.19 | Focal arm64 | 18860 | 3898 | 1598490 | **14470** | 23910 | 25.56 |
| [Huaqin P6410](http://ix.io/4kiu) | 3000 MHz | 5.4 | Focal arm64 | 430860 | 4211 | 1710010 | **13310** | 47970 | - |
Expand Down Expand Up @@ -826,7 +830,8 @@
| [Apple M1 Pro](http://ix.io/443N) | 3030/2060 MHz | 5.18 | Gentoo 2.8 arm64 | 43800 | 5010 | 1064450 | 27110 | **71910** | 48.28 |
| [Huaqin P6410](http://ix.io/4kiu) | 3000 MHz | 5.4 | Focal arm64 | 430860 | 4211 | 1710010 | 13310 | **47970** | - |
| [Ampere A1](http://ix.io/4dsC) | 3000 MHz | 5.15 | Jammy arm64 | 16300 | 4009 | 1706150 | 11910 | **47780** | - |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | 21010 | **41540** | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000/2440 MHz | 6.2 | Jammy arm64 | 35320 | 4283 | 1694260 | 17710 | **42110** | 42.76 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | 2980/? MHz | 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | 21010 | **41540** | 50.65 |
| [Pentium G4600](http://ix.io/2jVw) | 3600 MHz | 4.19 | Buster amd64 | 11810 | 4448 | 984820 | 15120 | **33380** | 21.88 |
| [Jetson AGX Orin](http://ix.io/4ax9) | 2200 MHz | 5.10 | Focal arm64 | 39450 | 3187 | 1242940 | 10600 | **30350** | 59.96 |
| [Radxa ROCK 5B](http://ix.io/41BH) | 2350/1830 MHz | 5.10 | Focal arm64 | 16450 | 3146 | 1337540 | 10830 | **29220** | 25.31 |
Expand Down Expand Up @@ -1028,9 +1033,10 @@
| [Pentium G4600](http://ix.io/2jVw) | **3600** MHz| 4.19 | Buster amd64 | 11810 | 4448 | 984820 | 15120 | 33380 | 21.88 |
| [Pentium N6005](http://ix.io/4f3I) | **3300/2000** MHz| 6.0 | Jammy amd64 | 10810 | 3485 | 922000 | 9600 | 11300 | 20.15 |
| [Apple M1 Pro](http://ix.io/443N) | **3030/2060** MHz| 5.18 | Gentoo 2.8 arm64 | 43800 | 5010 | 1064450 | 27110 | 71910 | 48.28 |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4qG1) | **3000/2440** MHz| 6.2 | Jammy arm64 | 35320 | 4283 | 1694260 | 17710 | 42110 | 42.76 |
| [Huaqin P6410](http://ix.io/4kiu) | **3000** MHz| 5.4 | Focal arm64 | 430860 | 4211 | 1710010 | 13310 | 47970 | - |
| [Ampere A1](http://ix.io/4dsC) | **3000** MHz| 5.15 | Jammy arm64 | 16300 | 4009 | 1706150 | 11910 | 47780 | - |
| [Qualcomm Snapdragon 8cx Gen 3](http://ix.io/4kEp) | **2980/?** MHz| 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | 21010 | 41540 | 50.65 |
| [Qualcomm Snapdragon 8cx Gen 3 (WSL2)](http://ix.io/4kEp) | **2980/?** MHz| 5.15 | Jammy arm64 | 33600 | 4789 | 1679480 | 21010 | 41540 | 50.65 |
| [Celeron N5105](http://ix.io/3Qf7) | **2900/2000** MHz| 5.13 | Focal amd64 | 11450 | 3059 | 811760 | 7710 | 9290 | 21.79 |
| [Qualcomm QRB5165](http://ix.io/49kx) | **2840/2410/1790** MHz| 4.19 | Focal arm64 | 18860 | 3898 | 1598490 | 14470 | 23910 | 25.56 |
| [Celeron N5100](http://ix.io/3IlQ) | **2800/1100** MHz| 5.13 | Focal amd64 | 10550 | 3088 | 783800 | 7750 | 8090 | 19.22 |
Expand Down
Binary file modified results/results.tar.xz
Binary file not shown.
100 changes: 100 additions & 0 deletions results/reviews/Radxa-Rock-5B-6.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Radxa ROCK 5 Model B

Tested with sbc-bench v0.9.38 on Mon, 13 Mar 2023 09:59:29 +0100. Full info: [http://ix.io/4qHs](http://ix.io/4qHs)

### General information:

The CPU features 3 clusters consisting of 2 different core types:

Rockchip RK3588/RK3588s, Kernel: aarch64, Userland: arm64

CPU sysfs topology (clusters, cpufreq members, clockspeeds)
cpufreq min max
CPU cluster policy speed speed core type
0 0 0 408 1800 Cortex-A55 / r2p0
1 0 0 408 1800 Cortex-A55 / r2p0
2 0 0 408 1800 Cortex-A55 / r2p0
3 0 0 408 1800 Cortex-A55 / r2p0
4 0 4 408 2208 Cortex-A76 / r4p0
5 0 4 408 2208 Cortex-A76 / r4p0
6 0 6 408 2208 Cortex-A76 / r4p0
7 0 6 408 2208 Cortex-A76 / r4p0

15723 KB available RAM

### Governors/policies (performance vs. idle consumption):

Original governor settings:

cpufreq-policy0: ondemand / 1008 MHz (conservative ondemand userspace powersave performance schedutil / 408 600 816 1008 1200 1416 1608 1800)
cpufreq-policy4: ondemand / 816 MHz (conservative ondemand userspace powersave performance schedutil / 408 600 816 1008 1200 1416 1608 1800 2016 2208)
cpufreq-policy6: ondemand / 816 MHz (conservative ondemand userspace powersave performance schedutil / 408 600 816 1008 1200 1416 1608 1800 2016 2208)

Tuned governor settings:

cpufreq-policy0: performance / 1800 MHz
cpufreq-policy4: performance / 2208 MHz
cpufreq-policy6: performance / 2208 MHz

Status of performance related policies found below /sys:

/sys/module/pcie_aspm/parameters/policy: default [performance] powersave powersupersave

### Clockspeeds (idle vs. heated up):

Before at 57.3°C:

cpu0-cpu3 (Cortex-A55): OPP: 1800, Measured: 1914 (+6.3%)
cpu4-cpu5 (Cortex-A76): OPP: 2208, Measured: 2181 (-1.2%)
cpu6-cpu7 (Cortex-A76): OPP: 2208, Measured: 2183 (-1.1%)

After at 74.8°C (throttled):

cpu0-cpu3 (Cortex-A55): OPP: 1800, Measured: 1900 (+5.6%)
cpu4-cpu5 (Cortex-A76): OPP: 2208, Measured: 2165 (-1.9%)
cpu6-cpu7 (Cortex-A76): OPP: 2208, Measured: 2166 (-1.9%)

### Performance baseline

* cpu0 (Cortex-A55): memcpy: 5979.1 MB/s, memchr: 2932.0 MB/s, memset: 23281.8 MB/s
* cpu4 (Cortex-A76): memcpy: 9457.3 MB/s, memchr: 12676.2 MB/s, memset: 29438.6 MB/s
* cpu6 (Cortex-A76): memcpy: 9425.7 MB/s, memchr: 12666.3 MB/s, memset: 29566.5 MB/s
* cpu0 (Cortex-A55) 16M latency: 115.5 118.1 115.9 118.5 114.3 123.7 209.1 377.4
* cpu4 (Cortex-A76) 16M latency: 118.9 109.2 118.5 119.9 117.9 107.8 109.0 107.8
* cpu6 (Cortex-A76) 16M latency: 120.2 110.0 119.7 109.9 119.8 110.2 106.3 107.9
* 7-zip MIPS (3 consecutive runs): 15657, 15806, 15774 (15740 avg), single-threaded: 2967
* `aes-256-cbc 149535.40k 398629.65k 683161.69k 834064.73k 891655.51k 896237.57k (Cortex-A55)`
* `aes-256-cbc 506252.57k 932121.17k 1148119.30k 1215015.94k 1240331.61k 1242966.70k (Cortex-A76)`
* `aes-256-cbc 509503.30k 931815.47k 1148465.15k 1214641.83k 1241025.19k 1243600.21k (Cortex-A76)`

### PCIe and storage devices:

* Realtek RTL8125 2.5GbE: Speed 5GT/s, Width x1, driver in use: r8169
* 14.5GB "Foresee NCard" HS200 eMMC 5.0 card as /dev/mmcblk0: date 08/2016, manfid/oemid: 0x000088/0x0103, hw/fw rev: 0x0/0x0100000000000000
* Macronix MX25U12835F 16MB SPI NOR flash, drivers in use: spi-nor/rockchip-sfc

### Swap configuration:

* /dev/zram0: 7.7G (0K used, lzo-rle, 8 streams, 4K data, 74B compressed, 12K total)

### Software versions:

* Ubuntu Lunar Lobster (development branch)
* Build scripts: https://github.com/armbian/build, 23.05.0.0070, Rock 5B, rockchip-rk3588, rockchip-rk3588
* Compiler: /usr/bin/gcc (Ubuntu 12.2.0-15ubuntu1) 12.2.0 / aarch64-linux-gnu

### Kernel info:

* `/proc/cmdline: root=UUID=be9f7bc1-39d3-4f82-8b80-c2dc8ae94462 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=bf52041d-fa47-2d41-a8bd-0b0c4dfc17a8 usb-storage.quirks= cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1`
* Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
* Vulnerability Spectre v1: Mitigation; __user pointer sanitization
* Vulnerability Spectre v2: Mitigation; CSV2, BHB
* Kernel 6.2.0-rc1-rockchip-rk3588 / CONFIG_HZ=300

### Idle consumption (measured with Netio 4KF, FW v3.2.0):

* everything set to powersave: 3610 mW
* /sys/devices/system/cpu/cpufreq/policy0 set to performance: 3570 mW
* /sys/devices/system/cpu/cpufreq/policy4 set to performance: 3570 mW
* /sys/devices/system/cpu/cpufreq/policy6 set to performance: 3560 mW
* /sys/module/pcie_aspm/parameters/policy set to performance: 3710 mW
Loading

0 comments on commit 3dc3a5d

Please sign in to comment.