diff options
author | Ming Lei <[email protected]> | 2018-07-03 09:03:16 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-07-09 09:07:53 -0600 |
commit | 6e768717304bdbe8d2897ca8298f6b58863fdc41 (patch) | |
tree | 64f259002c9bcca0bd1f187cdd7d067e68a29d45 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | d893ff86034f7107f89d8b740c2b5902a21a49db (diff) |
blk-mq: dequeue request one by one from sw queue if hctx is busy
It won't be efficient to dequeue request one by one from sw queue,
but we have to do that when queue is busy for better merge performance.
This patch takes the Exponential Weighted Moving Average(EWMA) to figure
out if queue is busy, then only dequeue request one by one from sw queue
when queue is busy.
Fixes: b347689ffbca ("blk-mq-sched: improve dispatching from sw queue")
Cc: Kashyap Desai <[email protected]>
Cc: Laurence Oberman <[email protected]>
Cc: Omar Sandoval <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Bart Van Assche <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Reported-by: Kashyap Desai <[email protected]>
Tested-by: Kashyap Desai <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions