]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/resctrl: Change the default limited time to 120 seconds
authorShaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Wed, 23 Mar 2022 08:12:23 +0000 (17:12 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 25 Apr 2022 23:06:53 +0000 (17:06 -0600)
commit2ff3176b3421b7eedd0e0e4e5d5a1abc19dd6e34
tree927f819d7cbac24f58417da07aa316eb51f8e331
parentf2b90993d065cc92c0399344ff2d9170db1879f7
selftests/resctrl: Change the default limited time to 120 seconds

When testing on a Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz the resctrl
selftests fail due to timeout after exceeding the default time limit of
45 seconds. On this system the test takes about 68 seconds.
Since the failing test by default accesses a fixed size of memory, the
execution time should not vary significantly between different environment.
A new default of 120 seconds should be sufficient yet easy to customize
with the introduction of the "settings" file for reference.

Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/settings [new file with mode: 0644]