f550b7e6c2
Move content from stx-utils into stx-integ or stx-update Packages will be relocated to stx-update: enable-dev-patch extras stx-integ: config-files/ io-scheduler filesystem/ filesystem-scripts grub/ grubby logging/ logmgmt tools/ collector monitor-tools tools/engtools/ hostdata-collectors parsers utilities/ build-info branding (formerly wrs-branding) platform-util Change-Id: Id6b1984eb421278610709eea54e055de5269bf18 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
29 lines
1.4 KiB
Plaintext
29 lines
1.4 KiB
Plaintext
# This file contains the rules to customize io scheduler.
|
|
|
|
# Heuristics:
|
|
# 'deadline' io-scheduler tuned settings
|
|
# - deadline generally recommended for databases, servers, and SSDs,
|
|
# and for more deterministic latency
|
|
# - note that read_expire is a key tuning parameter here
|
|
# - the following is recommended by DRBD user guide
|
|
# front_merges: 0 (from 1)
|
|
# read_expire: 150 (from 500)
|
|
# write_expire: 1500 (from 5000)
|
|
#
|
|
# 'noop' io scheduler for variants of HW-RAID.
|
|
# - RAID controller will do its own separate scheduling
|
|
#
|
|
# Overall:
|
|
# - We prefer to guarantee latency more than fairness for all platform services,
|
|
# especially under extreme read and write load, e.g, when creating/deleting
|
|
# multiple heat stacks, or running disk intensive operations.
|
|
|
|
ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="sd[a-z]", ATTR{queue/scheduler}="deadline"
|
|
ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="sd[a-z]", ATTR{queue/iosched/front_merges}="0"
|
|
ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="sd[a-z]", ATTR{queue/iosched/read_expire}="150"
|
|
ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="sd[a-z]", ATTR{queue/iosched/write_expire}="1500"
|
|
|
|
# Set noop io scheduler for variants of HW-RAID.
|
|
# HP ProLiant DL360p Gen8; HP ProLiant DL380p Gen8
|
|
ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="sd[a-z]", ATTRS{raid_level}=="*RAID*", ATTR{queue/scheduler}="noop"
|