Re: [dpdk-dev] [PATCH v5] build: optional NUMA and cpu counts detection
From: Juraj Linkeš <hidden>
Date: 2021-09-09 08:42:10
-----Original Message----- From: Thomas Monjalon <redacted> Sent: Thursday, September 9, 2021 10:09 AM To: Juraj Linkeš <redacted>; Bruce Richardson [off-list ref] Cc: Piotr Kubaj <redacted>; David Christensen [off-list ref]; 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 Subject: Re: [PATCH v5] build: optional NUMA and cpu counts detection 09/09/2021 10:01, Bruce Richardson:quoted
On Thu, Sep 09, 2021 at 07:20:27AM +0000, Juraj Linkeš wrote:quoted
Piotr says lscpu isn't available on ppc FreeBSD. I think this leaves us with twooptions:quoted
quoted
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".+1, FreeBSD + PPC is not worth the complication
Thanks for the feedback, makes sense to me. I think v6 has all the features we want then - linux, windows and freebsd using sysctl.