On 3 August 2016 at 16:29, Ananyev, Konstantin <konstantin.ananyev at intel.com> wrote: > > Hi Jianbo, > >> > Hi, Jianbo >> > >> > I have tested you patch on my X86 platform, the single core performance >> > for Non-vector PMD will have about 1Mpps drop >> > Non-vector PMD single core performance with patch : ~33.9 >> > Mpps >> > Non-vector PMD single core performance without patch : ~35.1 Mpps >> > Is there any way to avoid such performance drop on X86? Thanks. >> > >> >> I think we can place a compiling condition before rte_rmb() to avoid >> performance decrease on x86. >> For example: #if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) > > I suppose you can use rte_smp_rmb() here?
Great. Thank Konstantin. I'll send v2. Jianbo