Created
July 9, 2012 05:58
-
-
Save w0ng/3074458 to your computer and use it in GitHub Desktop.
90-disk-queues
This file contains hidden or 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
# set a larger readahead size | |
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/read_ahead_kb}="1024" | |
# set deadline scheduler for non-rotating disks | |
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment