mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
kernel: enable writeback throttling to avoid IO queues filling up
This commit is contained in:
parent
f59a0f7f1a
commit
f674cb5ecc
@ -370,6 +370,15 @@ with stdenv.lib;
|
||||
MICROCODE_AMD_EARLY y
|
||||
''}
|
||||
|
||||
${optionalString (versionAtLeast version "4.10") ''
|
||||
# Write Back Throttling
|
||||
# https://lwn.net/Articles/682582/
|
||||
# https://bugzilla.kernel.org/show_bug.cgi?id=12309#c655
|
||||
BLK_WBT y
|
||||
BLK_WBT_SQ y
|
||||
BLK_WBT_MQ y
|
||||
''}
|
||||
|
||||
# Misc. options.
|
||||
8139TOO_8129 y
|
||||
8139TOO_PIO n # PIO is slower
|
||||
|
Loading…
Reference in New Issue
Block a user