expected minimum latency with GB10

Open
#5,497 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp

Research direction

Start by reading issue #5031 and reproducing the RoCE loopback baseline on the GB10 system with HSB 2.7.0. Investigate the stated constraints around GPUdirect, buffer management, drivers, and ARM core usage. Done means determining whether 4μs is feasible and providing an ordered set of optimization recommendations; no files or tests are named.

Written by the indexing model from the issue text.

Description

stale-notified

Hi,

as previously described here, out-of-box achievable latency for the RoCE loopback test using HSB 2.7.0 with a GB10-powered machine was 5.57μs.

This is pretty close to the 4μs latency required for QEC; close enough that it is worth exploring whether optimizations to the data flow might be worth pursuing.

First question would be, is it reasonable to expect that such a latency (4μs max) could be achieved, in the considered use case, assuming the minimal possible (software) overhead?

Second question would be, would you have any suggestions on what to pursue, and, more importantly, in which order?

The current thinking on our side is that, since GB10 cannot do GPUdirect, the lowest hanging fruit would be to move all things related to buffers management into the kernel (for proof-of-concept, this'd mean, direct changes to the drivers; if it works, and if it would be feasible to do so, extract the code into a standalone kernel module).
Assuming that made a difference, another venue we'd consider is, running a "minimal-noise" environment - potentially reducing the in-use ARM core count, while using the smallest possible userland - the general idea being, to minimize the pressure put on RAM by the cores, by keeping as much as possible in the cache hierarchy.

Any comments, suggestions or advice would be appreciated.

Best regards,
MI

Dominant language
C++
Stars
1.2k
Forks
508
Avg merge
1d 19h
Merged PRs (30d)
100

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/cuda-quantum

All issues in NVIDIA/cuda-quantum

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.