Re: [dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-14 Thread David Marchand
On Wed, Feb 13, 2019 at 5:14 PM David Marchand wrote: > Spawning the ctrl threads on anything that is not part of the eal > coremask is not that polite to the rest of the system. > > Rather than introduce yet another eal options for this, let's take > the startup cpu affinity as a reference and r

Re: [dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-14 Thread David Marchand
On Thu, Feb 14, 2019 at 11:05 AM Burakov, Anatoly wrote: > On 14-Feb-19 9:53 AM, David Marchand wrote: > > > A bit more context then, if you want to clearly pin cpu resources for > > the processes on your system (let's say having virtual machines and a > > popular vswitch), I can only think of tw

Re: [dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-14 Thread Burakov, Anatoly
On 14-Feb-19 9:53 AM, David Marchand wrote: On Thu, Feb 14, 2019 at 10:39 AM Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 13-Feb-19 4:13 PM, David Marchand wrote: > Spawning the ctrl threads on anything that is not part of the eal > coremask is not that polite to

Re: [dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-14 Thread David Marchand
On Thu, Feb 14, 2019 at 10:39 AM Burakov, Anatoly wrote: > On 13-Feb-19 4:13 PM, David Marchand wrote: > > Spawning the ctrl threads on anything that is not part of the eal > > coremask is not that polite to the rest of the system. > > > > Rather than introduce yet another eal options for this, l

Re: [dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-14 Thread Burakov, Anatoly
On 13-Feb-19 4:13 PM, David Marchand wrote: Spawning the ctrl threads on anything that is not part of the eal coremask is not that polite to the rest of the system. Rather than introduce yet another eal options for this, let's take the startup cpu affinity as a reference and remove the eal corem

Re: [dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-13 Thread David Marchand
On Wed, Feb 13, 2019 at 5:14 PM David Marchand wrote: > Spawning the ctrl threads on anything that is not part of the eal > coremask is not that polite to the rest of the system. > > Rather than introduce yet another eal options for this, let's take > the startup cpu affinity as a reference and r

[dpdk-dev] [PATCH] eal: restrict ctrl threads to startup cpu affinity

2019-02-13 Thread David Marchand
Spawning the ctrl threads on anything that is not part of the eal coremask is not that polite to the rest of the system. Rather than introduce yet another eal options for this, let's take the startup cpu affinity as a reference and remove the eal coremask from it. If no cpu is left, then we defaul