Skip to content

kyber: better heuristics

Omar Sandoval linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v1 RFC5 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5block: move call of scheduler's ->completed_request() hookblock/blk-mq-sched.h block/blk-mq.c block/kyber-iosched.c +1 more+8 -80 replies
2/5block: export blk_stat_enable_accounting()block/blk-stat.c+1 -00 replies
3/5kyber: don't make domain token sbitmap larger than necessaryblock/kyber-iosched.c+2 -130 replies
4/5kyber: implement improved heuristicsblock/kyber-iosched.c+279 -2180 replies
5/5kyber: add tracepointsblock/kyber-iosched.c include/trace/events/kyber.h+130 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] kyber: better heuristics

From: Omar Sandoval <[email protected]>

Hi,

This is my series to improve the heuristics used by Kyber. Patches 1 and 2 are preparation. Patch 3 is a minor optimization. Patch 4 is the main change, and includes a detailed description of the new heuristics. Patch 5 adds tracepoints for debugging. This is basically the same as the RFC I posted back in August [1] with one added tracepoint (kyber_throttled) and rebased on linux-block/for-next.

Thanks!

1: https://www.spinics.net/lists/linux-block/msg29453.html

Omar Sandoval (5):
block: move call of scheduler's ->completed_request() hook
block: export blk_stat_enable_accounting()
kyber: don't make domain token sbitmap larger than necessary
kyber: implement improved heuristics
kyber: add tracepoints

 block/blk-mq-sched.h         |   4 +-
 block/blk-mq.c               |   5 +-
 block/blk-stat.c             |   1 +
 block/kyber-iosched.c        | 547 ++++++++++++++++++++---------------
 include/linux/elevator.h     |   2 +-
 include/trace/events/kyber.h |  96 ++++++
 6 files changed, 409 insertions(+), 246 deletions(-)
 create mode 100644 include/trace/events/kyber.h
Signature · 1 line
2.19.0