mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-18 21:48:23 -04:00
Use BFQ I/O scheduler for spinning disks
It offers much better latency in exchange for only a modest reduction in throughput, and only for some workflows. High latency being a defining negative characteristic of spinning disks, this seems like a worthwhile trade-off for us to make for desktop usage. This doesn't change the default I/O schedulers for flash-based storage, as the defaults seem sensibly chosen (`none` for NVMe SSDs and `mq-deadline` for everything else). Related to #258
This commit is contained in:
6
mkosi.extra/usr/lib/udev/rules.d/60-ioschedulers.rules
Normal file
6
mkosi.extra/usr/lib/udev/rules.d/60-ioschedulers.rules
Normal file
@@ -0,0 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
# SPDX-FileCopyrightText: none
|
||||
|
||||
# Use BFQ I/O scheduler for spinning disks, as it offers much better latency in
|
||||
# exchange for only a modest reduction in throughput, and only for some workflows
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
|
||||
Reference in New Issue
Block a user