From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3D30A0093 for ; Mon, 28 Nov 2022 23:30:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9BFD740691; Mon, 28 Nov 2022 23:30:56 +0100 (CET) Received: from smtpbgeu2.qq.com (smtpbgeu2.qq.com [18.194.254.142]) by mails.dpdk.org (Postfix) with ESMTP id 3665542C4D for ; Thu, 24 Nov 2022 05:42:10 +0100 (CET) X-QQ-mid: bizesmtp70t1669264927tadf08pg Received: from localhost ( [223.72.80.72]) by bizesmtp.qq.com (ESMTP) with SMTP id 0 for ; Thu, 24 Nov 2022 12:42:06 +0800 (CST) X-QQ-SSF: 01400000002000B0V000B00A0000000 X-QQ-FEAT: PS/N6jJLnDb6Tu0un76lVr3pIW/a67k6iVzsGvFxk+muzaTfqgDDQxDgMn43E voPxvHGYZkDNyQLmLVnPSawy56xl3acAWZNkcxl4pmKTCznJ+rY9+jhJsHmdqIjTZBmWn4+ RRU8yIRr3t1NuMfZU+y4RrMExGDyGFX8e6zoQuoZM6XAZOFWCEsClwTvxcVJcLoufCjs00t y/r1EwR3SzTuGcB59+ZsZiMfKJpZ66RwW3GUk2pajQkpLqgX8iUHdA0bXDTcb/nagbonq/S i8sRRIA/MVGXxJ1/gHA+k8IUko4GNBvPSNFP/RHs+Mtx5sww711D+DApMVIHDC08LF9nShF SBv5Aaz2juI0Al2a7XnvKKMyhRZ4Ur56u2AonOud60YPdCrzcWeMNETxRe60JZdmC5qK9ed X-QQ-GoodBg: 2 Content-Type: multipart/alternative; boundary="----sinikael-?=_1-16692649263050.040030591483829925" From: Sun Yalou Subject: 82599ES 10-Gigabit NIC cannot at 10G speed for a long time To: users@dpdk.org User-Agent: Desktop Message-Id: <8eaf46e68801e.ec7ca303cc0d3@bupt.edu.cn> Content-Transfer-Encoding: quoted-printable Date: Thu, 24 Nov 2022 04:42:06 +0000 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:bupt.edu.cn:qybglogicsvr:qybglogicsvr7 X-Mailman-Approved-At: Mon, 28 Nov 2022 23:30:55 +0100 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org ------sinikael-?=_1-16692649263050.040030591483829925 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: 7bit Hi there,I'm developing a custom virtual switch using OVS-DPDK(v19.11.10). In order to achieve 10Gbit/s, I modified the OVS pmd mode from run-to-completion to pipeline. I used 1 thread as rx thread, 4 threads as worker thread and 1 thread as tx thread. it's a load balance archiecture. I found the forwarding rate can reach 10Gbit/s in first 2 minite, and then drop to 5Gbit/s . My traffic generator keeps send packets at 10G rate. I debugged and found that packet loss occurred in `rte_eth_tx_burst`, then it invoke `ixgbe_xmit_pkts_vec` -> `ixgbe_xmit_fixed_burst_vec` , in `ixgbe_xmit_fixed_burst_vec`it should be `txq->nb_tx_free` < `nb_pkts`, it means there is not enough TX descriptor to be allocated. I have tried increasing socket-mem when starting program and reducing the size of batch sent, neither worked. I wonder if i am missing something important? This question has been bugging me for weeks. Does anyone know this issue? Thanks, BR, Yalou ------sinikael-?=_1-16692649263050.040030591483829925 Content-Type: text/html; format=flowed Content-Transfer-Encoding: 7bit

Hi there,
I'm developing a custom virtual switch 
using OVS-DPDK(v19.11.10). In order to achieve 10Gbit/s, I modified the OVS 
pmd mode from run-to-completion to pipeline. I used 1 thread as rx thread, 
4 threads as worker thread and 1 thread as tx thread.  it's a load balance 
archiecture.

I found the forwarding rate can reach 10Gbit/s in first 2 minite, and then drop to 5Gbit/s . My traffic generator keeps send packets at 10G rate. I debugged and found that packet loss occurred in `rte_eth_tx_burst`, then it invoke `ixgbe_xmit_pkts_vec` -> `ixgbe_xmit_fixed_burst_vec` , in `ixgbe_xmit_fixed_burst_vec`it should be `txq->nb_tx_free` < `nb_pkts`, it means there is not enough TX descriptor to be allocated.


I have tried increasing socket-mem when starting program and reducing the size of batch sent, neither worked. I wonder if i am missing something important? This question has been bugging me for weeks.


Does anyone know this issue?

Thanks,

BR,

Yalou
------sinikael-?=_1-16692649263050.040030591483829925--