NCCL Tests Keyboard Shortcuts

Complete NCCL Tests keyboard shortcuts and commands reference — 13 shortcuts across 3 categories. Quick reference cheat sheet for Windows & Mac.

About NCCL Tests

NCCL Tests is a popular GPU collective-communication benchmark suite used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.

This page covers all 13 NCCL Tests shortcuts across 3 categories: Collective Benchmarks, Flags & Multi-Node, Diagnostics. Each shortcut includes a description to help you understand when and how to use it effectively.

Collective Benchmarks (5)

ShortcutActionDescription
all_reduce_perf -b 8 -e 128M -f 2 -g 8All-reduce testBenchmark all-reduce bandwidth on a single node with 8 GPUs, scanning message sizes from 8B to 128MB.
all_gather_perf -b 8 -e 128M -g 8All-gather testBenchmark all-gather collective bandwidth across GPUs.
broadcast_perf -b 8 -e 128M -g 8Broadcast testBenchmark broadcast collective bandwidth from a root GPU.
reduce_scatter_perf -b 8 -e 128M -g 8Reduce-scatter testBenchmark reduce-scatter collective bandwidth.
alltoall_perf -b 8 -e 128M -g 8All-to-all testBenchmark all-to-all collective bandwidth, the most demanding pattern on network fabric.

Flags & Multi-Node (5)

ShortcutActionDescription
-b sizeMin message sizeSet the starting message size for the scan, e.g. 8 for 8 bytes.
-e sizeMax message sizeSet the ending message size for the scan, e.g. 128M for 128 MiB.
-f factorStep factorMultiply the message size by this factor between each step; 2 means doubling.
-g nGPUs per processNumber of GPUs each process (rank) uses.
mpirun -np n -N ppn all_reduce_perf -g 1Multi-node runLaunch the test across multiple nodes via MPI, typically one GPU per rank.

Diagnostics (3)

ShortcutActionDescription
-c 1Check correctnessVerify collective results are numerically correct on each iteration.
-w nWarmup iterationsNumber of warmup iterations to run before timing begins.
-J out.jsonJSON outputWrite machine-readable results to a JSON file for automated analysis.
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful NCCL Tests keyboard shortcuts?

The most essential NCCL Tests shortcuts are: all_reduce_perf -b 8 -e 128M -f 2 -g 8 (All-reduce test), all_gather_perf -b 8 -e 128M -g 8 (All-gather test), broadcast_perf -b 8 -e 128M -g 8 (Broadcast test). These cover the most frequent actions and can significantly speed up your workflow.

How many keyboard shortcuts does NCCL Tests have?

NCCL Tests has 13 keyboard shortcuts across 3 categories on shortcut-tools.com.

How do I use NCCL Tests commands?

These are command-line commands — type them in your terminal or console. Combine them with shell history search (Ctrl + R) and aliases to work even faster.

What is the NCCL Tests shortcut for all-reduce test?

The NCCL Tests shortcut for all-reduce test is all_reduce_perf -b 8 -e 128M -f 2 -g 8. Benchmark all-reduce bandwidth on a single node with 8 GPUs, scanning message sizes from 8B to 128MB.

💡 Pro Tips for NCCL Tests Users

Start with the essentials: Learn all_reduce_perf -b 8 -e 128M -f 2 -g 8 (All-reduce test) and all_gather_perf -b 8 -e 128M -g 8 (All-gather test) first — these are the most commonly used.

Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.

Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the Collective Benchmarks category first.

Infrastructure tip: Bookmark this page for quick reference during maintenance windows when speed matters most.

Related Shortcut Pages

OpenMPI (mpirun) Mellanox / InfiniBand nvidia-smi (GPU) torchrun Slurm NVIDIA DCGM

Search 4,100+ shortcuts across 260 platforms

Explore All Platforms Practice Shortcuts