diff options
author | Paolo Valente <paolo.valente@linaro.org> | 2021-01-25 22:02:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-26 00:18:31 +0300 |
commit | 7f1995c27b19060dbdff23442f375e3097c90707 (patch) | |
tree | 8f8ab896447363c0e30b15ed83c2fb4622f52042 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eb2fd80f9d2c515a901599362e83bc3356fc5e97 (diff) | |
download | linux-7f1995c27b19060dbdff23442f375e3097c90707.tar.xz |
block, bfq: re-evaluate convenience of I/O plugging on rq arrivals
Upon an I/O-dispatch attempt, BFQ may detect that it was better to
plug I/O dispatch, and to wait for a new request to arrive for the
currently in-service queue. But the arrival of a new request for an
empty bfq_queue, and thus the switch from idle to busy of the
bfq_queue, may cause the scenario to change, and make plugging no
longer needed for service guarantees, or more convenient for
throughput. In this case, keeping I/O-dispatch plugged would certainly
lower throughput.
To address this issue, this commit makes such a check, and stops
plugging I/O if it is better to stop plugging I/O.
Tested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions