NCCL Tests Keyboard Shortcuts

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

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.

What Collective Benchmarks shortcuts does NCCL Tests have?

NCCL Tests includes 5 Collective Benchmarks shortcuts, including 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). See the full list in the Collective Benchmarks section above.

What Flags & Multi-Node shortcuts does NCCL Tests have?

NCCL Tests includes 5 Flags & Multi-Node shortcuts, including -b size (Min message size) and -e size (Max message size). See the full list in the Flags & Multi-Node section above.

Can I combine NCCL Tests shortcuts with other tools?

Yes — use My Stack to combine NCCL Tests shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Related Shortcut Pages

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

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

🤖 Ask AI about NCCL Tests shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok