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 7C485457FF; Tue, 20 Aug 2024 21:22:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0567540E12; Tue, 20 Aug 2024 21:22:11 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 1FFB440647 for ; Tue, 20 Aug 2024 21:22:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724181728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tw3eHq5Dc+NiYt4gde5gN6NEEInADy7U5z9+bvu15Yg=; b=KrIVXufRgCfrxNr2EI/AslUSH5rBjf5dwJmBzXfS5ioYQK0AAWwHtnQanmbsqupMXNvDHf mDRqR5qL4eKAargICUrw5u1yCL/g5AGvBh/7Wg+n+rrYAG9DlHFhwX4eFvcMERNkbEviL0 WFuxnZtKaoOgud0h4YIStx34y4gA4v8= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-547-N1KyU2k4MT26a_pmZQlz7A-1; Tue, 20 Aug 2024 15:22:06 -0400 X-MC-Unique: N1KyU2k4MT26a_pmZQlz7A-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4280291f739so49941705e9.3 for ; Tue, 20 Aug 2024 12:22:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724181725; x=1724786525; h=in-reply-to:references:user-agent:subject:to:from:cc:message-id :date:content-transfer-encoding:mime-version:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tw3eHq5Dc+NiYt4gde5gN6NEEInADy7U5z9+bvu15Yg=; b=e71n70zylZi/49UfAHvrd/ozxrWVug0eHejqKqE3oaWKX07cOhS135iynayrKxqja8 pwLn1HcmZ5Sa9RDQVR4aHRTRrANQ528Z4k1w9bZ6IP5mw7QVYc9V0lDgeeRiIDpEsKhh 1CjhTsDjlQLrf0OplC93lL0xuachESWG1Gg3x/q/6dFJ2YY8GrdYvM0O6UPro010J0Fy Htlh3cwXEU+wbt6uAxHX9Jo9WOjt44FwFIHcNJ4sJyXMsMK7SGl4p5KSTdfx0fB81z/B REAKzOIU0vkcbgDmZBoVvIhpqM8nxbLyfjs5urMrSSqkNHo9i/v29v8M/rfyWRA3R5qY oUwA== X-Forwarded-Encrypted: i=1; AJvYcCUjhU2//dhYrvqIlBLkdQRp6O2CRDgWCS1JSx55oDQle8zJUZQVQ65p41Fwkar+Rz/DF3M=@dpdk.org X-Gm-Message-State: AOJu0YyMpzaojU+CEUZ6sVKSE1Y8apAUmI8jySd4+aAJNatXLcdnRdj3 NA9kORSsYsD/SrThl2Tz8/FHbeM60BHxKF6l29nTM44herk5Q7mAqEjtekdSl1lhSlZ0MZeM8oH 1OAqu0XAZ1XktyBIxIUt2owh3tqM4zvLVNvzLetZW X-Received: by 2002:a05:600c:4f4e:b0:426:61e8:fb35 with SMTP id 5b1f17b1804b1-42abd117e05mr2615365e9.4.1724181725016; Tue, 20 Aug 2024 12:22:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDRASWKY4UhzTRJufkJayXPH7nONnSOX5cwM89nTt86ATNYDOczL42X6/G7aG3qRh6ZzsaTQ== X-Received: by 2002:a05:600c:4f4e:b0:426:61e8:fb35 with SMTP id 5b1f17b1804b1-42abd117e05mr2615225e9.4.1724181724496; Tue, 20 Aug 2024 12:22:04 -0700 (PDT) Received: from localhost (2a01cb00025433001b9f807167cdbf20.ipv6.abo.wanadoo.fr. [2a01:cb00:254:3300:1b9f:8071:67cd:bf20]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718984993fsm13752609f8f.31.2024.08.20.12.22.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Aug 2024 12:22:03 -0700 (PDT) Mime-Version: 1.0 Date: Tue, 20 Aug 2024 21:22:03 +0200 Message-Id: Cc: From: "Robin Jarry" To: "Anatoly Burakov" , Subject: Re: [PATCH v3 2/4] usertools/cpu_layout: print out NUMA nodes User-Agent: aerc/0.18.2-53-g11f57b5f3378-dirty References: <2e995fbdd90061cdee290262043b469213566bc4.1724168117.git.anatoly.burakov@intel.com> In-Reply-To: <2e995fbdd90061cdee290262043b469213566bc4.1724168117.git.anatoly.burakov@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed 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 Anatoly Burakov, Aug 20, 2024 at 17:35: > In traditional NUMA case, NUMA nodes and physical sockets were used > interchangeably, but there are cases where there can be multiple NUMA > nodes per socket, as well as all CPU's being assigned NUMA node 0 even in > cases of multiple sockets. Use sysfs to print out NUMA information. > > Signed-off-by: Anatoly Burakov > --- > > Notes: > v2 -> v3: > - Sort imports alphabetically Looks good to me, can you format the code for that commit as well?