[PATCH 0/3] optimize the queue idle judgment

From: Yu Kuai
Date: Wed Jul 14 2021 - 05:37:25 EST


bfqq might plug I/O dispatch when it remains temporarily empty while
being served, this will benefit for both sequence io bandwidth and relative
sync io control.

This path set tries to extend the two special cases that idle is not
needed, and can get better bandwidth.

1) only one group is activated.
2) when more than one groups are activated, all queues are issuring
requests with same size.

Yu Kuai (3):
block, bfq: do not idle if only one cgroup is activated
block, bfq: add support to record request size information
block, bfq: consider request size in bfq_asymmetric_scenario()

block/bfq-iosched.c | 50 +++++++++++++++++++++++++++++++++++++--------
block/bfq-iosched.h | 16 +++++++++++++++
2 files changed, 57 insertions(+), 9 deletions(-)

--
2.31.1