[dpdk-dev] [PATCH v5 2/2] examples/distributor: detect high frequency cores
Thomas Monjalon
thomas at monjalon.net
Tue Apr 2 02:20:28 CEST 2019
02/04/2019 02:06, Thomas Monjalon:
> 01/04/2019 18:14, David Hunt:
> > The distributor application is bottlenecked by the distributor core,
> > so if we can give more frequency to this core, then the overall
> > performance of the application may increase.
> >
> > This patch uses the rte_power_get_capabilities() API to query the
> > cores provided in the core mask, and if any high frequency cores are
> > found (e.g. Turbo Boost is enabled), we will pin the distributor
> > workload to that core.
> >
> > Signed-off-by: Liang Ma <liang.j.ma at intel.com>
> > Signed-off-by: David Hunt <david.hunt at intel.com>
> > Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>
>
> Series applied, thanks
Just amended the commit with this fix:
--- a/examples/Makefile
+++ b/examples/Makefile
+ifeq ($(CONFIG_RTE_LIBRTE_POWER),y)
DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor
+endif
More information about the dev
mailing list