From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic309-13.consmr.mail.bf2.yahoo.com (sonic309-13.consmr.mail.bf2.yahoo.com [74.6.129.123]) by dpdk.org (Postfix) with ESMTP id 652772C52 for ; Fri, 3 May 2019 11:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1556876245; bh=haIZGSMONObZCRHQNZ7g0LngPZv9CaOu8Y0knGWwKW4=; h=Date:From:To:Subject:References:From:Subject; b=TBhLIfQ7aJzDOB18nSQwvgjoOacLyVJZAXpDBFkElK1B3Cl6Ht0mZQhMuyvQUGpSBuP3PxmmwfPPjvIIuF+hakGU0wZs+LmeISks6QGfn66Ow4Khtja1lx15tWeVqvpZqm9Eg/cTALnRpjS5Bc1bfAmd6fA9TuwKn293dYxj1MFqLgHhcjesUTY/WnvV4O6nlael+6XsMiAtCJ9OcQ/e1cQuxLgxdpXXoHvuRu5ULC+s0sg7Beb00nBc+Qwk7n3Wi2bF9YeAdMOQizsvg208/sNJ9zwzcJkcDId7nBgY6WoxCqdYS3pgkmVB4KmWo4ikKMn8qVVdScVsrEaJ5xH0SQ== X-YMail-OSG: dfnVNAcVM1kxsUJHVR9B9.2ndZAsOBH.hWDHjOAKwnHQztNHPU1X2sptAcM._iD 2ZROk0m11VeNoPehS08n9Qf4WsB_7Vxa_epqpdFslKkNl5i2Wnj_ZxXt3JwKS7PqvdINtP8y3KGa hRBUNNxt3N.8MAF2APutuWFSknYBUjbxSswBuR12bKrqjHu4JM8fICWS6HF6r8eol5_hCFnBLgqj CY3.7bZUYucfwdyJKu8ZjhCFVQCa2fqwNYHgu_xwqTZNwIhhbOgfxCEfuX_fFJMmB8e1x2Daqznp L8B2lf3t5RAuvWjSRAWKvvKDLo5yvykRUnwE79pGv2A2PuFxP7Wx8dv_IJZ3DGqmZnJdC2mN1Pkq SF1iiuTKqYTgS35XuAh4rSWeu79lwTY2NxVu0wHmv3V_HbpPmBG2ycKgiYZoiCZY8nhjRocpVLOs qi8OdRtgOGeoJzzzUJNRy0wwGcDHXnfiggcnJ8RdHzcyBHhr1sMQdXp71nODLHJGqO2OrmijCHEl 3iKkWmeQiwCEREM4dR6GL9C0FShA59e76a6y7pD9JjLJATZ_bhPYBPMtkLB75BDpr.dWAveMKB1j Nud5joWCpx392cR64PRe7f6BHq0_BMVYmLDVhE.3gWkqmnuEuMaWYUSFFpmxV.KdkKgMYZ2nGmIl TYb3oPDVWz.akDO9aetoC1FM9J2w7.AXmyeTpbldy7o9Gitnhz5Hpx.PSaAaaKCpDbPNy136NFzX erfBBUaLqyhM4gSsP6GKAsrUOo.9h_HsyYgqA0Rod55H2xlSxC4v.TpJC_PY89NOq11WJJ5Awh0u rBt_DgismKlymXpaRQ0L__JthhPuWftGFmpFCBC7_fsneCTH3MQarGPz.6.6s1ihT5dxO4erWxpE YyLGrE5UmFsnQGk4Bi6k.MTZ3s6LSPAoRF4_veQd.WT6UFUQ2z0iemtcFY4VCrWACEs0m4wutBgA zzygnZJ8cr2.IbtLweSoTrtNCc3fKOw53aFtn0FxAZpnC3FqHZMRIK5HLYNjiiU3zoi9KuEKMgGf 0pOPcRdyA7R75SVKayarUsgheYRoCLR4vgyIz0miuSvukD0p4vJLvP87T_XKgfJVzP0EUFUU4vJQ cXDylR4Oh6osGRp9lJMV_8cN3W.mnPxVy6Ro6_dKxogodpWGw2d3TO9GoqKWa3T7zWq5ZRtwkyJn 5U35fbRgl9JMBSMAs Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Fri, 3 May 2019 09:37:25 +0000 Date: Fri, 3 May 2019 09:37:22 +0000 (UTC) From: P Smith To: "dev@dpdk.org" Message-ID: <899934402.3791304.1556876242992@mail.yahoo.com> MIME-Version: 1.0 References: <899934402.3791304.1556876242992.ref@mail.yahoo.com> X-Mailer: WebService/1.1.13554 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Memory footprint of a PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 09:37:26 -0000 Hi,=C2=A0=C2=A0=C2=A0=C2=A0 Given that a dpdk driver uses rte_malloc_xx() a= nd friends to allocate/free its memory what is the best way to find out the= runtime memory footprint of a PMD ? One can use 'malloc_info' to dump the = malloc output in case of general 'malloc' ...but what is the way here since= it's all hugepages ? How to know the memory /footprint of my testpmd /appl= ication at different points during run-time?Is there a tool or some API i c= an invoke to find out the same? Thanks=C2=A0P From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6A1D8A0AC5 for ; Fri, 3 May 2019 11:37:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A4AA231FC; Fri, 3 May 2019 11:37:27 +0200 (CEST) Received: from sonic309-13.consmr.mail.bf2.yahoo.com (sonic309-13.consmr.mail.bf2.yahoo.com [74.6.129.123]) by dpdk.org (Postfix) with ESMTP id 652772C52 for ; Fri, 3 May 2019 11:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1556876245; bh=haIZGSMONObZCRHQNZ7g0LngPZv9CaOu8Y0knGWwKW4=; h=Date:From:To:Subject:References:From:Subject; b=TBhLIfQ7aJzDOB18nSQwvgjoOacLyVJZAXpDBFkElK1B3Cl6Ht0mZQhMuyvQUGpSBuP3PxmmwfPPjvIIuF+hakGU0wZs+LmeISks6QGfn66Ow4Khtja1lx15tWeVqvpZqm9Eg/cTALnRpjS5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mpFCBC7_fsneCTH3MQarGPz.6.6s1ihT5dxO4erWxpE YyLGrE5UmFsnQGk4Bi6k.MTZ3s6LSPAoRF4_veQd.WT6UFUQ2z0iemtcFY4VCrWACEs0m4wutBgA zzygnZJ8cr2.IbtLweSoTrtNCc3fKOw53aFtn0FxAZpnC3FqHZMRIK5HLYNjiiU3zoi9KuEKMgGf 0pOPcRdyA7R75SVKayarUsgheYRoCLR4vgyIz0miuSvukD0p4vJLvP87T_XKgfJVzP0EUFUU4vJQ cXDylR4Oh6osGRp9lJMV_8cN3W.mnPxVy6Ro6_dKxogodpWGw2d3TO9GoqKWa3T7zWq5ZRtwkyJn 5U35fbRgl9JMBSMAs Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Fri, 3 May 2019 09:37:25 +0000 Date: Fri, 3 May 2019 09:37:22 +0000 (UTC) From: P Smith To: "dev@dpdk.org" Message-ID: <899934402.3791304.1556876242992@mail.yahoo.com> MIME-Version: 1.0 References: <899934402.3791304.1556876242992.ref@mail.yahoo.com> X-Mailer: WebService/1.1.13554 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Memory footprint of a PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190503093722.FJ4OfGmIkJdeFoRrPJzeSUbrzXoYDtYr_y5zUBfmFjo@z> Hi,=C2=A0=C2=A0=C2=A0=C2=A0 Given that a dpdk driver uses rte_malloc_xx() a= nd friends to allocate/free its memory what is the best way to find out the= runtime memory footprint of a PMD ? One can use 'malloc_info' to dump the = malloc output in case of general 'malloc' ...but what is the way here since= it's all hugepages ? How to know the memory /footprint of my testpmd /appl= ication at different points during run-time?Is there a tool or some API i c= an invoke to find out the same? Thanks=C2=A0P