> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Honnappa Nagarahalli > Sent: Wednesday, July 3, 2019 2:47 AM > To: yipeng1.w...@intel.com; sameh.gobr...@intel.com; > bruce.richard...@intel.com; pablo.de.lara.gua...@intel.com; > honnappa.nagaraha...@arm.com > Cc: gavin...@arm.com; ruifeng.w...@arm.com; dev@dpdk.org; > n...@arm.com > Subject: [dpdk-dev] [PATCH v2 0/2] lib/hash: perf improvements for lock- > free
[Snip] > The first patch in this series moves the signature comparison before the load- > acquire of the key_index. This does not result in any issues because of the > full key comparison which is done after the load-acquire of the key_index. > Performance improvements: > Lookup Hit: 6.16% > Lookup Miss: 8.54% > > The second patch in this series, moves the store-release of pData before the > store to any hash internal data structures. This is not necessary, but just > helps to show the non-dependency between application data and hash table > data. On the reader side, the pData is loaded only if the keys match, this > provides performance benefits. > Performance improvements (with patch 1): > Lookup Hit: 6.25% > Lookup Miss: 13.97% Could you share the commands/data to test this specific performance measurement?