[LTP] [PATCH] Different hardware always has different performance, and we cannot assume that platform performance is always above a certain standard. please consider change the threshold so it can easily pass all devices with a good margin.

Wei Gao wegao@suse.com
Fri Jun 7 01:03:31 CEST 2024


On Thu, Jun 06, 2024 at 07:32:43PM +0800, xufeifei via ltp wrote:
> Signed-off-by: xufeifei <xufeifei1@oppo.com>
> ---
>  testcases/kernel/sched/cfs-scheduler/starvation.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/testcases/kernel/sched/cfs-scheduler/starvation.c b/testcases/kernel/sched/cfs-scheduler/starvation.c
> index eb9fd6ff5..0f2196868 100644
> --- a/testcases/kernel/sched/cfs-scheduler/starvation.c
> +++ b/testcases/kernel/sched/cfs-scheduler/starvation.c
> @@ -23,7 +23,7 @@
>  #include "tst_test.h"
> 
>  static char *str_loop;
> -static long loop = 2000000;
> +static long loop = 100000;
Try run case with parameter such as "starvation -l 10000" instead of change code.
>  static char *str_timeout;
>  static int timeout = 240;
> 
> --


More information about the ltp mailing list