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 2089942D12 for ; Wed, 21 Jun 2023 10:18:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1381D42BAC; Wed, 21 Jun 2023 10:18:10 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 723CE40DF8 for ; Mon, 19 Jun 2023 18:55:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HCfH6ZbxB52/UHOwHnXarjdCoOjFhkLeBsK7dqNwLyNUxvX3fbwZo7B0qDuNnvNn4Yn84RwFGPkzK3VMp+J+IJlBL71HehAFFDxgr93cRFsy+9KOZIFsrf6UtzIAPTIN/UmNrtBqNiXcBZ53+LNnk7qI8WUKiVwqwD5G7dgtwJ0itcfza4B3d6jA0BTsvFXQXyY+YOqQCufjYMR9GUEu4WNi2gszrsCf/akv23xDnHeFsKquZmADO1UYV1xqLlgKneipT+fj2+MQs7KM73MIVYIi+XnttUImFmY2FIzfn/XILMIK1+pJP0b3AVIGqSaqOOVksJaCb9zhi96Di1ARCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BGMj6u79Kg+xBkZa05cilCte/04AonmzfELbreqAYDw=; b=KRpmW+aKVrBPFpWkUfVT23FurqeFOA9AKB6rwHLEBgWkTm1RlLIEBzQj7trvPkxnmlQS+jf6c1Mpn1p/G2QawnOfzAV+5OtTltmwliWWFyeOMdHVPEisRf0D5RAwqGuDLg41i+sKzC5VoeK8/BZg2859aFmq255G9m9gQZjw93p+YTWEz/tIkl7FCnC3USABR1k1zce7cyphHsDc258yrGg1p30+vasorz2Kz7Qt3HVN7VwlCiUkRB0DWWsQ+8o7WXmY7BQ+gArfM3EHaS1m8Je5iF0AiwoGAL5xJk6Pqr8XYfNJEOv3uxVzz4ZhfrgafyS1gjbvqzrMiUYIQNFpsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ampex.com; dmarc=pass action=none header.from=ampex.com; dkim=pass header.d=ampex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=DeltaInfoSys.onmicrosoft.com; s=selector1-DeltaInfoSys-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BGMj6u79Kg+xBkZa05cilCte/04AonmzfELbreqAYDw=; b=m4EUNuKFjg+BWsx5Q8d0CbM/LmadIUL5Hyp7Nn89lyBlm1XzKIi6q0SV1RYm63qVn+zl7tgGZo1GPG2K+s3HhdUjMOGWZdwpRNgiXpzJCuFFi46p8XtEpbt8Sy+0V7DhSJqsPmgi6IlSJMBlnVo4DRAv/1xtCW6dRqtFXGmlQD1uuMSRuAMls9JdZxaOJTpUUIKjcV91+ZMpJyG63932lXY4AB81aUbnVD7J69vRMRQBqtngV3Vin8JSVnQOq+nTzM3RJ5StqofFzroSLfQtXDcJYLszjQJJI/IOuroMnDUIQsi+MtAuc1tod6Wf16ZAebL+nqpzJZZAX7y7x8RlzQ== Received: from CH3PR20MB6218.namprd20.prod.outlook.com (2603:10b6:610:129::9) by SJ0PR20MB5256.namprd20.prod.outlook.com (2603:10b6:a03:47e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Mon, 19 Jun 2023 16:55:26 +0000 Received: from CH3PR20MB6218.namprd20.prod.outlook.com ([fe80::6d50:13c0:e5f6:194f]) by CH3PR20MB6218.namprd20.prod.outlook.com ([fe80::6d50:13c0:e5f6:194f%6]) with mapi id 15.20.6500.029; Mon, 19 Jun 2023 16:55:25 +0000 From: Gilbert Carrillo To: "users@dpdk.org" Subject: DPDK DMA Packet processing slow Thread-Topic: DPDK DMA Packet processing slow Thread-Index: AdmiztIvdR+Fob+qTryxI5UCWQezyg== Date: Mon, 19 Jun 2023 16:55:25 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ampex.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR20MB6218:EE_|SJ0PR20MB5256:EE_ x-ms-office365-filtering-correlation-id: 458583a5-a982-4136-893d-08db70e5fa98 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I/ka1rNs5ZTNGvEk9nynWPCtucXaixKst1dvTtlKF1D4tAt2qvIae9WKhmIc9mydl2+Ae+BsciFMi4me97hatN2ftYTsxq5uQSTUp76pF6Bkca8p6aRlEwlNhAA2j0aRcBC5sjtjMKUikKGJd8pKWWegooEnxqOy8QaXY38Gl+ZsCATlOSEjhBZgrfWWkTc7veMMYZwxxsqUmORKDigNZF06yDX/nzJ6CfVnHAeD+bcr3+tKQKBZFUs5cTJwa1bh9b0HaxRY4ZsShlR5LmP3McZN1qJl8Hyzw7xR7fs4f1E9pk8T/K76vN5T5rva0PkWeR6vj7QEEuZSAZg0hK5bJxbdaOZIoJeYDunH4K500N6OG32kBunY0mpvqkk9BkWgjXiuGiVH4C3dRogNGG1AkAuuuaqpDFySuMZplHKHeXS6nYlu4d/lMOJRzGtxx85b2wT7VzMIpKeDt6Af7iuvBxv9P0P16QviEoEAEZ4nSzn9LN8FnatE9rZ2/wTVVSAgFicH/jAmqaFxmVu48EGnYuWLW9YAXsFXpxTT9QI4B0SCQvs3/jnzOABL7zN5oi8C8sA3o3q7JyoWZfK3xBNAV2+QWlEAiNkLj9i3ttxmmD+SNMRya7weMnAiXikIZKu3 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR20MB6218.namprd20.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(376002)(366004)(136003)(39840400004)(396003)(451199021)(2906002)(86362001)(7696005)(478600001)(4744005)(38070700005)(33656002)(6506007)(71200400001)(316002)(64756008)(66556008)(66476007)(6916009)(66446008)(66946007)(5660300002)(8676002)(41300700001)(9326002)(8936002)(52536014)(55016003)(76116006)(122000001)(38100700002)(186003)(4743002)(9686003)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+fbx+gJOo+gQr6Lh+NnSHec8jrLi08uxSR5DZ4QOQh1Ak2mx21Q7vTArWFJu?= =?us-ascii?Q?uWoI/WrpH7ZwU5sNe8/2PyU3xmeru8RyWlyWlyjqhm/+rvwnv418vqCenOvh?= =?us-ascii?Q?h4lSyHJdf2oCBP8Dvk2H2Vqz+YjnEOcv+pdudkz87ab6XPBsnbeCQRy92i/x?= =?us-ascii?Q?gH9PdzlDu0pFsWFRWtO1uf7mq9j93FXAFiZTeEn49EFn6jZkm4pJZjS567nT?= =?us-ascii?Q?9pKw2E4k5sH4Rgz+dXRZDb5khvxeETFdVzvmClcp6NSMBUY68j3XQfgsFpB3?= =?us-ascii?Q?VAhiFy6DhZSkhUZrShyv8oZQWK/T/O4qiSDMMEerLHX52Aj3FtZgp4oxcr22?= =?us-ascii?Q?4GdZ4Nt/ldYtT0vt2soAaKrQlgVjzZgLeajmbMurbSAeivKX7ckzLZhs2AtS?= =?us-ascii?Q?R1lySw+AzgtWGPJtHm4+UR1LADuaA7hFc5g7//cRHEvzFhw4Vo3fXZBLNFqK?= =?us-ascii?Q?kvG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9I5YhKZ1XArkXgzS7S9g9k5p51yXXHyVlnB?= =?us-ascii?Q?mNfdQrJiZ4Q1aOn3D1za5lhuv6F1IcRwVULI/9D8lyJddOQdJczigbrhQR8l?= =?us-ascii?Q?w6S0OAJQm5HA/TYbVNppe73bLrfWZtlyHACF0r5KluOhxdp/HPy0sYaxcyet?= =?us-ascii?Q?S8SGTC+ietYfniFYdAKi2RUhf3f0E9ZVI1zBLZRCqhxt6VDCDSSlx8/9sSSx?= =?us-ascii?Q?XVEUGYGVoOOj9PJSlr8=3D?= Content-Type: multipart/alternative; boundary="_000_CH3PR20MB6218986EBF9B727819833271B75FACH3PR20MB6218namp_" MIME-Version: 1.0 X-OriginatorOrg: ampex.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR20MB6218.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 458583a5-a982-4136-893d-08db70e5fa98 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2023 16:55:25.6953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f19deace-5d78-4e17-894b-8b30e355df0b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9bUtfBjvZdCU4WbxTuX06HjeL8ddaVF+u7DA7I/VhqqfW1sy/G9NJFsgQLE+wTprNj4ZkqCRz5qYz0aOD/gJ+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR20MB5256 X-Mailman-Approved-At: Wed, 21 Jun 2023 10:18:09 +0200 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 --_000_CH3PR20MB6218986EBF9B727819833271B75FACH3PR20MB6218namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I am having some issues with DPDK and directly DMA'ing into a buffer and I = was wondering if you could provide some insight on my issue. I am using an = Alpha Data 9H3 FPGA, and I want to constantly be reading all the packets it= is receiving. Currently, I set up the DPDK environment, initialize and set= up the port and rx queue, get a burst of packets (128 at a time) and I publ= ish the packet to my file system to write. I can successfully do all of thi= s however, it is extremely slow, I can only publish about 1.4 millions pack= ets in a min (5.7 GB). I am generating data at around 12GB/s and I wanted t= o receive all the packets and process them at about 10 GB / second. Without= DPDK using regular buffers and pools, I can achieve about 3.2 GB / second = or 47 million packets a minute. I believe I am not using DPDK correctly to = utilize its full potential? Any insight would be greatly appreciated. Thank= you! -Gilbert --_000_CH3PR20MB6218986EBF9B727819833271B75FACH3PR20MB6218namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I am having some is= sues with DPDK and directly DMA’ing into a buffer and I was wondering= if you could provide some insight on my issue. I am using an Alpha Data 9H= 3 FPGA, and I want to constantly be reading all the packets it is receiving. Currently, I set up the DPDK environment,= initialize and setup the port and rx queue, get a burst of packets (128 at= a time) and I publish the packet to my file system to write. I can success= fully do all of this however, it is extremely slow, I can only publish about 1.4 millions packets in a min = (5.7 GB). I am generating data at around 12GB/s and I wanted to receive all= the packets and process them at about 10 GB / second. Without DPDK using r= egular buffers and pools, I can achieve about 3.2 GB / second or 47 million packets a minute. I believe I = am not using DPDK correctly to utilize its full potential? Any insight woul= d be greatly appreciated. Thank you!

 

-Gilbert

--_000_CH3PR20MB6218986EBF9B727819833271B75FACH3PR20MB6218namp_--