How Do I Improve the UDP Packet Performance for x86 EulerOS 2.3?
Scenario
The iperf3 tool is used to test the maximum UDP bandwidth (1440-byte packets) and PPS (64-byte packets) with 0% packets lost. To acquire more UDP bandwidth and PPS, perform operations in this section.
Procedure
- Log in to x86 EulerOS 2.3 in SSH mode and switch to user root.
- Run the following command to back up /etc/sysctl.conf:
cp /etc/sysctl.conf /root/sysctl.conf_bak
- Use vim to append the following content to /etc/sysctl.conf:
net.core.wmem_default =21299200 net.core.rmem_default=21299200
- Run the following command to make the configuration take effect:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.