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 4141745822; Tue, 20 Aug 2024 11:08:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05ACC4026C; Tue, 20 Aug 2024 11:08:47 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by mails.dpdk.org (Postfix) with ESMTP id 7548A400D6 for ; Tue, 20 Aug 2024 11:08:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724144926; x=1755680926; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=dygFuX1qdoSh/I8Jqz76EQif0ZreVsYAMZGannhtk1w=; b=IP1T+5kfrPs0qW4KSRhjUVM9WFRs+E5gULxcbf16/ztfrTWXzpOb1pD4 q5l0EZHAJYgV4QsKI8ZvlaFeGlPv/sPgU2QSKmEb/AjdSt94e7/fVQeoE /OlJPTtg6WJF6wckd0RZNTPnjWUIg/JkuyTmm5XnhrceJpDvd8KrTTbAh M+2UUCoWHaeqOz3CfiED6rPX+g70Ou4qhMNctIIX83CUm0r2sj4JHAbh7 QsaB+RZW2nNL1SY6wte/nuiLSHg5KjDdTJhPM//fVQS4QXxcezhTLbMJZ m/pRq1Mmd6kJEOaTdsQBWnDsNafDvau2o9aQ9gqeMA+BwyCOrtlngNZfr w==; X-CSE-ConnectionGUID: kWa2hTprTlu7tCL7wAi2ow== X-CSE-MsgGUID: dVRoVhV4Rqut66YUA8UQrA== X-IronPort-AV: E=McAfee;i="6700,10204,11169"; a="22239400" X-IronPort-AV: E=Sophos;i="6.10,161,1719903600"; d="scan'208";a="22239400" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2024 02:08:45 -0700 X-CSE-ConnectionGUID: RguELDb9SqiInN86gCOcYA== X-CSE-MsgGUID: vGvkrOVwS7uXfB30dzlAuw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,161,1719903600"; d="scan'208";a="60643545" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Aug 2024 02:08:45 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 20 Aug 2024 02:08:44 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 20 Aug 2024 02:08:44 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 20 Aug 2024 02:08:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nDRet/ZP3YaGQsl/RkJpXoilCAQKGLGk21h44orI1H7mVnqxG+n9AOrnGMTbduqvzxhsIyHZqpLmi+O/DtEsTnFlTN4XPDUyTKTBCj0xJOtpm5j0n0dnjn58ym7B0SBOfRLz/a6hfoVebPGt2RH/LMdLCOy7qwDLiTJBnM3ynmnStlufN2+/0bmhfjmVQlhrsuaUCW/EVTIAdYyFPl1thy/XS4UNDJ2bOUA1ugwQj3/mnmoe8Jq7RZcVN/YdoP7jpgrC+KO8gB4wWj/lfwoi8OWwBueM1DapgnEK2QkytggXX6Vyptn+PtbKmpnj1I9igxAywgvO8t1mOqroWC26xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=w9mk5tcRYIjXY35llv2Ng4u5xug5bNAVjQKMTtVxRyE=; b=h4vGZ3EQWpfGlC6Iq+YhJfi3M9pMJc3ZoLTbw067wYOIJav0gXx5L9Icyn1MF1JO6hjc7K1dL86f8SJNSAr+DxW935iG89qMDf/dyc1EvmuqMusJkqIjS4WvGueWtzbA1498Z3vAqAIe5/2kD9WB7sihGbXVbg2MGo9HglZnlzvKF04gLTUoceY1qfvQKEbrgO8fLgH+v+HvgtQRvYrLvsUeRY3IAbtA62aR8esd/ItFJgVOQ1WsozRhZSFISmYdnUpF2p4wcdLX2YTwGxySjQcnOwd+oMidqXOV34M+QFxDlN07c8pFhwpXCNVDQ3R0Af/RmZiOR/IWuqls1ngJQQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7PR11MB6498.namprd11.prod.outlook.com (2603:10b6:510:1f1::21) by SN7PR11MB6678.namprd11.prod.outlook.com (2603:10b6:806:26a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.18; Tue, 20 Aug 2024 09:08:42 +0000 Received: from PH7PR11MB6498.namprd11.prod.outlook.com ([fe80::999a:425d:a211:5d30]) by PH7PR11MB6498.namprd11.prod.outlook.com ([fe80::999a:425d:a211:5d30%6]) with mapi id 15.20.7875.019; Tue, 20 Aug 2024 09:08:42 +0000 Message-ID: <7dd3a055-d2ce-4dd9-b9df-ae95e69d4417@intel.com> Date: Tue, 20 Aug 2024 11:08:35 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/4] usertools/dpdk-devbind: print NUMA node To: Robin Jarry , CC: References: Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0073.eurprd04.prod.outlook.com (2603:10a6:10:232::18) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB6498:EE_|SN7PR11MB6678:EE_ X-MS-Office365-Filtering-Correlation-Id: 290837c8-f382-44cc-b067-08dcc0f7aeff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Njg5ZTRCSHg4R2kzdFhPMlN3bW4xQjRCeStrNXRsenhXNTVYT2NhUDJxZFhS?= =?utf-8?B?ZXFEZ1dkaFdoWXQybzJuQ0JzRWJ5MnBsVGczT2ljeTUrTjB5MW8zSUhzZ21w?= =?utf-8?B?OGU5Z1k3N21TMEdmZmJGN0pidHQxZGFFbmFBdWgvNDFacU1qVVpXRy9Gcm41?= =?utf-8?B?aTQ0R1N1dFJSMjh5Ujl0R2tHMmNVS3dwZWd3Qm5VREp0QTRJRlNieWx2VTEr?= =?utf-8?B?WVptSXlyTmNxeTQ3OFpORU4zK3JHWHRkeVlWbTlhWHNFTUZMaW45NjlQNisr?= =?utf-8?B?TFNsMVpKYjY4L3NSZXlWamFZaHNpM0FZVFoveVo3ZGR4NXR1cFAveG1LVlo0?= =?utf-8?B?MDlERy9RdHQxSnFHQ0pGZGlHa096akxxbERQcE9RWFd2RVMzeVl1MXVja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mdFd1QyeFI3M1huVWs3UTQ3?= =?utf-8?B?Y3Q0cVhZUHVnM1g2TVQ2WS85NUx1amFIOFFmSmlRZitNcnhSN0VWN1JzMDJV?= =?utf-8?B?emtVZlhGQzZNS3NwUTVqMWZhZm1qRDdlR1FHWWp4aGxCR3BqNHpNdWtSaW04?= =?utf-8?B?cDhoUjVTSDhYek5hdkxHbjErb0ZicVVTVC9SbnQwcG1qTTBwY1FDa1NkN01E?= =?utf-8?B?cXYybWV5N25IZWVDdU1sa2FhVk81TlJHWEtaZXltaDBLTTRyUUs0dWU5ekY5?= =?utf-8?B?Yi81eTllNkFFUWJ1cktjT0ZGeGZVeWtiNUpMZWZmK29wZWsxUVB6L1VqOXdl?= =?utf-8?B?dExwcWhHYlc0VjM0TDAzY0gzcnN1NWE3KzBSMGZ3dXhXeWJ4a3R4TW1ZL3F0?= =?utf-8?B?S3dpUWpoNlBmRkV2RU1sWkJRbHBoK3g3Yms2WEpDdVhUMUFwb2t3THVWMVl5?= =?utf-8?B?Y1haTjc0NXVmNHludVJBWTRhbUp4ZHl1bDczQ2R2bkc2MTNYNlp2eGFnOHZV?= =?utf-8?B?RkphTmVzSlJOckFZRnAvQT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6498.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?enVYT2JVU1ZPSmF5c0Fac3pzamIvbDV0cDFVc2lTMjVrZFREVHJhaUdEMGVQ?= =?utf-8?B?UWNOOXNQWisyR2EyR1lXcEhGNHdWTjVtVTA1Sk5jQ25NM3VLbElGZEdhcE1j?= =?utf-8?B?V01rRUljajc0SnVEcjFQU0t1RTZHVUkwV01meloyQktuRW5Oc21xUUhOT3dW?= =?utf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DN2ZLdEo4cTVDQ2pq?= =?utf-8?B?SzBIYk5zQkV6cmdGL3FVamxZM2lycVp1Ympqa3NYWXU5QjZuS2IvV1FsK1JT?= =?utf-8?B?d2dWNGJUV2NCdWtVa1YvaEpXMHVnNEE5dHRSVGt6cE1leDJvMzlwWkd2SDlm?= =?utf-8?B?YXZ5UWdxdE9adWZqSWc0dk9Zc3QrbFFNR0VaSElBS0R0bmFTSzMxU0FTK3hZ?= =?utf-8?B?Nmc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 290837c8-f382-44cc-b067-08dcc0f7aeff X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2024 09:08:42.1321 (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: puJNlCXnOAv623eIhetqMwKnx8XhxVGmw2CLPhwneOUZyzybMMfSqIuRd0ocQXhWQ7eZ+sK1P0B3BsBn+mvPlIf7POrE2J8Yh4cfjK8J5vk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6678 X-OriginatorOrg: intel.com 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 On 8/19/2024 1:34 PM, Robin Jarry wrote: > Anatoly Burakov, Aug 16, 2024 at 14:16: >> Currently, devbind does not print out any NUMA information, which makes >> figuring out which NUMA node device belongs to not trivial. Add printouts >> for NUMA information if NUMA support is enabled on the system. >> >> Signed-off-by: Anatoly Burakov >> --- > > Acked-by: Robin Jarry > > NB: Although it is better than dpdk-hugepages.py, this script could also > benefit from a major cleanup as you did for cpu_layout.py. Rewriting this one would take a bit more time because unlike working with hugepages or sysfs CPU layouts, I'm not familiar enough with all of the specifics this script does, so I'd have to learn it more. I can try though, if you think it's worth the effort? -- Thanks, Anatoly