Skip to content

Commit 891537b

Browse files
committed
Change ssd to bfq and some tweaks
1 parent c2b4149 commit 891537b

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# auto-rules-io
22
automatic udev rules to io
33

4-
EN - Automatically choose input and output scheduler for BFQ on rotational disks, mq-deadline for SSD and none for NVME.
4+
EN - Automatically choose input and output scheduler for BFQ on rotational disks, SSD and none for NVME.
55

6-
PT - Escolher automaticamente o agendador de entrada e saída para BFQ em discos rotacionais, mq-deadline para SSD e nenhum para NVME.
6+
PT - Escolher automaticamente o agendador de entrada e saída para BFQ em discos rotacionais, SSD e nenhum para NVME.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
blacklist iTCO_wdt
2+
blacklist pcspkr
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vm.max_map_count=16777216
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vm.oom_kill_allocating_task = 1
2+
vm.admin_reserve_kbytes = 548576
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NVMe
22
ACTION=="add|change", KERNEL=="nvme[0-9]*", ATTR{queue/scheduler}="none"
33
# SSD and eMMC
4-
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline"
4+
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
55
# rotadional
66
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"

0 commit comments

Comments
 (0)