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

Thomas Monjalon thomas at monjalon.net
Thu Mar 7 19:23:02 CET 2019


25/02/2019 09:33, Olivier Matz:
> On Wed, Feb 20, 2019 at 04:01:33PM +0000, Burakov, Anatoly wrote:
> > On 19-Feb-19 8:41 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, especially
> > > when you took good care to pin your processes on cpu resources with
> > > tools like taskset (linux) / cpuset (freebsd).
> > > 
> > > Rather than introduce yet another eal options to control on which cpu
> > > those ctrl threads are created, let's take the startup cpu affinity
> > > as a reference and remove the eal coremask from it.
> > > If no cpu is left, then we default to the master core.
> > > 
> > > The cpuset is computed once at init before the original cpu affinity
> > > is lost.
> > > 
[...]
> > > 
> > > Fixes: d651ee4919cd ("eal: set affinity for control threads")
> > > Cc: stable at dpdk.org
> > > Signed-off-by: David Marchand <david.marchand at redhat.com>
> > > ---
> > 
> > Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
> 
> Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>

Replaced cpu by uppercase CPU,
and applied, thanks





More information about the dev mailing list