[dpdk-dev] [PATCH v2 0/2] lib/hash: perf improvements for lock-free

Jerin Jacob Kollanukkaran jerinj at marvell.com
Thu Jul 4 13:13:52 CEST 2019


> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Honnappa Nagarahalli
> Sent: Wednesday, July 3, 2019 2:47 AM
> To: yipeng1.wang at intel.com; sameh.gobriel at intel.com;
> bruce.richardson at intel.com; pablo.de.lara.guarch at intel.com;
> honnappa.nagarahalli at arm.com
> Cc: gavin.hu at arm.com; ruifeng.wang at arm.com; dev at dpdk.org;
> nd at 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?


More information about the dev mailing list