mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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.
|
||||
IOSCHED_CFQ y
|
||||
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.
|
||||
NUMA? y
|
||||
|
Loading…
Reference in New Issue
Block a user