[dpdk-dev] [PATCH v5] build: optional NUMA and cpu counts detection
Juraj Linkeš
juraj.linkes at pantheon.tech
Thu Sep 9 10:42:04 CEST 2021
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Thursday, September 9, 2021 10:09 AM
> To: Juraj Linkeš <juraj.linkes at pantheon.tech>; Bruce Richardson
> <bruce.richardson at intel.com>
> Cc: Piotr Kubaj <pkubaj at anongoth.pl>; David Christensen
> <drc at linux.vnet.ibm.com>; david.marchand at redhat.com;
> Honnappa.Nagarahalli at arm.com; Ruifeng.Wang at arm.com;
> ferruh.yigit at intel.com; jerinjacobk at gmail.com; jerinj at marvell.com;
> stephen at networkplumber.org; dev at 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.
More information about the dev
mailing list