diff --git a/ktweak b/ktweak index 7553f69..7a482ab 100644 --- a/ktweak +++ b/ktweak @@ -150,9 +150,18 @@ do fi done + # Do not use I/O as a source of randomness + write "${queue}add_random" 0 + # Disable I/O statistics accounting write "${queue}iostats" 0 + # Only attempt simple merges + write "${queue}nomerges" 1 + + # Force request completion on the origin CPU for maximum cache locality + write "${queue}rq_affinity" 2 + # Reduce heuristic read-ahead in exchange for I/O latency write "${queue}read_ahead_kb" 16