Merge pull request #27201 from gnidorah/schedulers
linux: Enable more I/O schedulers
This commit is contained in:
commit
6e4a343fa4
@ -92,6 +92,14 @@ with stdenv.lib;
|
|||||||
# module, so that the initrd gets a good I/O scheduler.
|
# module, so that the initrd gets a good I/O scheduler.
|
||||||
IOSCHED_CFQ y
|
IOSCHED_CFQ y
|
||||||
BLK_CGROUP y # required by CFQ
|
BLK_CGROUP y # required by CFQ
|
||||||
|
IOSCHED_DEADLINE y
|
||||||
|
${optionalString (versionAtLeast version "4.11") ''
|
||||||
|
MQ_IOSCHED_DEADLINE y
|
||||||
|
''}
|
||||||
|
${optionalString (versionAtLeast version "4.12") ''
|
||||||
|
MQ_IOSCHED_KYBER y
|
||||||
|
IOSCHED_BFQ m
|
||||||
|
''}
|
||||||
|
|
||||||
# Enable NUMA.
|
# Enable NUMA.
|
||||||
NUMA? y
|
NUMA? y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user