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 5E211436D1; Tue, 12 Dec 2023 12:40:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 462D342E1A; Tue, 12 Dec 2023 12:40:05 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 685A442E18; Tue, 12 Dec 2023 12:40:04 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 38FC922D27; Tue, 12 Dec 2023 12:40:04 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] app/dma-perf: replace pktmbuf with mempool objects X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 12 Dec 2023 12:40:02 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F0BF@smartserver.smartshare.dk> In-Reply-To: <20231212103746.1910-1-vipin.varghese@amd.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] app/dma-perf: replace pktmbuf with mempool objects Thread-Index: Ados52UVqSeenmSpTM+vBPjQFeSbHAABnnjw References: <20231212103746.1910-1-vipin.varghese@amd.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Vipin Varghese" , , , Cc: "Thiyagrajan P" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: Vipin Varghese [mailto:vipin.varghese@amd.com] > Sent: Tuesday, 12 December 2023 11.38 >=20 > Replace pktmbuf pool with mempool, this allows increase in MOPS > especially in lower buffer size. Using Mempool, allows to reduce > the extra CPU cycles. I get the point of this change: It tests the performance of copying raw = memory objects using respectively rte_memcpy and DMA, without the mbuf = indirection overhead. However, I still consider the existing test relevant: The performance of = copying packets using respectively rte_memcpy and DMA. So, instead of replacing mbufs with mempool objects, please add new test = variants using mempool objects.