You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--efa attaches a single EFA interface (DeviceIndex 0); multi-network-card instances get a fraction of their fabric #661
Instances with more than one network card (e.g. c8gn.48xlarge, m8gn.48xlarge, m8gb.48xlarge, hpc7a/hpc6id, p5) expose one EFA per card; MaximumNetworkCards / EfaInfo.MaximumEfaInterfaces from DescribeInstanceTypes give the count. With one interface, a 2-card box runs on half its fabric, which for bandwidth-bound MPI (halo exchange, all-to-all) silently understates the instance.
Suggested: under --efa, attach MaximumEfaInterfaces interfaces, one per NetworkCardIndex (DeviceIndex 0 on card 0, DeviceIndex 1 on the others per the EFA docs), optionally --efa-interfaces N.
Constraint to handle: EC2 cannot auto-assign a public IP when more than one interface is attached. Today's single-NIC + AssociatePublicIpAddress works in a public subnet; with multiple cards the launch needs a private subnet + NAT/endpoints, or an EIP associated after launch to the primary ENI. (This is the same wall ParallelCluster hits via MultiNetworkInterfacesInstancesValidator; spawn could solve it better by associating an EIP post-launch.) Worth an explicit error/warning rather than silently using one card.
Another use case for this one: scttfrdmn/adit uses GPU-less EFA proxies (c8gn) that RDMA-write into GPU clients. For G2 it plans c8gn.48xlarge proxies and p5en.48xlarge clients, both multi-network-card types. A single EFA at DeviceIndex 0 would cap both at a fraction of their fabric, so multi-card EFA attachment is needed before those measurements mean anything.
Activity
scttfrdmn commentedon Oct 19, 2026
Another use case for this one: scttfrdmn/adit uses GPU-less EFA proxies (c8gn) that RDMA-write into GPU clients. For G2 it plans c8gn.48xlarge proxies and p5en.48xlarge clients, both multi-network-card types. A single EFA at DeviceIndex 0 would cap both at a fraction of their fabric, so multi-card EFA attachment is needed before those measurements mean anything.
feat(launch): one EFA interface per network card; Elastic IP for mult…
fix(launch): give every EFA interface a subnet (#661)
fix(efa): release launch Elastic IPs on every ending; preflight the E…
feat(launch): one EFA interface per network card; Elastic IP for mult…
fix(launch): give every EFA interface a subnet (#661)
fix(efa): release launch Elastic IPs on every ending; preflight the E…
--efa attaches one EFA per network card; Elastic IP for multi-interfa…