[dpdk-dev] [PATCH v2 0/1] hash: separate lf and rw lock lookup code paths
Honnappa Nagarahalli
honnappa.nagarahalli at arm.com
Sat Nov 10 19:55:33 CET 2018
The lock-free algorithm has caused significant lookup
performance regression for certain use cases. The
regression is attributed to the use of non-relaxed
memory orderings.
To address the issue, 2 versions of the lookup functions
are created. One that uses the RW lock and the one that
is lock-free. This restores the performance regression
caused for use cases that used RW lock version of the
lookup function.
v2:
1) Adjusted the function call to take the lock in
__rte_hash_lookup_with_hash_l (Jerin)
2) Squash all the intermediate commits into a single one
Honnappa Nagarahalli (1):
hash: separate lf and rw lock lookup code paths
lib/librte_hash/rte_cuckoo_hash.c | 304 ++++++++++++++++++++++++++++--
1 file changed, 290 insertions(+), 14 deletions(-)
--
2.17.1
More information about the dev
mailing list