Skip to content

RFC lightnvm: pblk: Introduce RAIL to enforce low tail read latency

Heiner Litz linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6lightnvm: pblk: refactor read and write APIsdrivers/lightnvm/pblk-read.c drivers/lightnvm/pblk-write.c drivers/lightnvm/pblk.h+12 -70 replies
2/6lightnvm: pblk: Add configurable mapping functiondrivers/lightnvm/pblk-init.c drivers/lightnvm/pblk-map.c drivers/lightnvm/pblk.h+24 -90 replies
3/6lightnvm: pblk: Refactor end_io function in pblk_submit_io_setdrivers/lightnvm/pblk-write.c drivers/lightnvm/pblk.h+8 -60 replies
4/6lightnvm: pblk: Add pblk_submit_io_semdrivers/lightnvm/pblk-core.c drivers/lightnvm/pblk.h+12 -00 replies
5/6lightnvm: pblk: Add RAIL interfacedrivers/lightnvm/pblk-rail.c drivers/lightnvm/pblk.h+870 -15 replies
6/6lightnvm: pblk: Integrate RAILdrivers/lightnvm/Kconfig drivers/lightnvm/Makefile drivers/lightnvm/pblk-core.c +6 more+93 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/6] lightnvm: pblk: Introduce RAIL to enforce low tail read latency

Hi All,
this patchset introduces RAIL, a mechanism to enforce low tail read latency for lightnvm OCSSD devices. RAIL leverages redundancy to guarantee that reads are always served from LUNs that do not serve a high latency operation such as a write or erase. This avoids that reads become serialized behind these operations reducing tail latency by ~10x. In particular, in the absence of ECC read errors, it provides 99.99 percentile read latencies of below 500us. RAIL introduces capacity overheads (7%-25%) due to RAID-5 like striping (providing fault tolerance) and reduces the maximum write bandwidth to 110K IOPS on CNEX SSD.

This patch is based on pblk/core and requires two additional patches from Javier to be applicable (let me know if you want me to rebase):

The 1st patch exposes some existing APIs so they can be used by RAIL The 2nd patch introduces a configurable sector mapping function The 3rd patch refactors the write path so the end_io_fn can be specified when setting up the request
The 4th patch adds a new submit io function that acquires the write semaphore The 5th patch introduces the RAIL feature and its API
The 6th patch integrates RAIL into pblk's read and write path