diff mbox 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.

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

Commit Message

徐飞飞(Steve) June 6, 2024, 11:32 a.m. UTC
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

Comments

Wei Gao June 6, 2024, 11:03 p.m. UTC | #1
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 mbox series

Patch

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;