Spdk/test/scheduler
Michal Berger e5ba4daa86 test/scheduler: Use separete cgroup for the tests
Two cgroups are created prior running the scheduler tests:
  - /cpuset/spdk
  - /cpuset/all

/cpuset/spdk is the cgroup dedicated for the tests, i.e., the SPDK
processes executed along the way. The resources consist of the cpus
that are initially picked up by isolate_cores.sh.

/cpuset/all is the "dummy" cgroup that holds most of the remaining
processes that run on the target system - "most" since not every
process (especially kernel threads) can be migrated between cgroups.
This cgroup's resources include all the online cpus except those
selected for the /cpuset/spdk.

This should allow for lowering the noise on the target SPDK's cpus
and make sure that load on each cpu is generated exclusively by the
SPDK.

Fixes issue #1950

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: Ic45149f55052ff03bead0b9bea086f95c87ea75d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10584
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-06-30 13:32:29 -04:00
..
cgroups.sh test/scheduler: Use separete cgroup for the tests 2022-06-30 13:32:29 -04:00
common.sh test/scheduler: Use separete cgroup for the tests 2022-06-30 13:32:29 -04:00
governor.sh spelling: test 2022-06-30 13:32:28 -04:00
idle.sh spelling: test 2022-06-30 13:32:28 -04:00
interrupt.sh spelling: test 2022-06-30 13:32:28 -04:00
isolate_cores.sh test/scheduler: Use separete cgroup for the tests 2022-06-30 13:32:29 -04:00
load_balancing.sh spelling: test 2022-06-30 13:32:28 -04:00
rdmsr.pl test/scheduler: Add simple tool for utilizing msr driver 2021-01-22 18:31:25 +00:00
scheduler.sh scheduler_dynamic: fix busy tsc accounting 2022-06-30 13:32:25 -04:00