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 1028BA0C4B; Fri, 15 Oct 2021 10:28:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0D43410F1; Fri, 15 Oct 2021 10:28:48 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id A9F1B40041 for ; Fri, 15 Oct 2021 10:28:47 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10137"; a="214811749" X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="214811749" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 01:28:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="660415940" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga005.jf.intel.com with ESMTP; 15 Oct 2021 01:28:46 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 15 Oct 2021 01:28:46 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 15 Oct 2021 01:28:46 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 15 Oct 2021 01:28:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l6u3viMvJZQfIBy1KhoLyuAb8vL1jggHicG3D0HzEBVojqoC6aaSjKxpAsX1eo61akkM3XTmR3N3k15PXXEj0PNP40sRL7yZaYkQLa/ztUeVvIbwebRb4Fco+3J0lllXN8lbSHJxlcwJvVFAlaBsa8sUlzEe7czcKRY8ZaOjkWGiXcEHKx/Qoz+O1NOwiWGjRWEE/cG2+xOuGXiOsCcypzE1WA45iZS9aGLnhi86Sv70eG1PgMb12FDsdYn+Gcs6DB29Ke9C6RBKDCoV8OWvyy/f344rPc+KcQMvG2Y9lxQ+DW831DqLAehObcMoPyM9eAkW5t/iQj6RDsrcmKzeKQ== 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=zI7s0rXvWUAAjNfIKkbwCL0B9oAM18ysKagE2tQpv7g=; b=KWZpKYK2LxZhLmyr5TiJvNNPD4JDpYlZT+/zTBKAxZA5kEplmvqa90rBxulQfp8qFyyrS05nhGgAOoN2ASKJ19eu3DSTYxSRsutQK7PdWN3mAm05cNBVBQy8Pgg7FbYjchMCL3YgViiPffuHIMyxTqXKS1HlWI8M9KjA9BF0QkKPpC7F0189l3UOrmi0uLLqCUVcCH78iuLXK5ROSF9yb95PLxx3JQewUQMyBhBWRu/KBxuhnopYQMHH3FxW6AWTdIfw2jRswyue82gXhuwt6BOOQhnx2sDhcgsi1BQ6dxSoNumAsVMkwLFZ7oLuDuPpg5UN3ZEspVpdy5YomKN+NQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zI7s0rXvWUAAjNfIKkbwCL0B9oAM18ysKagE2tQpv7g=; b=Wddx8rdM07p25A0aPbMaRMatBBZRiVcPlfrzHYTHK30GUDvHVs2rAGBtff3dzscRhDwBT4ECWPenfKENYJ5PLdbWunESYvEQHczp2TC+ycpDcF3n+Dwc7EKDTFEgPCMiY9mcGG6Uu7Gx1aBlNMeLZIt+MNEZgBwI1rrl6dECjGw= Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by MN2PR11MB3549.namprd11.prod.outlook.com (2603:10b6:208:e9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Fri, 15 Oct 2021 08:28:43 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::304c:39f1:9d95:4ba2]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::304c:39f1:9d95:4ba2%6]) with mapi id 15.20.4608.016; Fri, 15 Oct 2021 08:28:43 +0000 From: "Power, Ciara" To: Harman Kalra , "dev@dpdk.org" , "Richardson, Bruce" , "Burakov, Anatoly" Thread-Topic: [PATCH v2] eal: add telemetry callbacks for memory info Thread-Index: AQHXvEI8k2aeNCaMB0KQ9hRe8ER3BKvSxjSAgAD+PkA= Date: Fri, 15 Oct 2021 08:28:43 +0000 Message-ID: References: <20210915095336.105635-1-hkalra@marvell.com> <20211008124407.24738-1-hkalra@marvell.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7657651a-f5c7-490b-16ff-08d98fb5cca4 x-ms-traffictypediagnostic: MN2PR11MB3549: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PoSr96IG/OWk7e9POM1QLeNGcE5ZqD7nwPxlGcXrIOr7Wa4bLtnL1RiQroodqB6QoSuOcntqEUacrpmREDJh/7XsfD0Anrs6MPJ8sMZ3rV70tDStJ2BVyYqDSVx6T/ghSkXPIFS6Gp7+IU63WpY8SOY81Z92FjUTxUaaW20XNO3zTHFoRTJ4xaMfVnGPtTI28uCGesE+caW3UdAdLrqrr/Q7ZJyOKb+Dx74uQNdyu8NfTfW72Hb9vX6rT4p9KTyWZGoyO4s8igiTXYaGWaBUbR4Xf7lIkjdNJ0l2LT1gOn2eB9ZDXOKOHCBZgIyOsUMShPc9wHcUFBDFu9UbZGZGiGqvkaBRYUaVJ//IuR2Ck1/KS7JB+V87ADxzuloNRg27XxGQQoUTJuMmoSgAzgOsdorCAy8J7tLcgOMAQO/deO2O5Tv4EiwvJZIuS9+UOm+y7y/EJJLA7awurWOWWv/mblYMZ+/lxI6vPbOq9d1CjNcEScsQovgOjPk4Qo0p5n2RPHDN25yGd9AqafzezqcydBJfUyL2PR0fQRKa/2Cpmy0cGt4uqVPynWMdlr9le0Q7JBmVl4UKdJkUyjH7c7CIPora476Yb9KelAUnl5IJ2zmd8G7v4UYiEzGwNO9PxE6rXN5DflJUcK7ftxW5s8ibAsesFTzNie5zZLmYLa0+KmkD58oyMwCZPEUKEW4xnfUn1GxFvCOOPlT4ImhDFFS7qg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(5660300002)(110136005)(8676002)(26005)(83380400001)(71200400001)(508600001)(2906002)(7696005)(86362001)(316002)(8936002)(33656002)(53546011)(6506007)(76116006)(38100700002)(66556008)(82960400001)(52536014)(122000001)(186003)(66446008)(6636002)(64756008)(66476007)(38070700005)(55016002)(9686003)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7Qdl1jz6ejP1nW3FqMx36vQ2zNI4+THEBRdgFtsMUNYKAKNpBnraGMa5sTOx?= =?us-ascii?Q?oxGONlOcyb39WgXDYXAbdUsPPxQXnf585UP8u8W4TWlY0dsQd/P06OqNLHgT?= =?us-ascii?Q?o3z4E7RR4ym0VwKtfgwaB14rLdUbdaFet3ISB9GMKjj0VTQWvk7nhQULokrc?= =?us-ascii?Q?QYfrs2IWKPdA1j/H4MpOp1Z2o7aAW1x/mxV5KJ4OvqLVzusaG7fQ/zYJ7MIU?= =?us-ascii?Q?emAA35Xr5Y++efjLkQly6mBQ4h+Ny4qEI+hc4TgeDRLnShb9JOiMp7wrYv22?= =?us-ascii?Q?Qd4HrSxukuzu/EChNyIjigYcqG8wjGGx36l8pjk6qcGYagSLqcd2iuzMGCyi?= =?us-ascii?Q?CYcD8X/H4oo18eOvC/w7hVv/Ekj9v+5YkVfQPgvX1iw2acoWkZbkwe2G9C0d?= =?us-ascii?Q?bfJRlbKfAQwKEHNZSDyb/2lN9GyByvRMXhnsF77pUFI4ay3x9ZddUuzcjrFO?= =?us-ascii?Q?mRJXIedZ7o6hvReYM09xcGgDU73n71SlBCeJvcxIRmOSCuyiIzQHUeC/HPZa?= =?us-ascii?Q?87atBkuKK25vuO6RZCmeIuL/2sBdPZYMz/LZwl1Uo3cZ1xNEuxfTvIxdlJPF?= =?us-ascii?Q?I72wFWhjb/9NCHjcHCrWs9c5FhDk6JhZISIxGB8/jyRb6upOWVl+PLN+EAzO?= =?us-ascii?Q?IjXZaGI1W0nlBEg4b5ZB/YsO+VoINMdExYZKcYzktv3Y1bS9YRhSWKsJlSuC?= =?us-ascii?Q?TMarzEJkiPcL2/16b4wZJhllREjoCJos4D8qksXKt7Xf0kTBGQjYTfMONFc6?= =?us-ascii?Q?5ynIESEy4fd53TDXDkqdc8yJI+xM6/pMVkFiwIvp8yp4wN+bwkGNUE68OZu4?= =?us-ascii?Q?ZbNEglrR2MF6wbQ+nN2MY/8m+ECZ/Pjay4Lw1K3sl06oxYsNxg7TlEjcBg9j?= =?us-ascii?Q?odlbxN4aJtjVlogy9j8Gv5mX/nkm7R4QjruN2Sn0PepKPc3EdRHkRSussFzG?= =?us-ascii?Q?jxS5hX7QVgSVlscwDaRE8g+PnwaRqw6m2MzZjFOVgxZnYbH11GAPfyKnQbrP?= =?us-ascii?Q?OreOvZomHOX0j3a/vz92ELYUKQy7rxCjfbSnWFXMgvHHhf11n4efRPYcxYt1?= =?us-ascii?Q?s2l+2uywex1Jx5tl7JwU611WDYd/tq9dXq7AiWw220e4F10d3+tTaAz7c3oK?= =?us-ascii?Q?p1fYt+szzGhn7wcA4G5o+2UYUYkk24GdHP+PZ2mq9HfRjDtfxr98s53KvQU+?= =?us-ascii?Q?oXlrq+kgEIVvP8Wfs9G6bveyEeMun1kh8o0ZaltEmuxSn6kLkxcQS50nwfAL?= =?us-ascii?Q?YNl2pu8cPGjZTLXqWhcn5X/CjChMaWpCm79QHWyRW4TzLRHjoUa8o0X0grRh?= =?us-ascii?Q?7hdRwIeNNaeH+qx00nhkB2Ee?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7657651a-f5c7-490b-16ff-08d98fb5cca4 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2021 08:28:43.2175 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fVLMi12PCUkXw86lLsEnjdq/FgGuP3CTBZnuDDFO8hoU7loG0xpkBMd75kzWv3nhEUtDcxakAR5FOcOLo7+Tnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3549 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] eal: add telemetry callbacks for memory info 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 Sender: "dev" Hi Harman, >-----Original Message----- >From: Harman Kalra >Sent: Thursday 14 October 2021 18:17 >To: Harman Kalra ; dev@dpdk.org; Richardson, Bruce >; Power, Ciara ; >Burakov, Anatoly >Subject: RE: [PATCH v2] eal: add telemetry callbacks for memory info > >Ping... > >> -----Original Message----- >> From: Harman Kalra >> Sent: Friday, October 8, 2021 6:14 PM >> To: dev@dpdk.org; bruce.richardson@intel.com; ciara.power@intel.com; >> Anatoly Burakov >> Cc: Harman Kalra >> Subject: [PATCH v2] eal: add telemetry callbacks for memory info >> >> Registering new telemetry callbacks to list named (memzones) and >> unnamed >> (malloc) memory reserved and return information based on arguments >> provided by user. >> >> Example: >> Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 >> {"version": "DPDK 21.11.0-rc0", "pid": 59754, "max_output_len": 16384} >> Connected to application: "dpdk-testpmd" >> --> >> --> /eal/memzone_list >> {"/eal/memzone_list": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]} >> --> >> --> >> --> /eal/memzone_info,0 >> {"/eal/memzone_info": {"Zone": 0, "Name": "rte_eth_dev_data", \ >> "Length": 225408, "Address": "0x13ffc0280", "Socket": 0, "Flags": 0, \ >> "Hugepage_size": 536870912, "Hugepage_base": "0x120000000", \ >> "Hugepage_used": 1}} >> --> >> --> >> --> /eal/memzone_info,6 >> {"/eal/memzone_info": {"Zone": 6, "Name": "MP_mb_pool_0_0", \ >> "Length": 669918336, "Address": "0x15811db80", "Socket": 0, \ >> "Flags": 0, "Hugepage_size": 536870912, "Hugepage_base": >> "0x140000000", \ >> "Hugepage_used": 2}} >> --> >> --> >> --> /eal/memzone_info,14 >> {"/eal/memzone_info": null} >> --> >> --> >> --> /eal/heap_list >> {"/eal/heap_list": [0]} >> --> >> --> >> --> /eal/heap_info,0 >> {"/eal/heap_info": {"Head id": 0, "Name": "socket_0", \ >> "Heap_size": 1610612736, "Free_size": 927645952, \ >> "Alloc_size": 682966784, "Greatest_free_size": 529153152, \ >> "Alloc_count": 482, "Free_count": 2}} >> >> Signed-off-by: Harman Kalra >> --- >From a Telemetry usage point of view,=20 Acked-by: Ciara Power