The Impact of NVLink Interconnect on Dual-GPU Large Model Inference Performance

    This article examines how a high-speed NVLink interconnect between two GPUs affects inference performance for a roughly 27-billion-parameter model served with tensor parallelism. Four controlled runs compare interconnect on and off at concurrency 1 and 4, measured by throughput, TTFT, TPOT, and P99 latency. Results show gains of about 8%–10% for single requests and 13%–15% at higher concurrency, with P99 tail latency nearly halved, while raising concurrency delivers roughly 2.6x throughput. Practical guidance covers tuning batching first, capacity planning on tail latency, and keeping variables fixed during link comparisons.

    1. Background: Why Interconnect Matters in a Dual-GPU Setup

    When deploying a 10-billion-plus parameter LLM locally, a single GPU’s memory is often too small to hold both the model weights and the key-value cache generated during inference, so dual-GPU parallelism is the most common entry-level option. When two high-end GPUs communicate over the vendor’s default onboard channel, link bandwidth is typically far below the internal memory bandwidth. Once the model needs to exchange data across cards frequently, communication shifts from a supporting role to the bottleneck.

    “Modified interconnect” here refers to establishing a high-bandwidth, low-latency point-to-point direct link between the two GPUs through hardware modification, bypassing the host memory as a relay. This article focuses on the real impact of that link on inference serving (not training). The test target is a common tensor-parallel inference stack running a model of about 27 billion parameters, with input and output lengths fixed in the thousand-token range.

    One premise needs to be clear up front: the interconnect modification only affects the time spent on cross-GPU communication; it does not change compute, memory capacity, or operator efficiency. Its upper bound on gains is therefore naturally constrained by the share of communication in total time.

    2. Test Method and Metrics

    To keep the results comparable, the four runs are identical except for the interconnect toggle: same model precision, same tensor-parallel partitioning, same input and output lengths, and same warm-up and sampling parameters. Concurrency is set to 1 (single request) and 4 (high concurrency), with 10 requests processed per run.

    Four industry-standard metrics are used:

    • Total throughput (tokens/s): output capacity per unit time;
    • Time to first token (TTFT): determines how responsive interaction feels, including queueing and prefill overhead;
    • Time per output token (TPOT): determines the smoothness of streaming output;
    • Tail latency (P99): reflects service stability under high load.

    3. Measured Results

    With no interconnect and a single request, output throughput is about 40 tokens/s, average TTFT about 1.22 s, TPOT about 23.6 ms, and P99 TPOT nearly overlaps with the mean, indicating no queueing interference.

    With no interconnect and concurrency 4, output throughput rises to about 105 tokens/s and total throughput to about 215 tokens/s; however, average TTFT climbs to about 3.51 s, median to about 4.81 s, P99 to about 4.85 s, and TPOT rises slightly to about 29 ms. This set of numbers reveals a key phenomenon: the cost of concurrency falls mainly on “waiting,” not on “generating.”

    With the interconnect enabled, end-to-end gains are about 8%–10% in the single-request case; in the concurrency-4 case, gains widen to 13%–15%, with P99 tail latency dropping about 50% and TTFT dropping about 23%.

    4. Interpretation

    First, the limited single-request gain is consistent with Amdahl’s law. At low concurrency, prefill and token-by-token decoding proceed serially, communication accounts for a small share, and a link upgrade naturally struggles to move the overall number.

    Second, the amplified gain at high concurrency comes from queueing and batch scheduling. As concurrency rises, the server merges multiple requests into batches, and both the number of cross-GPU synchronizations and the data volume per synchronization increase. Communication shifts from “negligible” to “critical path,” so a link improvement is amplified by the scheduler into dual improvements in throughput and tail latency.

    Third, concurrency contributes far more than the interconnect. Going from a single request to concurrency 4 raises throughput by about 160%–170% (roughly 2.6x), at the cost of about 15%–25% higher per-token generation latency. This shows that the first priority for increasing inference service capacity is improving concurrency and batching efficiency, while the interconnect modification is a second-tier “nice-to-have” optimization.

    Fourth, the composition of TTFT deserves separate attention. It equals queueing wait plus prefill compute plus the first cross-GPU synchronization. Under high concurrency, queueing dominates, so any measure that reduces queueing and synchronization overhead will significantly improve the user experience.

    5. Engineering Recommendations

    1. Tune concurrency and batching first, then consider link modification. Set a reasonable maximum concurrency and batch size, and monitor queue length with alerting; gains usually appear fastest this way.
    2. Use P99 rather than the mean for capacity planning. Under high load, the mean hides queueing degradation; tail latency is the real constraint on the service level objective.
    3. Position the interconnect as a stability investment. Its core value is flattening tail jitter and making latency under high concurrency more predictable.
    4. Keep variables single. When comparing link options, always fix precision, partitioning strategy, and input/output lengths, otherwise the conclusions are not reusable.
    5. Establish a repeatable load-test baseline. Put the load-test scripts, dataset, and metric definitions under version control to make regression easy after each change.
    6. Watch memory headroom. The key-value cache grows linearly with concurrency, and insufficient memory triggers swapping, whose negative impact is far greater than link differences.

    6. Conclusion

    On dual high-end GPUs, a high-speed interconnect is an “effective but not decisive” optimization for inference: about 8%–10% for single requests and 13%–15% at high concurrency, with significant improvements in TTFT and P99. What truly determines service capacity is concurrency and batch scheduling, which can deliver about a 2.6x throughput increase. In practice, prioritize concurrency optimization and treat link optimization as secondary, and use tail latency as the core acceptance metric. If elastic scaling is needed, container platforms and general cloud services such as logging and monitoring can carry load testing and production observation.