Last active
July 13, 2023 14:17
-
-
Save wido/66cba7abb200ee4aec6a to your computer and use it in GitHub Desktop.
ceph-udev-disk-scheduler.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# udev rule to set disk schedulers for Ceph | |
# For spinning disks we want the CFQ scheduler so that we can set | |
# priorities on client and recovery I/O threads | |
# | |
# Author: Wido den Hollander <[email protected]> | |
# Date: July 2015 | |
# Use deadline for SSDs | |
ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline" | |
# Use CFQ for HDDs | |
ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="cfq" |
Hi, deadline is still using for SSDs?
From what I know noop is the best and newer kernels >5.3 use something different.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, deadline is still using for SSDs?