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 51A9C4584A; Thu, 22 Aug 2024 19:43:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14F4442F07; Thu, 22 Aug 2024 19:43:10 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 54E5F42F06 for ; Thu, 22 Aug 2024 19:43:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724348588; 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=ZCSSbToqS9T0OCYgwiw8SmlILl9vAsu5XKf8F/SsBhk=; b=d7F3lQhtclztUT5F8lv0NitKVPLlff0Sgp7itGyiNVv/wMeRxbn/QoF1w1xgHeBJzuSIex /k4L3SjsV0vyzzzqlNWogbwRbBx/WQXfKbSj2256CJITCRhE6b9yLdCuj/EYUSU6oLBR2J 6Q+acNAWFW0VB/mmbAKPtrIkZtSB7UM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-142-uB1p5E1hNHC0pXRQrrnuRw-1; Thu, 22 Aug 2024 13:43:07 -0400 X-MC-Unique: uB1p5E1hNHC0pXRQrrnuRw-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-37189fc2977so549401f8f.0 for ; Thu, 22 Aug 2024 10:43:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724348586; x=1724953386; h=in-reply-to:references:user-agent:to:from:cc:subject:message-id :date:content-transfer-encoding:mime-version:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ZCSSbToqS9T0OCYgwiw8SmlILl9vAsu5XKf8F/SsBhk=; b=O6lDgsdDPLe5ceVigxwSVIzalI25Kb0O05vtahccNLPG+qP8GGHTZNNQblkIHmJx3b CcTt91rB9zX3hRuRb7Z111fThnkvtld5wnEu5oZnipW4y1AGnQUHAkotzFtf59x1gOyR Ia6ilzdRwYA/IlbJi7KVHsUwSixY7p9YH2OjTkd52K+8AYoA4Vx6dPvnVr2FXnA8f9t9 8HqAsQ855afHe/fvgKFZg4MsiDlnZMFnbHfYnzNA7E9g2PhiPS+fZWQJb6m8QURhAy2P j9spRbXGrmSoRRNX5pv5NNeaEFS/d3QqA60JNvazRuuLrCas+FT1mGK8RZ1bYzUUH0Mf ksHQ== X-Forwarded-Encrypted: i=1; AJvYcCXPjkrMK7BrJGqoO9rfgOMyHI5QCmFfub2AOswWpE+RZukoOSZ84yS/8Kxf1Vsx89LKTww=@dpdk.org X-Gm-Message-State: AOJu0Yybai8kuDSYrKzuubiw2V8EU9oJ51A0LSpq8HhPTF3NOeFzs9Hl Wd8hehuaqsmukrSU1NH9BYcilmmyM+m18XI/zsDa/UbvWwfwgAD6Zs2qb84tFWGJZJ1Xt5oec7v hw/5F1sIbEVkiky8nBzMK8cwohm69pzfOB3Pffek7C7Yo7kRQsVw= X-Received: by 2002:a5d:6402:0:b0:371:8eb3:8c64 with SMTP id ffacd0b85a97d-3730905e3efmr1889791f8f.54.1724348586376; Thu, 22 Aug 2024 10:43:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1XyyjsFOjMnsYlwT/vuPzSsE6v0ROy+yVZoa88GAydHEjbM5ADY1ODYE1DE8crj9xHCukIA== X-Received: by 2002:a5d:6402:0:b0:371:8eb3:8c64 with SMTP id ffacd0b85a97d-3730905e3efmr1889777f8f.54.1724348585869; Thu, 22 Aug 2024 10:43:05 -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-373082697f8sm2162647f8f.110.2024.08.22.10.43.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Aug 2024 10:43:05 -0700 (PDT) Mime-Version: 1.0 Date: Thu, 22 Aug 2024 19:43:05 +0200 Message-Id: Subject: Re: [PATCH v6 2/4] usertools/cpu_layout: print out NUMA nodes Cc: From: "Robin Jarry" To: "Anatoly Burakov" , User-Agent: aerc/0.18.2-53-g11f57b5f3378-dirty References: <40cf4ee32f15952457ac5526cfce64728bd13d32.1724323106.git.anatoly.burakov@intel.com> In-Reply-To: <40cf4ee32f15952457ac5526cfce64728bd13d32.1724323106.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 22, 2024 at 12:38: > 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: > v5 -> v6: > - Track NUMA changes per socket to avoid issues with missing cores Acked-by: Robin Jarry