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 1822142E47; Tue, 11 Jul 2023 17:42:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4F6640A7D; Tue, 11 Jul 2023 17:42:09 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 1BB0E4003C for ; Tue, 11 Jul 2023 17:42:08 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-666e5f0d60bso3343737b3a.3 for ; Tue, 11 Jul 2023 08:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1689090128; x=1691682128; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=51AYLAw2i4KS51xHMwt8WDG1st9Cr2B0MXjsaEsD6e4=; b=JauSsQXGbGED4YSt2F+nZv1ia44Fd7i4AgSDqiJqKdLWBHXdTxclbPzFThYJ/w9fh/ kuT2a1313DVE8W7V3H7jstSq3bb899OjZC42SLduehPSRbdw7BYeND1iv1cZxw0ggRrQ zHrjUFOR3w0ul5hSVhFgjLSzlIK/Lh/rKigN+je7cvjKyvmNpN4CCzyD/aEJeZKAtnGY lMFwe7S3EUigkkEWGVzAjg9m6WITlsY7GJMfrredmtfMgY5FJYvwN0KHjPea/BrjTdJU Uts6IuvYbpdcsp8zj3Gmg+CYIKpCWkypUEmLSjEGgcGz8qBpxtL8Kvd+dVevcTNhwp5/ A9cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689090128; x=1691682128; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=51AYLAw2i4KS51xHMwt8WDG1st9Cr2B0MXjsaEsD6e4=; b=lxBpNtjL9khWaHnw5u8Fh4FTRLdb1ttqXE7OWiSOpz3P94ospFpQHvPy8uPaL8Dj7Y 1kNHq6vGkwfcdkFQQBbSPQe2WkNbaOCEgUdlNWRfxunejh2mOkl93H05TblDwhlhztMh W72glknKVc0xhly6LeBAir+og5MsU661lVDWQOAmQqDkCFmg5WXzLcw08yxJA/kmtmoH q5HBkSp+gPzoxDudWNcxH3N8ZXd7LgElKy70SOhNEvagDy+y8h7NbipHUpOK9oyl0lKV qmg0Q0EWHRhiL0kY7yPp1HDkFaU5Qn8R8PY5AxkwAsGkcfgRQOAqJ7BWiRkXV5bjcstS hbOQ== X-Gm-Message-State: ABy/qLYwVGxzKho6cIBbBPG5AV/IV1mFtzp9VElxLBwIK7y7Rslt8qto PkUvs0g6XnCrJHrTRMinKWAY/w== X-Google-Smtp-Source: APBJJlH9QE/TK/9FVPPaF80gFv8CVBbmRUuER85KmGKQ1n/TpkKGElQyZ5p0w899BlnBegWqDZlW/A== X-Received: by 2002:a05:6a20:3cab:b0:f0:b6e3:90c9 with SMTP id b43-20020a056a203cab00b000f0b6e390c9mr15607082pzj.4.1689090128091; Tue, 11 Jul 2023 08:42:08 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y24-20020a63b518000000b0052c9d1533b6sm1762488pge.56.2023.07.11.08.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 08:42:07 -0700 (PDT) Date: Tue, 11 Jul 2023 08:42:06 -0700 From: Stephen Hemminger To: Vipin Varghese Cc: , , , Subject: Re: [PATCH] usertools: enhance logic to display NUMA Message-ID: <20230711084206.25e7b530@hermes.local> In-Reply-To: <20220326073207.489694-1-vipin.varghese@amd.com> References: <20220326073207.489694-1-vipin.varghese@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Sat, 26 Mar 2022 00:32:07 -0700 Vipin Varghese wrote: > + > + output = " Socket " + str(socket).ljust(3, ' ') + " Numa " + str(numa).zfill(1) + " " > + #output = " Socket " + str(socket).zfill(1) + " Numa " + str(numa).zfill(1) + " " > + print(output) > + print(format("-" * len(output))) > + > + for index,coreSibling in enumerate(numa_map[keys]): > + print ("Core " + str(index).ljust(3, ' ') + " " + str(coreSibling)) > + #print ("Core " + str(index).zfill(3) + " " + str(coreSibling)) > +print("") > + > -- Git complains because you added new blank line at end of file. One wording suggestion would be to use the term "Node" instead of "Numa" in the table. And fix heading alignment. The new headings don't look right. For the case with only single socket, single node, some of the headings could be dropped as well. I.e: Socket 0 Node 0 ------------------- Core 0 [0, 4] Core 1 [1, 5] Core 2 [2, 6] Core 3 [3, 7]