+6
−3
Loading
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>