> -----Original Message----- > From: Phil Yang <[email protected]> > Sent: Wednesday, October 9, 2019 4:05 AM > To: Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco) > <[email protected]>; [email protected]; [email protected] > Cc: [email protected]; Damjan Marion (damarion) > <[email protected]>; [email protected]; > [email protected]; [email protected] > Subject: [PATCH v2] net/memif: optimized with one-way barrier > > 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 platform such like AArch64. Meanwhile update the shared > ring head and tail are observable and ordered between CPUs on IA. > > Optimized this full barrier with the one-way barrier can improve the > throughput. On AArch64 n1sdp server this patch make testpmd throughput > boost 2.1%. On Intel E5-2640, testpmd got 3.98% performance gain. > > Signed-off-by: Phil Yang <[email protected]> > Reviewed-by: Gavin Hu <[email protected]> > --- > v2: > Upgrade 'MEMIF_VERSION_MAJOR' number to 3. (Jakub Grajciar) > > v1: > Initial version. I jumped the gun with the version bump. The change doesn't break compatibility. I'm putting reviewed label on v1. Sorry for the inconvenience.
Re: [dpdk-dev] [PATCH v2] net/memif: optimized with one-way barrier
Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco) Wed, 09 Oct 2019 04:28:35 -0700
- [dpdk-dev] [... Phil Yang
- Re: [dp... Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco)
- Re:... David Marchand

