From: Erwan Velu Date: Wed, 6 Oct 2021 20:19:30 +0000 (+0200) Subject: t/one-core-peak: Reporting BLK_CGROUP X-Git-Tag: fio-3.29~72^2~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7cfc64051b823fa94f740420582f13309ca430d6;p=fio.git 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 --- 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}')