From 7cfc64051b823fa94f740420582f13309ca430d6 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Wed, 6 Oct 2021 22:19:30 +0200 Subject: [PATCH] t/one-core-peak: Reporting BLK_CGROUP When BLK_CGROUP is enabled, it induces some rdtsc calls which reduce the overall performance. Let's report if this option is enabled. The tool was reporting BLK_CGROUP_IOCOST which wasn't the right one. Signed-off-by: Erwan Velu --- t/one-core-peak.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/one-core-peak.sh b/t/one-core-peak.sh index d0649d2e..54b40668 100755 --- a/t/one-core-peak.sh +++ b/t/one-core-peak.sh @@ -238,7 +238,7 @@ show_system() { info "system" "CPU: ${CPU_MODEL}" info "system" "MEMORY: ${MEMORY_SPEED}" info "system" "KERNEL: ${KERNEL}" - for config_item in BLK_CGROUP_IOCOST HZ; do + for config_item in BLK_CGROUP HZ; do info "system" "KERNEL: $(show_kernel_config_item ${config_item})" done tsc=$(journalctl -k | grep 'tsc: Refined TSC clocksource calibration:' | awk '{print $11}') -- 2.25.1