[dpdk-dev] [PATCH] ring: fix sc dequeue performance issue

2016-07-25 Thread Thomas Monjalon
2016-07-24 22:57, Ananyev, Konstantin: > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > Use of rte_smb_wmb() instead of rte_smb_rmb() in sc dequeue function > > creates the additional overhead of waiting for all the STOREs to be > > completed to local buffer from ring buffer

[dpdk-dev] [PATCH] ring: fix sc dequeue performance issue

2016-07-24 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Sunday, July 24, 2016 6:08 PM > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; Ananyev, Konstantin intel.com>; Jerin Jacob > > Subject: [dpdk-dev] [PAT

[dpdk-dev] [PATCH] ring: fix sc dequeue performance issue

2016-07-24 Thread Jerin Jacob
Use of rte_smb_wmb() instead of rte_smb_rmb() in sc dequeue function creates the additional overhead of waiting for all the STOREs to be completed to local buffer from ring buffer memory. The sc dequeue function demands only LOAD-STORE barrier where LOADs from ring buffer memory needs to be