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 5C351A0547; Thu, 9 Sep 2021 18:44:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2107D40041; Thu, 9 Sep 2021 18:44:46 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by mails.dpdk.org (Postfix) with ESMTP id 1AED84003E for ; Thu, 9 Sep 2021 18:44:43 +0200 (CEST) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 189GX11J109630; Thu, 9 Sep 2021 12:44:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=mNPZf5SWVGippALGG0pfQnozcR5L28a8w9B250WISdE=; b=nVMODkDpnS7lnydJPv/yYO0AZxFSktbJI/ve0Z0DA1S6lk+vb7PLYO4D77Z9dRthWQGO D4Y+mOa1kKVaXGyS5MAGGbqv8QT381/UZG67vwar0fSBxuaySSzeLOGVDnIcO75ABuYA f2yDcZctqUG3otWtMsonHp9/zjhm0OP0TwnLxVcI4srnfAqzeXQ769ih3DbS0jFUa1Qw 1Xlai14/oME5ee7eON3MOm3D0DKZUNB8yMJf0cO4mRZpSY6Tn6tlphgW0h5G3U3XBFe3 3XURIkxTNW8vqzR9krv1V2E7Zv9yowUP+Vsb1CppaRGJIGb6xSZr8qm3bm9EZELoVNHU ew== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3aymy7hqu9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Sep 2021 12:44:31 -0400 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 189GXlAn111965; Thu, 9 Sep 2021 12:44:31 -0400 Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0b-001b2d01.pphosted.com with ESMTP id 3aymy7hqtu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Sep 2021 12:44:30 -0400 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 189GgOOP017358; Thu, 9 Sep 2021 16:44:30 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma02wdc.us.ibm.com with ESMTP id 3axcnphv7a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Sep 2021 16:44:30 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 189GiT9Q53150126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Sep 2021 16:44:29 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 71CA912405A; Thu, 9 Sep 2021 16:44:29 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 347B8124060; Thu, 9 Sep 2021 16:44:28 +0000 (GMT) Received: from Davids-MBP.randomparity.org (unknown [9.211.70.237]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 9 Sep 2021 16:44:28 +0000 (GMT) To: Bruce Richardson , =?UTF-8?Q?Juraj_Linke=c5=a1?= Cc: Piotr Kubaj , "thomas@monjalon.net" , "david.marchand@redhat.com" , "Honnappa.Nagarahalli@arm.com" , "Ruifeng.Wang@arm.com" , "ferruh.yigit@intel.com" , "jerinjacobk@gmail.com" , "jerinj@marvell.com" , "stephen@networkplumber.org" , "dev@dpdk.org" References: <1624964105-6525-1-git-send-email-juraj.linkes@pantheon.tech> <1626872655-27496-1-git-send-email-juraj.linkes@pantheon.tech> <8198751beeaf4a94acc951b1c1d4fba4@pantheon.tech> <93e6576242a24380b83d8ca82359c28e@pantheon.tech> <2244c98874b14069bacc178516bb8e74@pantheon.tech> From: David Christensen Message-ID: Date: Thu, 9 Sep 2021 09:44:27 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: R26_B3fCXCpRXZDK3Vgg_q3rlNJwE10k X-Proofpoint-GUID: M5loyzZ6kjYmy4LJsMrjEPhqqi7tqgS1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-09_05:2021-09-09, 2021-09-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1011 suspectscore=0 adultscore=0 phishscore=0 priorityscore=1501 spamscore=0 impostorscore=0 mlxlogscore=999 bulkscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109090102 Subject: Re: [dpdk-dev] [PATCH v5] build: optional NUMA and cpu counts detection 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 Sender: "dev" >> Piotr says lscpu isn't available on ppc FreeBSD. I think this leaves us with two options: >> 1. either use sysctl with the risk that it may not return an accurate value >> 2. not support PPC for numa detection >> >> What do you think? > > I think point #2 is more not supporting FreeBSD on PPC for numa detection > rather than not supporting PPC generally, right? Personally, I am just in > favour of #1 for the sake of moving forward and giving us best support with > simplest code. If or when someone does hit this (FreeBSD+PPC) as a problem, > then we can work with them to find best solution for fixing it. Right now > we don't have anyone with the PPC+FreeBSD setup, so I'd rather ignore it > than implement more complicated solutions that we can't test "just in > case". Fully agree here. Can't expect a user app to completely resolve all limitations in the underlying OS. Dave