utilities/utilities/worker-utils/worker-utils
Jim Gauld 674850130f AIO reaffine DRBD tasks during startup
This will speedup the initial DRBD sync on AIO when there are limited
number of platform cores by reaffining DRBD tasks to use all cpus.

This enhances affine-tasks init script to dynamically reaffine CPU
intensive DRBD tasks. The receiver threads (i.e., drbd_r_*)
may use a full core each. On systems with fast disk, we notice the
receiver threads and softirq processing get CPU limited by the
number of platform cores configured.

The DRBD receiver tasks are reaffined initially to float across all
cores. This will poll for newly created DRBD resources and reaffine
them as they are found until all DRBD resources have started.

This script waits for sufficient platform readiness criteria. Once the
system is at steady-state, this will ensure that DRBD tasks are
constrained to platform cores and do not run on cores with
VMs/containers. The DRBD configuration file affinity option is left
as-is in case the DRBD kernel threads are restarted for some reason.

Change-Id: I019137ea1cf3736768ad8882bd8d8628cc5c2857
Closes-Bug: 1832781
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
2019-07-17 16:47:05 -04:00
..
LICENSE Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
Makefile Remove execution permissions from worker_reserved.conf in worker-utils 2019-06-12 12:33:58 -05:00
affine-interrupts.sh Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
affine-platform.sh AIO reaffine tasks and k8s-infra during startup 2019-07-16 12:46:30 -04:00
affine-platform.sh.service Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
affine-tasks.service AIO reaffine tasks and k8s-infra during startup 2019-07-16 12:46:30 -04:00
affine-tasks.sh AIO reaffine DRBD tasks during startup 2019-07-17 16:47:05 -04:00
cpumap_functions.sh Add to worker-utils scripts the LSB header 2019-06-12 15:17:33 -05:00
cpumap_functions_unit_test.sh Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
ps-sched.sh Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
set-cpu-wakeup-latency.sh Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
task_affinity_functions.sh AIO reaffine tasks and k8s-infra during startup 2019-07-16 12:46:30 -04:00
topology Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
topology.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
worker-goenabled.sh Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
worker_reserved.conf Change compute node to worker node personality 2018-12-13 14:15:55 -05:00