git.iko.soy/typeable/nixpkgs
on master help sign in
linux: Enable more I/O schedulers
commitff348f4b6dc3e3c95370489d002ba7b7a04ae7d3 authorgnidorah <gnidorah@users.noreply.github.com> dateFri 7 Jul 2017, 11:41 (9 years ago) parent5946143
1 file changed+8
pkgs/os-specific/linux/kernel/common-config.nix+8
pkgs/os-specific/linux/kernel/common-config.nix+8
@@ -92,6 +92,14 @@ with stdenv.lib;
9292 # module, so that the initrd gets a good I/O scheduler.
9393 IOSCHED_CFQ y
9494 BLK_CGROUP y # required by CFQ
95+ IOSCHED_DEADLINE y
96+ ${optionalString (versionAtLeast version "4.11") ''
97+ MQ_IOSCHED_DEADLINE y
98+ ''}
99+ ${optionalString (versionAtLeast version "4.12") ''
100+ MQ_IOSCHED_KYBER y
101+ IOSCHED_BFQ m
102+ ''}
95103
96104 # Enable NUMA.
97105 NUMA? y