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 1F9E2A0543 for ; Tue, 6 Dec 2022 13:16:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E722440693; Tue, 6 Dec 2022 13:16:28 +0100 (CET) Received: from sonic314-20.consmr.mail.ne1.yahoo.com (sonic314-20.consmr.mail.ne1.yahoo.com [66.163.189.146]) by mails.dpdk.org (Postfix) with ESMTP id 697274021D for ; Tue, 6 Dec 2022 13:16:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670328986; bh=Eyl0iV07AKgTsoau5zxIJGhIIY27+6A1nqblStVghfo=; h=From:Subject:Date:References:In-Reply-To:To:From:Subject:Reply-To; b=hABx/chHqd+pUK1Ks234lAxe31tCz9lsuBx7d6WPOe4qINkNrV11E3LifxusgFBiqJrr1/I4STM5a61ABqvomx6aUz5coBecF8Jj4AQRIhSq4rGWq+OG/zbIZiDdI6jw0kgZHkxrV7m57mNusG2/TCQ/OjBJOOHX9ahhkG0E922AVelUIexlJoGvOGylTif1dC69nMYY/zWS8/DcJjY/MxCj4gQHDKM1gLp6pwtSvy4Me0o6GdCEr7iMio/k80LeHlZ8SN5Uu9A7cj5pgqvdgME8u96ze+3cRuA1bIC3O/UGKEigErgXA2dytm6L15jNpAadriK8/HavoeMrPhO00Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670328986; bh=EdlZLc17VS1Qak0GUwiOUqH8KnFdNIYW+C5u1TfK0UJ=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=blfvvTOTFM/TrZ3ci0LjnV+zlhss4FbXTkox/eAykK41UWlAArufcmQZgV+PfQ3QdkpLVejs9I3KMKD0DX9HLFAlKxagV3hbbLlmH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uN7FsJYqxyoE0ibCRC8j88dGB.brQxPgEU1xrg2E9glnBStNvpae1M4iyELTz8.a4Rzk2M2lRS Spu0MggU9k6NO6z0JLDsy8vU0g7LN4Lz8S4JfLcxXJGYzQsSySAkMT0hxVVKOsFe60WzUEJYogFr pAIRZjUiflMhAboUWp_AkRPUOaGO5tdyZsD8YHJpZuPMRdei0M4xdpvDD3JxdeKV.bmE7kSjb9mf 7D5TLuBBbvfbEQd6KW0P3r.k0IMf5NcWrc_rEXh3_jY5I5JMeflWAPf_iJQWDhhxgb2ExG_yePBe SWIgCj4jP6KSAJKfZca4gSrL6LzvWS3ft5LcR2.801EaGOjhRI20PcivoK2XbLNam.HDZCLjIPyY PsrwWe0ELCfNCRz9._q1PKR2aJg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 6 Dec 2022 12:16:26 +0000 Received: by hermes--production-ne1-7b69748c4d-ljcdv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fbdc7eb7636e69e3f5f9e8bffc8446f7; Tue, 06 Dec 2022 12:16:25 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: IraM Mime-Version: 1.0 (1.0) Subject: Re: How do you calculate DPDK mempool requirements? Date: Tue, 6 Dec 2022 07:16:13 -0500 Message-Id: <92C51315-3CB2-47A6-9BEE-4674C7665A35@yahoo.com> References: In-Reply-To: To: users@dpdk.org X-Mailer: iPhone Mail (20B110) 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 Sent from my iPhone > On Dec 5, 2022, at 12:39, Dylan Baros wrote: >=20 > =EF=BB=BF >=20 >=20 > How do you figure out what settings need to be used to correctly configure= a DPDK mempool for your application? I went to rough a similar exercise when I was playing around with packet ord= ering example. Here=E2=80=99s a rough formula I came up with. Comments are welcomed Total pool size =3D Sum of the following numbers=20 -RX queue size x number of ports -TX queue size x number of ports -Size of ring x number of rings -MAX_pkt_burstsize x number of threads since each does a read of that size