[PATCH v4 1/3] event/dlb2: add producer port probing optimization

Jerin Jacob jerinjacobk at gmail.com
Wed Sep 28 16:45:59 CEST 2022


On Tue, Sep 27, 2022 at 7:12 AM Abdullah Sevincer
<abdullah.sevincer at intel.com> wrote:
>
> For best performance, applications running on certain cores should use
> the DLB device locally available on the same tile along with other
> resources. To allocate optimal resources, probing is done for each
> producer port (PP) for a given CPU and the best performing ports are
> allocated to producers. The cpu used for probing is either the first
> core of producer coremask (if present) or the second core of EAL
> coremask. This will be extended later to probe for all CPUs in the
> producer coremask or EAL coremask.
>
> Producer coremask can be passed along with the BDF of the DLB devices.
> "-a xx:y.z,producer_coremask=<core_mask>"
>
> Applications also need to pass RTE_EVENT_PORT_CFG_HINT_PRODUCER during
> rte_event_port_setup() for producer ports for optimal port allocation.
>
> +#define DLB2_PRODUCER_COREMASK "producer_coremask"

Documentation patch is missing. Please add in 1/3.

> +#define DLB2_DEFAULT_LDB_PORT_ALLOCATION_ARG "default_port_allocation"

Please squash https://patches.dpdk.org/project/dpdk/patch/20220927001835.1394994-1-abdullah.sevincer@intel.com/
patch 1/3 here.


Rest looks good. We should merge the next version.


More information about the dev mailing list