Skip to content

Latency cleanups

Vincent Fu fio 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5ioengines: add helper for trims with async ioenginesioengines.c+9 -40 replies
2/5ioengines: don't record issue_time if ioengines already do itengines/io_uring.c engines/libaio.c ioengines.c +1 more+11 -43 replies
3/5HOWTO: improve description of latency measuresHOWTO.rst+18 -110 replies
4/5ioengines: update last_issue if we set issue_timeengines/io_uring.c engines/libaio.c ioengines.c+28 -140 replies
5/5ioengines: clean up latency accounting for 3 ioenginesengines/librpma_apm.c engines/librpma_fio.c engines/librpma_gpspm.c +1 more+18 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Latency cleanups

Jens, here are a few latency cleanup patches. The main improvement is to avoid recording issue_time twice for the ioengines that record issue_time themselves when their commit hook is called. Recording issue_time twice underestimates clat since the first issue_time value is used for slat and then the later second issue_time is used when calculating clat.

I'm not able to test the rdma and librpma ioengines but the fix for libaio and io_uring appears to work properly.

Vincent Fu (5):
ioengines: add helper for trims with async ioengines
ioengines: don't record issue_time if ioengines already do it
HOWTO: improve description of latency measures
ioengines: update last_issue if we set issue_time
ioengines: clean up latency accounting for 3 ioengines

 HOWTO.rst               | 29 ++++++++++++++++-----------
 engines/io_uring.c      | 13 ++++++++++--
 engines/libaio.c        |  9 ++++++++-
 engines/librpma_apm.c   |  2 +-
 engines/librpma_fio.c   |  9 ++++++++-
 engines/librpma_gpspm.c |  2 +-
 engines/rdma.c          |  9 ++++++++-
 ioengines.c             | 44 ++++++++++++++++++++++++-----------------
 ioengines.h             |  2 ++
 9 files changed, 83 insertions(+), 36 deletions(-)
Signature · 1 line
2.25.1