Spdk/test/scheduler
Richael Zhuang 822325ca28 test/schedule: fix idle.sh test failure
idle.sh sometimes fails because the app_thread's idle time is less
than busy time.

For rpc "framework_set_scheduler dynamic" will initialize the dpdk_governor
which finally call rte_power_init. This process is time consuming on some
systems which may make app_thread busy.

We can allow the app_thread to be busy for the first sample. This is one
solution. It also works if we call sleep for some time after calling rpc
framework_set_scheduler.

Change-Id: Ia2f4b2f35e94657ce093ce261438ab710399435a
Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16825
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Michal Berger <michal.berger@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2023-03-01 19:23:54 +00:00
..
cgroups.sh Add SPDX header to various files 2022-11-29 08:27:51 +00:00
common.sh test/scheduler: Use CPU list rather than cpumask 2023-03-01 08:55:26 +00:00
governor.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
idle.sh test/schedule: fix idle.sh test failure 2023-03-01 19:23:54 +00:00
interrupt.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
isolate_cores.sh Add SPDX header to various files 2022-11-29 08:27:51 +00:00
load_balancing.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rdmsr.pl Add SPDX header to various files 2022-11-29 08:27:51 +00:00
scheduler.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00