diff options
| author | Surabhi Gogte <sgogte@purestorage.com> | 2026-06-26 22:15:51 -0600 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-07-06 11:31:11 -0700 |
| commit | 2a8513091d2f0b9a1e94b1843c48c712e7c17301 (patch) | |
| tree | bbb731f400ab79e459db693873d49da023eaa37f /tools/perf/scripts/python/stackcollapse.py | |
| parent | f4254b18d48af66a99101092b1d72f58c4c69b23 (diff) | |
nvme-rdma: parallelize I/O queue allocation and startup
Refactor nvme rdma I/O queue setup to use async API, combining
allocation and startup into a single parallel operation per queue. This
reduces connection and reconnection setup time when there are delays in
establishing connections, which is especially important for
high-core-count hosts.
Key changes:
- Use async API to facilitate parallel calls for io queue setup.
- Add nvme_rdma_setup_ctx for propagating errors from async workers.
- Remove nvme_rdma_alloc_io_queues() and nvme_rdma_start_io_queues();
their logic is folded into nvme_rdma_setup_io_queues() and
nvme_rdma_configure_io_queues().
- Move queue count negotiation (nvme_set_queue_count,
nvmf_set_io_queues) from the removed nvme_rdma_alloc_io_queues()
into nvme_rdma_configure_io_queues().
Testing on a 64-core host with 64 IO-queues shows
nvme-rdma connection time reduced from ~1.4s to 416ms.
Signed-off-by: Surabhi Gogte <sgogte@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
