Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-11-06 Thread Honnappa Nagarahalli
> > > > > > > > > Part of the confusion arises from the fact that originally that was > > > the only parameter set by this - and on x86 it still is. Perhaps > > > this parameter needs to > > Just wondering, for x86, what does it mean if we set the max_num_cores > and max_numa_nodes based on dynam

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-11-05 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, November 3, 2020 10:45 AM > To: Honnappa Nagarahalli > Cc: Juraj Linkeš ; Ruifeng Wang > ; Phil Yang ; > vcchu...@amazon.com; Dharmik Thakkar ; > jerinjac...@gmail.com; hemant.agra...@nxp.com; dev@dpdk.org; nd > > Subject:

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-11-03 Thread Bruce Richardson
On Mon, Nov 02, 2020 at 07:01:44PM +, Honnappa Nagarahalli wrote: > > > > > > > Part of the confusion arises from the fact that originally that was the only > > parameter set by this - and on x86 it still is. Perhaps this parameter > > needs to > Just wondering, for x86, what does it mean if

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-11-02 Thread Honnappa Nagarahalli
> > > > > > > > > > > > On Wed, Oct 21, 2020 at 01:37:38PM +0200, Juraj Linkeš wrote: > > > > > > The build machine's number of cpus and numa nodes vary, > > > > > > resulting in mismatched counts of RTE_MAX_LCORE and > > > RTE_MAX_NUMA_NODES for > > > > > many > > > > > > builds. Automatically d

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-11-02 Thread Bruce Richardson
On Thu, Oct 29, 2020 at 04:31:33AM +, Honnappa Nagarahalli wrote: > > > > > > > > > > On Wed, Oct 21, 2020 at 01:37:38PM +0200, Juraj Linkeš wrote: > > > > > The build machine's number of cpus and numa nodes vary, resulting > > > > > in mismatched counts of RTE_MAX_LCORE and > > RTE_MAX_NUMA_

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-28 Thread Honnappa Nagarahalli
> > > > > > On Wed, Oct 21, 2020 at 01:37:38PM +0200, Juraj Linkeš wrote: > > > > The build machine's number of cpus and numa nodes vary, resulting > > > > in mismatched counts of RTE_MAX_LCORE and > RTE_MAX_NUMA_NODES for > > > many > > > > builds. Automatically discover the host's numa and cpu

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-27 Thread Bruce Richardson
gt; phil.y...@arm.com; vcchu...@amazon.com; dharmik.thak...@arm.com; > > jerinjac...@gmail.com; hemant.agra...@nxp.com; dev@dpdk.org > > Subject: Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu > > counts detection > > > > What could possibly work is

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-23 Thread Juraj Linkeš
.agra...@nxp.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu > counts detection > > On Wed, Oct 21, 2020 at 03:13:19PM +0100, Bruce Richardson wrote: > > On Wed, Oct 21, 2020 at 01:01:41PM +, Juraj Linkeš wrote: > > > >

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 03:13:19PM +0100, Bruce Richardson wrote: > On Wed, Oct 21, 2020 at 01:01:41PM +, Juraj Linkeš wrote: > > > > > > > -Original Message- > > > From: Bruce Richardson > > > Sent: Wednesday, October 21, 2020 2:02 PM > > > To: Juraj Linkeš > > > Cc: ruifeng.w...@a

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 01:01:41PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Wednesday, October 21, 2020 2:02 PM > > To: Juraj Linkeš > > Cc: ruifeng.w...@arm.com; honnappa.nagaraha...@arm.com; > > phil.y...@arm.com; vcchu...@amazon.com;

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, October 21, 2020 2:02 PM > To: Juraj Linkeš > Cc: ruifeng.w...@arm.com; honnappa.nagaraha...@arm.com; > phil.y...@arm.com; vcchu...@amazon.com; dharmik.thak...@arm.com; > jerinjac...@gmail.com; hemant.agra...@nxp.com; dev@

Re: [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Bruce Richardson
On Wed, Oct 21, 2020 at 01:37:38PM +0200, Juraj Linkeš wrote: > The build machine's number of cpus and numa nodes vary, resulting in > mismatched counts of RTE_MAX_LCORE and RTE_MAX_NUMA_NODES for many > builds. Automatically discover the host's numa and cpu counts to remove > this mismatch for nat

[dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection

2020-10-21 Thread Juraj Linkeš
The build machine's number of cpus and numa nodes vary, resulting in mismatched counts of RTE_MAX_LCORE and RTE_MAX_NUMA_NODES for many builds. Automatically discover the host's numa and cpu counts to remove this mismatch for native builds. Use current defaults for default builds. Force the users t