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 7D458A034C; Sat, 26 Mar 2022 10:46:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25539410F3; Sat, 26 Mar 2022 10:46:51 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 454004014F for ; Sat, 26 Mar 2022 10:46:50 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9830D3200A6A; Sat, 26 Mar 2022 05:46:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 26 Mar 2022 05:46:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=ifmcXN/TQ0GCaZ Rb/78USx2vfIq3yQ/Ii/uJHE674/c=; b=KyqaWevvSDqj51FhfIjcVOylvTTP31 ktZWii1tK1VtlCJLOBrQQPJ3crEVfjjHTXAklbfStrM1B8eZTtezgE3lJx0BBoqK lSZyPN9pe9gkUiymfs8aAEjM4xB/+33aoqI78m5NjsbNNDb5xwwrQdtQyh1dCKvC sYa2RKvZfkydVMJM4simhaf2HW0YTNDdN9oYB/i/48iHkbBSOlDbwPejJOdnaEaZ 8vTXG3fZ3GI7LzuMFDJAa84KYJvpGXoluNYCNmPT8ShcaBma4AAFhSl76NvfvpZN ovX4RHcMueihJLMRZfcu+87/JzHKw04UKFajOuhcXvcC8WVud962WG4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=ifmcXN/TQ0GCaZRb/78USx2vfIq3yQ/Ii/uJHE674 /c=; b=Ae5QQBqlB067meAITcKPySGnQIokTMRg4Rni87+Misu3ktADafQUT4ECr eqv0FHMmRzaTOeBpS+m4PYnuivRxFdrWjf+NRjdvu6tKwoJjrC5aruuuRmtmwOOY 0OBwYmod433yTVlUTlTsAOWiK5dgSRTuqbcmRyaNTL9UUIilzmbqZHcFpFWINk+/ eYa7VUvwR2FgApQ9/KX29r12IjIZE4uCDmflKyic8xIuN7u9Ilx27xDbH8Bd7FDe mfosVMuCCh3Zp6Kt/8BYo3j471KI10PFALbzeW292NQleJ98uyz9yIaMOFoNjPub KSCp2ummbETOXr7fNeVca7PRamC5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehfedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Mar 2022 05:46:47 -0400 (EDT) From: Thomas Monjalon To: Vipin Varghese Cc: david.marchand@redhat.com, sivaprasad.tummala@amd.com, dev@dpdk.org Subject: Re: [PATCH] usertools: enhance logic to display NUMA Date: Sat, 26 Mar 2022 10:46:46 +0100 Message-ID: <3129842.AJdgDx1Vlc@thomas> In-Reply-To: <20220326073207.489694-1-vipin.varghese@amd.com> References: <20220326073207.489694-1-vipin.varghese@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 26/03/2022 08:32, Vipin Varghese: > enhance python logic to accomadate NUMA information. Current logic > considers physical socket with CPU threads to core map. With new > AMD SKU vairant NUMA is no longer same as SOCKET. Single physical > socket can be partitioned to variant of 1,2 and 4. > > The changes address the new mapping with Socket-NUMA to CPU cores. > > Signed-off-by: Vipin Varghese > --- > usertools/cpu_layout.py | 76 +++++++++++++++++++++++++---------------- > 1 file changed, 47 insertions(+), 29 deletions(-) Honestly, I'm not sure it is a good idea to keep this script in the DPDK repo. Can it be replaced with hwloc usage? What is the output on the new AMD SKU for this command? lstopo-no-graphics --merge