# Size an MPI transport experiment by connection count, not node count alone

> What should be calculated before applying Azure HPC guidance for smaller versus larger MPI jobs?

- Canonical URL: https://update.dsesecurity.com/updates/dse-20260909-036-size-an-mpi-transport-experiment-by-connection-count-not-node-count-alone/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-09-10T00:31:20+00:00
- Modified: 2026-09-10T00:32:00+00:00
- Last reviewed by DSE: 2026-09-09
- Resource type: Guide
- DSE priority: Information
- Topics: Business Continuity, IT
- Reading time: 2 minutes

## What you need to know

What should be calculated before applying Azure HPC guidance for smaller versus larger MPI jobs?

## Potentially affected

MPI workloads on Azure HPC VMs evaluating the source's transport-scaling guidance.

## DSE recommendation

Record the estimated connection count alongside the proposed MPI transport experiment.

## Article

## Source facts

Microsoft’s Azure HPC guidance estimates an MPI job’s maximum connections by multiplying processes per node by the square of the job’s node count. It suggests UCX_TLS=rc,sm for jobs below 256K connections and UCX_TLS=dc,sm above 256K connections. The source also emphasizes workload-specific tuning experiments rather than assuming an optimal configuration from VM selection alone. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/compiling-scaling-applications).

## Applicability

Use this planning check when scaling an MPI job beyond an earlier test. Record both the process layout and node count; a node-count-only label does not express the source’s connection estimate. The documented smaller/larger examples do not specify the exact boundary case.

## DSE recommendation

Record the estimated connection count alongside the proposed MPI transport experiment. Have the application owner compare the intended job layout with the transport guidance for its actual MPI runtime. Keep the runtime, transport setting, process placement and input workload together in the experiment record. Avoid carrying an old small-job setting into a larger run without examining that estimate.

## Verification

Rehearse the candidate configuration with an approved representative job. Check correctness first, then compare completion behavior and measured scaling against the prior configuration. Change one intended variable at a time where practical so an improvement or regression can be attributed. Retain an unsuccessful result as useful evidence instead of turning the source’s tuning suggestion into a claimed performance guarantee.

## Official references

[Microsoft Learn: Scaling HPC applications](https://learn.microsoft.com/en-us/azure/virtual-machines/compiling-scaling-applications). Source reviewed September 9, 2026.

## Primary reference

- Name: Scaling HPC applications - Azure Virtual Machines - Azure Virtual Machines | Microsoft Learn
- Authority: Microsoft Learn
- URL: https://learn.microsoft.com/en-us/azure/virtual-machines/compiling-scaling-applications
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Size an MPI transport experiment by connection count, not node count alone,” DSE Security, https://update.dsesecurity.com/updates/dse-20260909-036-size-an-mpi-transport-experiment-by-connection-count-not-node-count-alone/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
