From: "Jingrong Chen" <jchendi@cse.ust.hk>
To: netdev@vger.kernel.org, nic-support@mellanox.com,
jzhangcs@connect.ust.hk, shuaa@cse.ust.hk
Subject: Problem of rate limit with VXLAN offload Mellanox ConnectX-5 NIC
Date: Thu, 28 Feb 2019 03:55:45 -0500 [thread overview]
Message-ID: <9554367f-5ed5-42f1-af77-c72534985f04@www.fastmail.com> (raw)
Hi all,
We ran into a performance issue when configuring the ConnectX-5 NICs to do both tc rate limiting and VXLAN encapsulation/decapsulation simultaneously.
Our test setting is as follows:
We have two servers, each installed one ConnectX-5 NIC. Each server runs one VM. We use ib_write_bw to let one VM send RDMA traffic to the other VM. The traffic priority is configured to be 3.
1) We configure tc rate limiting using command "mlnx_qos -i rdma0 -r 0,0,0,X,0,0,0,0" (i.e., limit the traffic rate to be X Gbps).
2) We enable SR-IOV at the NIC and follow the ASAP2 Hardware Offloading for vSwitches User Manual to configure vxlan encapsulation/decapsulation for the RDMA traffic.
Our test result is as below:
Rate limit (Gbps) Throughput (Gbps)
X = 40 19.09 (throughput only achieved half of the configured rate)
X = 60 28.66
X = 80 38.25
X = 100 47.77
unlimited 87.68
* Note that when only enabling tc rate limiting, there is no such throughput downgrade issue.
It would be of great help if anyone could help us to resolve this problem. Thanks.
FYI, our machines run Ubuntu 18.04, the kernel version is 4.15.0, CX5 firmware is 16.24.1000, and the driver is MLNX_OFED_LINUX-4.5-1.0.1.0.
Regards,
Jingrong
reply other threads:[~2019-02-28 9:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9554367f-5ed5-42f1-af77-c72534985f04@www.fastmail.com \
--to=jchendi@cse.ust.hk \
--cc=jzhangcs@connect.ust.hk \
--cc=netdev@vger.kernel.org \
--cc=nic-support@mellanox.com \
--cc=shuaa@cse.ust.hk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox