From c134fe77e7697aebde742647e1f8ebe1814e6132 Mon Sep 17 00:00:00 2001 From: Thomas Kaiser Date: Mon, 13 Mar 2023 13:25:08 +0100 Subject: [PATCH] Activity/throttling OK only bare metal --- results/ARMv8-Crypto-Extensions.md | 3 ++- sbc-bench.sh | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/results/ARMv8-Crypto-Extensions.md b/results/ARMv8-Crypto-Extensions.md index abf7eb1..b9b81f4 100644 --- a/results/ARMv8-Crypto-Extensions.md +++ b/results/ARMv8-Crypto-Extensions.md @@ -126,7 +126,8 @@ Crawling through [sbc-bench results collection](../Results.md) comparing +30 dif | Cortex-A77 | | | | | [QRB5165](http://ix.io/49kx) | 2410 | 1348440 | 560 | | [QRB5165](http://ix.io/49kx) | 2840 | 1598490 | 563 | -| Cortex-A78AE | | | | +| Cortex-A78C/A78AE | | | | +| [Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 2430 | 1373790 | 565 | | [NVIDIA Orin](http://ix.io/4ax9) | 2200 | 1242940 | 565 | | Cortex-X1C | | | | | [Snapdragon 8cx Gen 3](http://ix.io/4qG1) | 3000 | 1694260 | 565 | diff --git a/sbc-bench.sh b/sbc-bench.sh index 5df4993..621f700 100755 --- a/sbc-bench.sh +++ b/sbc-bench.sh @@ -4241,9 +4241,12 @@ ValidateResults() { LogLength=$(wc -l <<<"${UtilizationValues}") UtilizationSum=$(awk '{s+=$1} END {printf "%.0f", s}' <<<"${UtilizationValues}") AverageSysUtilization=$(( ${UtilizationSum} / ${LogLength} )) - [ ${PeakSysUtilization:-0} -gt 15 -o ${AverageSysUtilization:-0} -gt 0 ] \ - && echo -e "${LRED}${BOLD}Too much background activity (%system): ${AverageSysUtilization}% avg, ${PeakSysUtilization}% max${NC}" \ - || echo -e "${LGREEN}Background activity (%system) OK${NC}" + if [ ${PeakSysUtilization:-0} -gt 15 -o ${AverageSysUtilization:-0} -gt 0 ]; then + echo -e "${LRED}${BOLD}Too much background activity (%system): ${AverageSysUtilization}% avg, ${PeakSysUtilization}% max${NC}" + else + # only report background activity being ok when not running inside a VM/container + [ "X${VirtWhat}" = "X" -o "X${VirtWhat}" = "Xnone" ] && echo -e "${LGREEN}Background activity (%system) OK${NC}" + fi # Too high overall CPU utilization with single threaded benchmarks? This is an indication # of background activities needing too much CPU ressources. Skip in MODE=extensive/gb/pts @@ -4322,7 +4325,8 @@ ValidateResults() { else # Throttling on all other systems? if [ "${ThrottlingWarning}" = "" ]; then - echo -e "${LGREEN}No throttling${NC}" + # only report 'no throttling' when not running inside a VM/container + [ "X${VirtWhat}" = "X" -o "X${VirtWhat}" = "Xnone" ] && echo -e "${LGREEN}No throttling${NC}" else # we need to check whether we're running in Geekbench or PTS mode since the # cluster tests on CPUs with different core types end up with the CPUs remaining