11c9b3960b
In cases when all cores are already doing too much work to fit a thread, active threads should still be balanced over all cores. When current core is overloaded, place the thread on another that is less busy. The core limit is set to 95% to catch only ones that are fully busy. Decreasing that value would make spreading out the threads move aggressive. Changed thread load in one of the unit tests to reflect the 95% limit. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I3b3bc5f7fbd22725441fa811d61446950000cc46 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8113 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
Makefile | ||
unittest.sh |