[Fuego] [PATCH 1/5] signaltest:add a warning for rt

Zhong Lu zhongl.fnst at cn.fujitsu.com
Fri Dec 7 05:37:01 UTC 2018

Signed-off-by: Zhong Lu <zhongl.fnst at cn.fujitsu.com>
 engine/tests/Benchmark.signaltest/fuego_test.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/engine/tests/Benchmark.signaltest/fuego_test.sh b/engine/tests/Benchmark.signaltest/fuego_test.sh
index 3b288f9..54e08b1 100755
--- a/engine/tests/Benchmark.signaltest/fuego_test.sh
+++ b/engine/tests/Benchmark.signaltest/fuego_test.sh
@@ -4,6 +4,12 @@ NEED_ROOT=1
 function test_pre_check {
+    if check_kconfig "CONFIG_RT_GROUP_SCHED=y"; then
+        echo "WARNING: CONFIG_RT_GROUP_SCHED enabled in your kernel. Please check the RT"
+        echo "settings as following if this test failed with 'Unable to change scheduling policy'."
+        echo "- If the user does not need the RT groups functionality, disable CONFIG_RT_GROUP_SCHED and compile the kernel again, or 'sysctl -w kernel.sched_rt_runtime_us=-1'"
+        echo "- If the user does want to use RT groups functionality, you may want to assign the ssh daemon service a realtime budget by specifyihg the cpu.rt_runtime_us attribute"
+    fi
 function test_build {

More information about the Fuego mailing list