Help Center/ Huawei Cloud EulerOS/ Best Practices/ Compiling qperf to Support IPv6
Updated on 2025-07-29 GMT+08:00

Compiling qperf to Support IPv6

Introduction

qperf 0.4.9 in HCE 2.0 does not support IPv6. To use IPv6, you need to obtain qperf 0.4.11 or later from the community and then upgrade to the obtained version.

This section describes how to download and compile the qperf 0.4.11 source code in HCE 2.0.

Preparations

Prepare an ECS and assign a public IP address or EIP to the ECS.

Prerequisites

A yum repository has been configured. For details about how to configure a yum repository accessed over the Internet, see Configuring Repositories and Installing Software for HCE.

Procedure

  1. Run the following command to download the qperf 0.4.11 source code package:

    wget https://github.com/linux-rdma/qperf/archive/refs/tags/v0.4.11.tar.gz

  2. Run the following command to decompress the package:

    tar -xf v0.4.11.tar.gz

    After the decompression, the qperf-0.4.11 directory is generated.

  3. Run the following command to install dependencies:

    dnf install gcc make automake

  4. Go to the qperf-0.4.11 directory and run the following commands in sequence for compilation:

    ./cleanup
    ./autogen.sh
    ./configure
    make

  5. Verify the compilation result.

    The binary files obtained after compilation are stored in the qperf-0.4.11/src directory. Go to the directory and run the ./qperf –version command. If information similar to the following is displayed, the compilation is successful and qperf is upgraded to 0.4.11.

    Figure 1 Successful compilation