diff options
author | Corrado Zoccolo <czoccolo@gmail.com> | 2009-10-26 22:45:11 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-28 09:23:26 +0100 |
commit | a6d44e982d3734583b3b4e1d36921af8cfd61fc0 (patch) | |
tree | 1d9b409057361524af2e097fe5de1c505533d603 /MAINTAINERS | |
parent | c0324a020e5b351f100569b128715985f1023af8 (diff) |
cfq-iosched: enable idling for last queue on priority class
cfq can disable idling for queues in various circumstances.
When workloads of different priorities are competing, if the higher
priority queue has idling disabled, lower priority queues may steal
its disk share. For example, in a scenario with an RT process
performing seeky reads vs a BE process performing sequential reads,
on an NCQ enabled hardware, with low_latency unset,
the RT process will dispatch only the few pending requests every full
slice of service for the BE process.
The patch solves this issue by always performing idle on the last
queue at a given priority class > idle. If the same process, or one
that can pre-empt it (so at the same priority or higher), submits a
new request within the idle window, the lower priority queue won't
dispatch, saving the disk bandwidth for higher priority ones.
Note: this doesn't touch the non_rotational + NCQ case (no hardware
to test if this is a benefit in that case).
Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions