Tune io-scheduler udev rules for I/O performance

Update io-scheduler rules for rootdisk based on performance analysis.
Previous settings resulted in sm etcd failures when system was under I/O
stress.  Tune to improve latency of critical disk I/O (etcdserver), and
responsiveness of kube-apiserver.

Changes are to let slice_idle go back to default of 8 and to enable
strict_guarantees.

Test Plan
PASS: Install system and confirm scheduler options
PASS: I/O stress soak - verify no stability or performance issues
PASS: Drbd-invalidate - verify successful resync

Closes-Bug: 1953074
Change-Id: I2c42b8850e844f24f53013386c9838eac260bf30
Signed-off-by: Gerry Kopec <gerry.kopec@windriver.com>
This commit is contained in:
Gerry Kopec 2021-12-02 15:36:33 -05:00
parent 2646eb4b6d
commit 94b9530cd9
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="sd[a-z]", \
ACTION=="add|change", ENV{nodetype}=="controller", SUBSYSTEM=="block", KERNEL=="sd[a-z]", \
PROGRAM="/usr/local/bin/is-rootdisk-device.sh %E{DEVNAME}", RESULT=="?*", \
ATTR{queue/scheduler}="bfq", \
ATTR{queue/iosched/slice_idle}="0"
ATTR{queue/iosched/strict_guarantees}="1"
# Set none io scheduler for variants of HW-RAID.
# HP ProLiant DL360p Gen8; HP ProLiant DL380p Gen8