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 81BBB46B27 for ; Tue, 8 Jul 2025 15:47:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20C8340673; Tue, 8 Jul 2025 15:47:13 +0200 (CEST) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by mails.dpdk.org (Postfix) with ESMTP id B5413402A0 for ; Tue, 8 Jul 2025 15:47:11 +0200 (CEST) Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-6fa980d05a8so48241966d6.2 for ; Tue, 08 Jul 2025 06:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1751982431; x=1752587231; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=EGcgSICOo1K8ASmK1rZusHY5RWqJurNTGnXvVl+42A4=; b=xJj1yAhW1cgVJkvDPd0n4UzkTE0FOmWh6lbRiANjGYnORYfYjvtdBcBTmHGouWZows +M+4Edh/dRnhKdPElP2nP6CQbmeVDHj/5qgvBSEiaRRW5D0903eQncucFm6Nofda4k2y 7triWG1fs6wXWHJfxLwyIXjwM6/qQWB7SdGvDPqaCS2GxmqLrNXVCuPm2CAOTHTcfNk9 ma/bpZ5tsRxN3Zvwci2HK+i/incXi5xt0B/ar5R/mAMXeB7OAI37NxA8et5lCh+ra3ch /x856HrtRRAWQTWnQ9dKuuopyz8UUvpNGW/vWWz0GilHhPPRj2OFbtGrIzHM16YDRrLO hm+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751982431; x=1752587231; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EGcgSICOo1K8ASmK1rZusHY5RWqJurNTGnXvVl+42A4=; b=S8gunW0B9tSRSC3TZtlx4OcXwq5xMU4LpAoSMIr/F3aqgS2+fNgCI5jcuHs2QUlFJ2 6K0v4ckINWtpmRB/Kisjrf+N46njCpH4Q44CjsvsFmfZUKvA+AQbh2yeoybG+ElK0LKx 4jbrwdDo9SjLeY3OqmrY27w8z/yI14wMdL3VvVj2KyWNzfqptAzaFTDpg2LVha4HsHbA m2ZIhDyDepS6wThtengWM09jaDfB2w6FFWUL3lPzFXey/dMxEuHMHceuN2vkF/OyvEv7 AJWdofXLhdFFKyFUSXHyG9R6Losr4pnW95Rm+0XBgGZc7OBztsKDQ8yzeTWcZENgdKxx FuRw== X-Forwarded-Encrypted: i=1; AJvYcCXzBSK5Ta125wvgVzDtObnwHQnHbpPswySagoTN/XJJBqfOIBELgqoAYcxaoHgtwTF/SWiixA==@dpdk.org X-Gm-Message-State: AOJu0Yy9QJyLIk7OKWviKJyRIojXJZ48wOfLYjhEnXtkH02VglLNk0/L p8L9PTfFVkE9aFDHRW+VhiVkL9nCJ389v3eAsiul9Y9NSE1w4Rj5aJfxp4iKwdHt0uo= X-Gm-Gg: ASbGncuCFSziYHytuL4bLG8oia73Xzrv4CatHmsYwOyexSXv2CO/mHvpNVelV0cglHW DnN2gkG0DD2F80lXrceVprgPIVKGJa1GZwqUYKhtaOoxIO82fcwLXd6f70nSZm4AiEdmZuftVJP AqM81ix44l98QQy7eL191zgDU0XiY+ZJrabzW/doXfOkrf+Usjy259FA+9O0lSwzIB8jYes/4vi rA6Z3C+A3woA+r3GSNpSqTzUOT8Zz5bAc5IG5YgPxM9jLMbcRGyZ5vs40+xvM7vH4TfGAQOYlXH nWpWaC/sdi8W+QnAqf5i/C54ctDvzH4JQUQpo15kSfhkNEIbQmzhmtt7FOfGTl2HdR6xsIXkPB0 aA+BOE/oENR273fhusd30wITOSiHG5jj+u9I1PMo= X-Google-Smtp-Source: AGHT+IGApD3WCzyW70Eg3tXJdmQ27ZowR+oS5xMGZR05sBu124HED+STx02mKOimrGy+SGLzVQbQ3w== X-Received: by 2002:a05:6214:3bc5:b0:703:d091:d941 with SMTP id 6a1803df08f44-7047db330f9mr53966436d6.45.1751982430688; Tue, 08 Jul 2025 06:47:10 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-702c4d510a5sm75434396d6.73.2025.07.08.06.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jul 2025 06:47:10 -0700 (PDT) Date: Tue, 8 Jul 2025 06:47:07 -0700 From: Stephen Hemminger To: "Lombardo, Ed" Cc: Ivan Malov , users Subject: Re: dpdk Tx falling short Message-ID: <20250708064707.583df905@hermes.local> In-Reply-To: References: <20250704074957.5848175a@hermes.local> <20250705120834.78849e56@hermes.local> <20250706090232.635bd36e@hermes.local> <9ae56e38-0d29-4c7c-0bc2-f92912146da2@arknetworks.am> <20250707160409.75fbc2f1@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 8 Jul 2025 04:10:05 +0000 "Lombardo, Ed" wrote: > Hi Stephen, > I ensured that in every pipeline stage that enqueue or dequeues mbufs it uses the burst version, perf showed the repercussions of doing one mbuf dequeue and enqueue. > For the receive stage rte_eth_rx_burst() is used and Tx stage we use rte_eth_tx_burst(). The burst size used in tx_thread for dequeue burst is 512 Mbufs. You might try buffering like rte_eth_tx_buffer does. Need to add an additional mechanism to ensure that buffer gets flushed when you detect idle period.