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 qperf 0.4.9 to qperf 0.4.11 or later.
This tutorial describes how you can 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.
Procedure
- 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
- 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.
- Run the following command to install the dependency:
dnf install gcc make automake
- Go to the qperf-0.4.11 directory and run the following commands in sequence for compilation:
./cleanup ./autogen.sh ./configure make
- 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 from 0.4.9 to 0.4.11.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot