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 E22594582F; Wed, 21 Aug 2024 13:44:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3590410D3; Wed, 21 Aug 2024 13:44:04 +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 3AD9A410D0 for ; Wed, 21 Aug 2024 13:44:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724240642; 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=bPZDj+a5Okjz8TZ7qsStvR2ShtoFz9J/RCwR7aQP5j4=; b=PBXruBj1jhzz0pDINy24D7f3pE+xlbGW9JNPX1B+liJ3ltke86+jWksfhHHpDmVah35qjf M/TOVnX+o/TyJzTvxG94ZhnLUxG4MRZIwJEaP8J5ITE6upVr+bAHPa+2L7kOL6mxmuw4O4 KpJJa6Td2g8GyxhRyCU+utmteMbM1dM= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-119-qR2N2XhIPSONv17hniiQRw-1; Wed, 21 Aug 2024 07:44:01 -0400 X-MC-Unique: qR2N2XhIPSONv17hniiQRw-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-371a804f191so3123694f8f.3 for ; Wed, 21 Aug 2024 04:44:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724240640; x=1724845440; 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=bPZDj+a5Okjz8TZ7qsStvR2ShtoFz9J/RCwR7aQP5j4=; b=RPZSqXUHeMdc5xg3OOUqZDUUVNUIUHh9AXzjk26sF98XWkkw5ubm4w5xJjH5CQJwmf aisnIxkrdQF0pTfCSXG9XgSRYIHJZ+N82gznUIlfM0COCaB6WMvmRj8Cs3dyixxnCY7p ugyjhoFjz7KH0q9D40V/8LXy617WDU6jL58eaOfXMdVnMbe7U577pffisBV6tNF4nfZF LtZ969py7SFkOTRkCze1igVPwh8hHEoLWqc3OFWtLegF4AlFGb3XSuZV02f9hxHZEvHH E6bk2AOmQP2P5uKY2PQ3cHWHsEaE4UAEQF2jmOCY+Z+PnZpwdxZvYwUvXuNF91+cZvj6 MUrA== X-Forwarded-Encrypted: i=1; AJvYcCX7jpzcF+2R2Nj/SoF6qNRoOhdQcmLsuWj0E9e2HG9VQYSRCZW5DXqs8u04a3QNbrMjRHo=@dpdk.org X-Gm-Message-State: AOJu0YxufuoYSHeQAX5GByAwHGSLoh8INGJirOQiI6IbeaEwAwqHq5nd uA+HJX6Vo1mhxrSFVRkImdQXJYhFKKTZYjVal370bJL9i+uKecikcgiTvFTCZL11vlOwMFUYevV PzkAyUWo1FU4yPFqDZRcB7cO8SyUGxlORmJqHyDZ/ X-Received: by 2002:a05:6000:4010:b0:371:afba:16f5 with SMTP id ffacd0b85a97d-372fd5aae16mr1697316f8f.27.1724240640327; Wed, 21 Aug 2024 04:44:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHO/Xk6/1VZrEb65IX30b0IGVMh+Qclw6nMf+og3LWHMvbzAxdol6Qg7GDwyn8Iv9DRRbRTMQ== X-Received: by 2002:a05:6000:4010:b0:371:afba:16f5 with SMTP id ffacd0b85a97d-372fd5aae16mr1697290f8f.27.1724240639812; Wed, 21 Aug 2024 04:43:59 -0700 (PDT) Received: from localhost (2a01cb00025433006239e1f47a0b2371.ipv6.abo.wanadoo.fr. [2a01:cb00:254:3300:6239:e1f4:7a0b:2371]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718989705bsm15493014f8f.72.2024.08.21.04.43.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 04:43:59 -0700 (PDT) Mime-Version: 1.0 Date: Wed, 21 Aug 2024 13:43:59 +0200 Message-Id: Cc: From: "Robin Jarry" To: "Anatoly Burakov" , Subject: Re: [PATCH v5 2/4] usertools/cpu_layout: print out NUMA nodes User-Agent: aerc/0.18.2-53-g11f57b5f3378-dirty References: <9a16f43aa622fb4cd250fa21b0f7fbbaedd4afdb.1724233499.git.anatoly.burakov@intel.com> In-Reply-To: <9a16f43aa622fb4cd250fa21b0f7fbbaedd4afdb.1724233499.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 21, 2024 at 11:44: > 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 > > usertools/cpu_layout.py | 36 +++++++++++++++++++++++++++++++----- > 1 file changed, 31 insertions(+), 5 deletions(-) Acked-by: Robin Jarry Thanks!