[dpdk-dev] [PATCH] net/memif: relax barrier for zero copy path

Ferruh Yigit ferruh.yigit at intel.com
Fri Sep 18 13:58:47 CEST 2020


On 9/11/2020 6:38 AM, Phil Yang wrote:
> Using 'rte_mb' to synchronize the shared ring head/tail between producer
> and consumer will stall the pipeline and damage performance on the weak
> memory model platforms, such like aarch64.
> 
> Relax the expensive barrier with c11 atomic with explicit memory
> ordering can improve 3.6% performance on throughput.
> 
> Signed-off-by: Phil Yang <phil.yang at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>

Hi Jakub,

Can you please check/test this patch?

Thanks,
ferruh


More information about the dev mailing list