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 78C12A00C3; Tue, 20 Sep 2022 15:22:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B5B540DFB; Tue, 20 Sep 2022 15:22:41 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id F14C64069B for ; Tue, 20 Sep 2022 15:22:38 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 69E675C00C5; Tue, 20 Sep 2022 09:22:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 20 Sep 2022 09:22:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1663680157; x= 1663766557; bh=LsN0YoQh+mia6P7+uA0QOMmfS9BRWC25D44PzJSiABI=; b=X vIrdRdW9iGXiLS3tBJgLz8BfdtSdTxjM4nC+LKyvv4O3OBx61H+ax5OTPA5/NQPw EN9HHQQqv7bgTrBA2Nc+ROk4cBgIrO+SJxitjIu9II7tRPoM23IRrJbYQsqpc2Lf lc6zrx5ALBW+kKv0FbBwuN4ISk6B9MukaSuXYbv/lvwZyiUqn2qnlmYZzl+9yibd LuNl45Jj/JlXChS9hmvHH0OBoYJMPgS+yMnMWwARjdWwtBoxtnfMb2h+sJ5oo6ND d+YAo12Vyp6IXUEZU7V/NWvVqlrd5wGqEkQF5T6ilQfErjS6Ab8OUn8wGIoRHt6o 1vsWQgcJYrW61pNcraoXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1663680157; x= 1663766557; bh=LsN0YoQh+mia6P7+uA0QOMmfS9BRWC25D44PzJSiABI=; b=O V+PxbyqHonUNKb8GBJbltrLE+a+tMd2q44DKSa16xiv66b85uYZHRIe8tSWh8yW7 gfbQ9TZ2EQWZQ/79qG3/tOuQba3GhyZnuNp5tqRwgKhhz3WsA/Ag7f4PKxuHGBj5 kU6bmGyKZPOoN4oXHuXyJOWp5jyqmEzj+EBT/+Vy07hFamuGzerV5zh5IQZ9Lx2L MyStZQwNdZrfLTkzX2zMLFb1RdYLkV5uZWn0esHdmAolD4Za1hDBM5SxbZIY/19R kkqGV0p71896cZRYd74EfAzkLiRyhhrENiS3Qe07n5rXJQQbBQDpvsPDnBZwUvGo gorxZNgEKN+8xopJUnN1Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvledgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeegtddtleejjeegffekkeektdejvedtheevtdekiedvueeuvdei uddvleevjeeujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Sep 2022 09:22:36 -0400 (EDT) From: Thomas Monjalon To: Niklas Soderlund Cc: Nole Zhang , "dev@dpdk.org" , Chaoyong He , oss-drivers Subject: Re: FW: [PATCH v1] buildtools: ensure the NUMA nodes are counted correct Date: Tue, 20 Sep 2022 15:22:33 +0200 Message-ID: <4213175.ejJDZkT8p0@thomas> In-Reply-To: References: <1659426855-11014-1-git-send-email-chaoyong.he@corigine.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 Hi, 20/09/2022 12:11, Niklas Soderlund: > Hi Thomas, >=20 > Have you checked if this address the same issue you where seeing? Do you= =20 > think we can move forward with this fix? Yes. No need to show lscpu output, but the output of the DPDK initialization would be more interesting. > On 2022-08-31 10:47:24 +0200, Nole Zhang wrote: > >=20 > >=20 > >=20 > > > -----Original Message----- > > > From: Thomas Monjalon > > > Sent: 2022=E5=B9=B48=E6=9C=8829=E6=97=A5 21:15 > > > To: Nole Zhang ; Chaoyong He=20 > > > > > > Subject: Re: [PATCH v1] buildtools: ensure the NUMA nodes are counted= =20 > > > correct > > >=20 > > > 29/08/2022 13:17, Nole Zhang: > > > > From: Thomas Monjalon > > > > > 02/08/2022 09:54, Chaoyong He: > > > > > > From: Peng Zhang > > > > > > > > > > > > Sorting a list of strings with the format "node[0-9]+" in order= =20 > > > > > > to find the largest integer by looking at the last item after=20 > > > > > > the sort breaks. But if there are more then 10 items as a strin= g=20 > > > > > > sort will sort "node10" before "node2", it will get the error N= UMA nodes. > > > > > > > > > > What is the error you are seeing? > > > > > > > > > > > > > > We get the error NUMA, in this example, we get the NUMA nodes is 10= ,=20 > > > > But at fact, it has 11 NUMA. > > >=20 > > > Please give more details, where do you see this error? > > > We should know how to reproduce and check we have the same issue. > > > Thanks > > >=20 > > > Please reply with a detailed answer on the mailing list. > > >=20 > > In the China Phytium S2500 CPU + INSPUR server, it has 16 NUMA. > > The details are as follows: > >=20 > > ~#: lscpu > >=20 > > Architecture: aarch64 > > CPU op-mode(s): 64-bit > > Byte Order: Little Endian > > CPU(s): 128 > > On-line CPU(s) list: 0-127 > > Thread(s) per core: 1 > > Core(s) per socket: 64 > > Socket(s): 2 > > NUMA node(s): 16 > > Vendor ID: 0x70 > > Model: 3 > > Model name: S2500 > > Stepping: 0x1 > > BogoMIPS: 100.00 > > L1d cache: 4 MiB > > L1i cache: 4 MiB > > L2 cache: 64 MiB > > L3 cache: 128 MiB > > NUMA node0 CPU(s): 0-7 > > NUMA node1 CPU(s): 8-15 > > NUMA node2 CPU(s): 16-23 > > NUMA node3 CPU(s): 24-31 > > NUMA node4 CPU(s): 32-39 > > NUMA node5 CPU(s): 40-47 > > NUMA node6 CPU(s): 48-55 > > NUMA node7 CPU(s): 56-63 > > NUMA node8 CPU(s): 64-71 > > NUMA node9 CPU(s): 72-79 > > NUMA node10 CPU(s): 80-87 > > NUMA node11 CPU(s): 88-95 > > NUMA node12 CPU(s): 96-103 > > NUMA node13 CPU(s): 104-111 > > NUMA node14 CPU(s): 112-119 > > NUMA node15 CPU(s): 120-127 > > Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 = idiva idivt lpae evtstrm > >=20 > >=20 > > I use meson build -Dmax_lcores=3Ddetect -Dmax_numa_nodes=3Ddetect to c= ompile, then dpdk initialization only shows 10 numa.=20 >=20 >=20