udev/dasd: change DASD udev-rule to set none scheduler

Performance evaluation showed that using the mq-deadline scheduler for DASD
devices leads to a significantly higher CPU consumption compared to using
none scheduler while having the same amount of throughput.
Setting none scheduler as default in the dasd udev rule.

Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Stefan Haberland
2021-03-09 09:42:56 +01:00
committed by Jan Höppner
parent eb1fd47a85
commit a65bc51cf4

View File

@@ -26,10 +26,10 @@ KERNEL=="dasd*[0-9]", ENV{ID_XUID}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env
LABEL="dasd_symlinks_end" LABEL="dasd_symlinks_end"
# on device add set request queue scheduler to deadline # on device add set request queue scheduler to none
SUBSYSTEM!="block", GOTO="sched_end" SUBSYSTEM!="block", GOTO="sched_end"
ACTION!="change", GOTO="sched_end" ACTION!="change", GOTO="sched_end"
KERNEL=="dasd*[!0-9]", TEST=="queue/scheduler", ATTR{queue/scheduler}="deadline" KERNEL=="dasd*[!0-9]", TEST=="queue/scheduler", ATTR{queue/scheduler}="none"
LABEL="sched_end" LABEL="sched_end"