Introduction
Application Scenario
To test the functional correctness and performance of Huawei Collective Communication Library (HCCL) collective communication in distributed training scenarios, you can use the HCCL Performance Tester.
This tool supports only the network performance test of collective communication implemented based on the HCCL single-operator API.
Environment Setup
- The compilation and running of the HCCL Performance Tester depend on the CANN development kit (Ascend-CANN-Toolkit) and operator package (Ascend-cann-ops). Therefore, before using this tool, ensure that relevant CANN software packages have been deployed in the environment. For details about the installation, see CANN Software Installation.
- The source code of the HCCL Performance Tester is stored in ${INSTALL_DIR}/tools/hccl_test. Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.
Supported Products
Atlas 350 Accelerator Card
For the
For
Restrictions
- Atlas 350 Accelerator Card: HCCL Performance Tester supports a maximum cluster networking scenario containing 32,000 communication ranks.
Atlas A3 training product /Atlas A3 inference product : HCCL Performance Tester supports a maximum cluster networking scenario containing 32,000 communication ranks.AlltoAll and AlltoAllV operators: HCCL Performance Tester supports a maximum cluster networking scenario containing 8,000 communication ranks.
Atlas A2 training product /Atlas A2 inference product : HCCL Performance Tester supports a maximum cluster networking scenario containing 32,000 communication ranks.Atlas training product : HCCL Performance Tester supports a maximum cluster networking scenario containing 4,096 communication ranks.
Background Knowledge
The collective communication bandwidth refers to the "algorithm bandwidth", that is, the data volume/time consumed when a specific collective communication operation is performed.
For example, if the AllReduce operation is performed on eight devices on a single server, the data volume divided by the time consumed to complete the AllReduce operation is the algorithm bandwidth of the AllReduce operator execution.
When the HCCL performance tester is used for testing, the bandwidth data refers to the algorithm bandwidth.
The main factors affecting the algorithm bandwidth include the physical bandwidth of the communication link and the orchestration and implementation of the communication algorithm itself.