mbox series

[RFC,0/5] kyber: better heuristics

Message ID cover.1533846185.git.osandov@fb.com (mailing list archive)
Headers show
Series kyber: better heuristics | expand

Message

Omar Sandoval Aug. 9, 2018, 8:26 p.m. UTC
From: Omar Sandoval <osandov@fb.com>

Hello,

I've spent the past few weeks experimenting with different heuristics
for Kyber in order to deal with some edge cases we've hit here. This
series is my progress so far, implementing less handwavy heuristics
while keeping the same basic mechanisms. 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.

Please, take a look and try it out.

Thanks!

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        | 541 +++++++++++++++++++----------------
 include/linux/elevator.h     |   2 +-
 include/trace/events/kyber.h |  76 +++++
 6 files changed, 383 insertions(+), 246 deletions(-)
 create mode 100644 include/trace/events/kyber.h