RFC nvme sq associations
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nvme: split admin queue in pcidrivers/ | +93 | 0 replies | |
| 2/3 | nvme: add NVM set structuresdrivers/ drivers/ include/ | +18 | 0 replies | |
| 3/3 | nvme: implement SQ associationsdrivers/ drivers/ drivers/ +4 more | +182 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] nvme sq associations
The NVMe specification allows for namespaces with different performance characteristics, as well as allowing IOs submissions to any namespace via any non-empty submission queue. However, sharing queue resources between namespaces with different performance characteristics can cause undesired behavior (e.g. head-of-line-blocking for IOs that target a high-performance namespace behind IOs that target a low performance namespace via the same queue). In addition, the lack of hardware queue isolation support can cause “noisy neighbor” type problems for applications issuing IOs to different namespaces of the same controller. This problem may be especially pronounced in multi-tenant environments such as the ones provided by cloud services.
The NVMe 1.4 specification has introduced some optional features (NVM sets and SQ associations) that can be utilized to improve this situation provided these features are supported by both controllers and host drivers. Namespaces can be assigned to NVM sets (by performance characteristics, for example) which each NVM set having its own set of associated queues.
This patch series proposes a simple implementation of NVM sets and SQ associations for the NVMe host PCI module. A controller that supports these features, along with a sufficient number of queue pairs (at least one per NVM set), will have the available queue pairs associated uniformly across each NVM set. IO requests directed at the controller will honor the namespace/NVM set/queue association by virtue of each NVM set having its own blk-mq tagset associated with it.
Andrey Nikitin (3):
nvme: split admin queue in pci
nvme: add NVM set structures
nvme: implement SQ associations
drivers/nvme/host/core.c | 18 +- drivers/nvme/host/fc.c | 1 + drivers/nvme/host/nvme.h | 10 + drivers/nvme/host/pci.c | 363 +++++++++++++++++++++++++------------ drivers/nvme/host/rdma.c | 1 + drivers/nvme/host/tcp.c | 1 + drivers/nvme/target/loop.c | 1 + include/linux/nvme.h | 11 +- 8 files changed, 286 insertions(+), 120 deletions(-)
Signature · 7 lines
2.32.0 _______________________________________________ Linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme