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 D5E3245DCB; Fri, 29 Nov 2024 10:28:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 94413402AE; Fri, 29 Nov 2024 10:28:44 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id 180F64014F for ; Fri, 29 Nov 2024 10:28:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732872523; x=1764408523; h=message-id:date:subject:from:to:cc:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZxhMEhLN+nZJVUh2/4pPsJxsZEUx4yV4RWx+uu8blDI=; b=buNKkszBbZEWMzwJ/qiYoNAvjZg0s0bI/ZXQ91qPcsS9QDArYPMzzRff cwba2+2Dc+2H816c2nZt4I8tEys8eFx1gta3g+HqbbxU4nAi4LhWymnuV ydKjomSf/oxJZTNA+85sLOqIdTNLGu5q8m0dfkV0zetAsAtsNnil7bMiN gLsSscruxjtnxnGv8wZaTUrmDJ/wqsSt2KToIqn3UhwghS5sNow3Tfiar v8DAeuA5H3WiMn+NgXGTodhWBKC+lmaoFv+ixLT3H8HpVwo/5fPjig8IJ bO3Jgu9bA8+oNzwSD8w3h5ClZC8rXgqXdxgzJMmrWTIOfU8AaiTaTgaqX Q==; X-CSE-ConnectionGUID: 4e4h6qNES8W4YRYKf9+ZgA== X-CSE-MsgGUID: D7lf9fvVQwayqZ/UOJMUcA== X-IronPort-AV: E=McAfee;i="6700,10204,11270"; a="32474626" X-IronPort-AV: E=Sophos;i="6.12,195,1728975600"; d="scan'208";a="32474626" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2024 01:28:42 -0800 X-CSE-ConnectionGUID: rQAaeDmaQxC6nI96ojz5JA== X-CSE-MsgGUID: 50JY/vd1RuKPNfCWTbXuGw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,195,1728975600"; d="scan'208";a="92348388" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Nov 2024 01:28:42 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 29 Nov 2024 01:28:41 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 29 Nov 2024 01:28:41 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 29 Nov 2024 01:28:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vhzDptcJRT4QJlyGlub4QAvV0cWtY194jmzheflWLbYPmshIYKo+R66xmEo+4FZVGqUS59mAqvEE2N69+50b0cUMswS/ggSM3LKhqBgdeRDdGtt0tZ/4LzEwEP44NImqCE9vfPWUBc7MWN8Sq/ylzVNuTmr378L4xOHE+aR7mB21j/cp/TpwuaUXq4ZzVfvX49zoaZUbP2zVuz/ac8JI0Mt4j93QnIQcJNmvou30fLBJ8nGo/l+UA64UOMopsl1mOUtNtfReqWcjUmUQT762Ap/lIwaOdKGd5DRBjgpKlkfZyXqqBWk8zRN7pwjHY/6TzYsi4yv+8EvC7vBOfUm+gQ== 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=+QUl1xiyERQAsId16mPvVbGIwXNwZCnfbU3p3x1rpPA=; b=VqTW0PZcYn8O1QCUBqdCdrnVNBHwNTfi5VikCu4Z9U5W+mTmlUbCDY5/96SQjlYQRlzZ4cu9hHdnh0+3cGbRMKd9d5L4pufUPeuVW4Z94jzjA0GMh9wOtim1Zc8ydtpFnFWy4XQjrUDbYk9ZiP7TFMHC1UL+NCSLhlmQgSyOEBBriKz2J6IYpRaF4dBM3K9MpjxDQJa6Cyeu3BgA/Xn+p0hwu3GUpXzWVRMAVg51ANYHQlkK5SQ2YJOAkjc2DxcZUOfkIjF18WBr1/6G6ZWnOkRwJCR2NyGCeGyaQq+h3jqZylt7ZeYGB8LJJ1LnaZWFT8jv/Ufu8UbXPfdwKWLSxw== 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 DS7PR11MB6079.namprd11.prod.outlook.com (2603:10b6:8:85::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.15; Fri, 29 Nov 2024 09:28:39 +0000 Received: from PH7PR11MB6498.namprd11.prod.outlook.com ([fe80::999a:425d:a211:5d30]) by PH7PR11MB6498.namprd11.prod.outlook.com ([fe80::999a:425d:a211:5d30%7]) with mapi id 15.20.8207.010; Fri, 29 Nov 2024 09:28:39 +0000 Message-ID: <120a382d-77ff-4763-bb4c-30201235ab34@intel.com> Date: Fri, 29 Nov 2024 10:28:34 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/1] usertools/devbind: fix NUMA node display From: "Burakov, Anatoly" To: Stephen Hemminger CC: , Robin Jarry References: <9af1231398c4ba116d3b89164690feace37293a9.1732810125.git.anatoly.burakov@intel.com> <20241128092002.0ea4605c@hermes.local> <8263d4d6-37e1-4c0c-a86d-5cbd40916c8c@intel.com> Content-Language: en-US In-Reply-To: <8263d4d6-37e1-4c0c-a86d-5cbd40916c8c@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DUZPR01CA0264.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b9::20) To PH7PR11MB6498.namprd11.prod.outlook.com (2603:10b6:510:1f1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB6498:EE_|DS7PR11MB6079:EE_ X-MS-Office365-Filtering-Correlation-Id: ae51400f-6a1d-4aec-d632-08dd10583516 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?SmJseC9VZEViL2ZtV3RBT3lGbERzNFNPSzh5bjY5UGY0YjdrODVPOW1HQjlG?= =?utf-8?B?UkhKOWZkOHI0K2o4SVljc1ZUaWliTlE1REFkdjEvcHVwOXhZZzR4L3ZMOUxI?= =?utf-8?B?TmptRklpTDNiYWptNG1DNmNuSjFRWjlIT050SjNpNXhQa09NWHhET3lseWRt?= =?utf-8?B?ZFNhOUp6aFFBc0JVM1ZEbkliQ2k5RlBtYklJSExhU2p6QUIrTHR5SzU3SFV0?= =?utf-8?B?Z2UvMlZVemxWaVFBRXpTZzlCZ0w4NVVja0FDU1V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cWpBV1E4ZyswMm5oTkVDV2lyVzd5TVpheTlRWjRz?= =?utf-8?B?ajdlS0t0NlVmSW9uSGI4RSs0SlRYcTgzSlQxUFF6YnVoaXFTMW5wSVYwRG9q?= =?utf-8?B?SHRLL3dPZjQ3aDREeUNETDB3WExpS0d2OGg0R1F5VVVEUVVqVUJtY0hlVkFl?= =?utf-8?B?c0FGSEhpOVRXYXFSOVZ0b1ZmNGFlZkdmd0hzbGJvRFZCS3FTb2c4UXJUcE4x?= =?utf-8?B?djFoV2RLR0toUmkxYWMvM3RvcDBxSVJTaDRUNlV3elRZbjExM29jRS9JU0R4?= =?utf-8?B?Y2NyTGNvSldRckRKa3FnYUlPSVVKRkFrR01hcnNmTlFya0JSQThsbWwvSVhZ?= =?utf-8?B?YXBhMmJrTVpSRlFld0RQdFNpSVpSS2lNQkhNV2MvUEpBcGZWZ0w0QjhCbVJE?= =?utf-8?B?U3hSMVNiYmhRNUt1OWp6cFlCQXVqOVYrdVJuSEp0ZTBuODJKRWxxRmt6cEEz?= =?utf-8?B?ajB0MVk3bnNubDBCNDlkeHU2ejI4Q1pZcy9mUGg3ZGt6bjhpbHZsMlpZMS9W?= =?utf-8?B?VkJtUEZSVEE3TVN5RlprVXZVNVdXRm5iSjkzRjNzUk9EaGVTQWYxUEQ3OVYx?= =?utf-8?B?QzhZelNVckVURFpDT244bzU4eWFPMHE0NkRRYm1IanJUMW9GNzZuK1RBenZz?= =?utf-8?B?MUROeDlPQ21RYStsTllDdz09?= 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)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y0UwUEd2Y0k1aDhma0x4RWswOVhnOVEyeVNvYWFDNnNFTG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TcEhjUjNQdFhvRG15L29RRzl6Tk4rRldRZjYzM1ZyL0Q5?= =?utf-8?B?aDBzMGRNclo1RU1WR1h2eFJPL3lYT1NkbGJSNHBGZmplTWNaRlkzQmdXT2xK?= =?utf-8?B?cTl6bnpiWndmNnVwYm9WUGhGWDVCU2J0ZmdkK3MxMHFKenZaaTNmZXVLRzdZ?= =?utf-8?B?S0Zwc25BMmFhVmFHQU16UUJXVnhmQTlOZDRKMm44Z2VaOFBhNmtkeVk0Slps?= =?utf-8?B?MzNWTS8zWUpyaCs0bmQ3WmVjL0N4cGtxY0V0VFhySDVqbVU1aGppM0Y3WERr?= =?utf-8?B?VW9VMER3bEczV1BKN1pOOG5yVmNsSDNtMncwZmE3NlF1NDNkM3YzdXc1dWk4?= =?utf-8?B?T2c9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: ae51400f-6a1d-4aec-d632-08dd10583516 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6498.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2024 09:28:39.2624 (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: fG0EAveck8NqNSbLzIzOdoukRhBwQKQYhgdKcOrYCSndy8IK295OOkAGkJYJv56PjhFddxjx+jmzvL1qOcMNG/D+dBqMWq8Up+EDdfBqDMU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6079 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 11/29/2024 10:12 AM, Burakov, Anatoly wrote: > On 11/28/2024 6:20 PM, Stephen Hemminger wrote: >> On Thu, 28 Nov 2024 16:08:55 +0000 >> Anatoly Burakov wrote: >> >>> +    # occasionally, system may report NUMA support but lspci will >>> not, so we >>> +    # want to go through all devices and see if any of them do not >>> have NUMANode >>> +    # property - this will mean it is not safe to try to access it >>> +    for device_dict in devices.values(): >>> +        if "NUMANode" not in device_dict: >>> +            return False >> >> Any indication as to why this happens, what kernel, what device? > > We've had internal validation team report this happenning on VM's, > particularly ESXi. I did not dig deeper as to what particular > configurations cause this to happen, I didn't have a chance to reproduce > this myself. > I just reproduced this on my machine by disabling NUMA support in BIOS. I can confirm that /sys/devices/system/node exists in sysfs but lspci will not report NUMA node in that case. So, it probably applies to all kernels. -- Thanks, Anatoly