p2p-test

Measure GPU-to-GPU DMA transfer bandwidth for distributed training performance validation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dongg622/china-ai-chip-skill --skill p2p-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p2p-test
Source: https://github.com/dongg622/china-ai-chip-skill/tree/main/TIANSHU/p2p-test
Command: npx skills add https://github.com/dongg622/china-ai-chip-skill --skill p2p-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill measures the bandwidth and performance of point-to-point communication between GPUs, enabling performance validation for distributed training.

Core Features & Use Cases

  • Performance Testing: Conducts unidirectional and bidirectional P2P bandwidth tests between multiple GPUs.
  • Use Case: For a deep learning infrastructure with multiple GPUs, quickly verify inter-GPU communication speeds to identify bottlenecks.
  • Technical: Utilizes DMA-based data transfer to accurately measure GPU communication throughput.

Quick Start

Run the P2P bandwidth test by setting environment variables, navigating to the test directory, and executing the script to obtain performance metrics.

Frequently Asked Questions about p2p-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test GPU-to-GPU communication bandwidth for distributed training?

You can test GPU-to-GPU communication bandwidth by running a P2P bandwidth script that executes DMA transfers between multiple GPUs, yielding detailed throughput measurements to validate performance for distributed training environments.

What is P2P bandwidth testing and how does it work with GPUs?

P2P bandwidth testing measures point-to-point communication speed between GPUs using DMA-based data transfers. It evaluates unidirectional and bidirectional throughput to accurately assess inter-GPU communication performance for deep learning infrastructure.

Can I run unidirectional and bidirectional bandwidth tests between multiple GPUs?

Yes, you can conduct both unidirectional and bidirectional P2P bandwidth tests between multiple GPUs. The testing process utilizes DMA transfers to accurately measure communication throughput and identify potential inter-GPU bottlenecks.

Do I need to set up specific environment variables for multi-GPU performance testing?

Yes, multi-GPU performance testing requires environment setup. You must configure specific environment variables and navigate to the test directory before executing the script to obtain accurate inter-GPU bandwidth and throughput metrics.

Why does GPU distributed training experience communication bottlenecks?

Distributed training bottlenecks often occur due to inefficient inter-GPU data exchange. Running a P2P bandwidth test measures point-to-point DMA transfer throughput, helping you identify and validate communication performance limitations across your GPUs.

What's the best way to measure point-to-point GPU throughput for deep learning infrastructure?

The best way to measure point-to-point GPU throughput is by executing DMA-based P2P bandwidth tests. This approach provides detailed performance validation by accurately measuring data transfer speeds across multiple GPUs in a distributed training setup.