[Fuego] [PATCH 01/15] migratetest: add RT group warning

Tim.Bird at sony.com Tim.Bird at sony.com
Thu Nov 15 22:22:36 UTC 2018


Applied.  Thanks.
 -- Tim


> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Qiu Tingting
> Sent: Wednesday, November 14, 2018 8:26 PM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 01/15] migratetest: add RT group warning
> 
> Add a warning if CONFIG_RT_GROUP_SCHED enabled in kernel.
> By following the warning, right settings of boards could be setted before
> test.
> 
> Signed-off-by: Qiu Tingting <qiutt at cn.fujitsu.com>
> ---
>  engine/tests/Benchmark.migratetest/fuego_test.sh | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/engine/tests/Benchmark.migratetest/fuego_test.sh
> b/engine/tests/Benchmark.migratetest/fuego_test.sh
> index bc3627a..43e3bea 100755
> --- a/engine/tests/Benchmark.migratetest/fuego_test.sh
> +++ b/engine/tests/Benchmark.migratetest/fuego_test.sh
> @@ -5,6 +5,12 @@ TEST_COMMAND="rt-migrate-test"
> 
>  function test_pre_check {
>      assert_define BENCHMARK_RT_MIGRATE_TEST_PARAMS
> +    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 {
> --
> 2.7.4
> 
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list