AWS Parallel Computing Service now supports network topology-aware scheduling
AWS Parallel Computing Service (AWS PCS) now supports network topology-aware scheduling, which can place the nodes of each multi-node Slurm job as close together as possible in the Amazon EC2 network. For example, a tightly-coupled MPI simulation or distributed training job exchanges data between its nodes many times per step, so nodes that are many network hops apart can slow every step. Instead of every node in a queue looking equally close to Slurm, AWS PCS can tell Slurm where each compute node sits in the network, so the job can run on nodes fewer hops apart.
You can turn on network topology-aware scheduling for a queue with its Topology setting in the AWS PCS console, CLI, or SDK. After each compute node launches, AWS PCS can read its network position from Amazon EC2 and pass it to Slurm, so you don't have to maintain topology data yourself. AWS PCS can keep the topology current as compute nodes scale in and out, and your jobs need no changes. You can turn it on for a running queue without affecting its jobs.
AWS PCS is a managed service that simplifies running and scaling high performance computing (HPC) workloads on AWS using Slurm. You can build complete, elastic environments that integrate compute, storage, networking, and visualization tools, and the service manages cluster updates and provides built-in observability.
This feature requires Slurm 26.05 or later and is available in all AWS Regions where AWS PCS is available. For the most precise placement, use instance types and Regions that support Amazon EC2 instance topology. To learn more, see Network topology-aware scheduling in the AWS PCS User Guide.