> -----Original Message----- > From: Thomas Monjalon <tho...@monjalon.net> > Sent: Thursday, September 9, 2021 10:09 AM > To: Juraj Linkeš <juraj.lin...@pantheon.tech>; Bruce Richardson > <bruce.richard...@intel.com> > Cc: Piotr Kubaj <pku...@anongoth.pl>; David Christensen > <d...@linux.vnet.ibm.com>; david.march...@redhat.com; > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com; > ferruh.yi...@intel.com; jerinjac...@gmail.com; jer...@marvell.com; > step...@networkplumber.org; dev@dpdk.org > Subject: Re: [PATCH v5] build: optional NUMA and cpu counts detection > > 09/09/2021 10:01, Bruce Richardson: > > On Thu, Sep 09, 2021 at 07:20:27AM +0000, Juraj Linkeš wrote: > > > 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". > > +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.