* Use the CFQ I/O scheduler, rather than the ‘none’ scheduler. This
was already the case on Linux 2.6.32, but in newer kernels the CFQ scheduler is built as a module, so all block devices got the ‘none’ scheduler instead. svn path=/nixos/trunk/; revision=28972
This commit is contained in:
parent
8138feb630
commit
8b3fd3ed49
@ -49,7 +49,7 @@ let kernel = config.boot.kernelPackages.kernel; in
|
||||
default = true;
|
||||
example = false;
|
||||
description = ''
|
||||
Whether to activate VESA video mode on boot
|
||||
Whether to activate VESA video mode on boot.
|
||||
'';
|
||||
};
|
||||
|
||||
@ -91,8 +91,7 @@ let kernel = config.boot.kernelPackages.kernel; in
|
||||
};
|
||||
|
||||
boot.initrd.kernelModules = mkOption {
|
||||
default = [
|
||||
];
|
||||
default = [];
|
||||
description = "List of modules that are always loaded by the initrd.";
|
||||
};
|
||||
|
||||
@ -121,7 +120,10 @@ let kernel = config.boot.kernelPackages.kernel; in
|
||||
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
||||
|
||||
boot.kernelParams =
|
||||
[ "splash=verbose" ] ++
|
||||
[ "splash=verbose"
|
||||
# Force the Completely Fair Scheduler to be used by default.
|
||||
"elevator=cfq"
|
||||
] ++
|
||||
optional config.boot.vesa "vga=0x317";
|
||||
|
||||
boot.kernelModules = [ "loop" ];
|
||||
@ -162,6 +164,9 @@ let kernel = config.boot.kernelPackages.kernel; in
|
||||
|
||||
# Unix domain sockets (needed by udev).
|
||||
"unix"
|
||||
|
||||
# Provide the CFQ scheduler in the initrd.
|
||||
"cfq_iosched"
|
||||
|
||||
# Misc. stuff.
|
||||
"pcips2" "serio" "atkbd" "xtkbd"
|
||||
@ -170,8 +175,9 @@ let kernel = config.boot.kernelPackages.kernel; in
|
||||
boot.initrd.kernelModules =
|
||||
[ # For LVM.
|
||||
"dm_mod"
|
||||
# For usual AT keyboards
|
||||
"i8042"
|
||||
|
||||
# For usual AT keyboards.
|
||||
"i8042"
|
||||
];
|
||||
|
||||
# The Linux kernel >= 2.6.27 provides firmware.
|
||||
|
Loading…
x
Reference in New Issue
Block a user