From 631cea63d03daf49dc8a0d74b40c825fde55a99a Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Tue, 9 Mar 2021 11:45:11 +0100 Subject: [PATCH] test/scheduler: Print minimum supported frequency by given cpu This is done in order to easier troubleshoot issues like #1784. Signed-off-by: Michal Berger Change-Id: Icabccab92dd48aa85a505d34013181e66c89fa1a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6800 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Xiaodong Liu Reviewed-by: Tomasz Zawadzki Reviewed-by: Shuhei Matsumoto --- test/scheduler/governor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scheduler/governor.sh b/test/scheduler/governor.sh index 0ead29cf2..fea69dcfd 100755 --- a/test/scheduler/governor.sh +++ b/test/scheduler/governor.sh @@ -115,8 +115,8 @@ verify_dpdk_governor() { # to start going down. This is deemed as not necessary for the moment since the core objective of # the test is to determine if DPDK's governor did its job, within its current scope, not how it # impacts the system overall. - printf 'MAIN DPDK cpu%u current frequency at %u KHz (%u KHz), set frequency %u KHz %s %u KHz\n' \ - "$spdk_main_core" "$main_core_set_cur_freq" "$main_core_max_freq" \ + printf 'MAIN DPDK cpu%u current frequency at %u KHz (%u-%u KHz), set frequency %u KHz %s %u KHz\n' \ + "$spdk_main_core" "$main_core_set_cur_freq" "$main_core_min_freq" "$main_core_max_freq" \ "$main_core_setspeed" "${dir_map[dir]}" "$old_main_core_setspeed" else printf 'Waiting for samples...\n'