Skip to content

Commit

Permalink
linux: Enable more I/O schedulers
Browse files Browse the repository at this point in the history
  • Loading branch information
gnidorah committed Jul 7, 2017
1 parent 5946143 commit ff348f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/os-specific/linux/kernel/common-config.nix
Expand Up @@ -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
Expand Down

0 comments on commit ff348f4

Please sign in to comment.