Message ID | 20240606113243.19768-1-xufeifei1@oppo.com |
---|---|
State | Rejected |
Headers | show |
Series | 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. | expand |
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; > > --
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; static char *str_timeout; static int timeout = 240;
Signed-off-by: xufeifei <xufeifei1@oppo.com> --- testcases/kernel/sched/cfs-scheduler/starvation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1