Performance is a trade-off. Bihash might not be the fastest hashtable out 
there, but it scales well, is well integrated to VPP w/o external dependencies, 
support concurrent read/write, all that with reasonable performance.
My recommendation would be to stick with it, unless you have a very good reason 
not to.

Best
ben

________________________________________
From: [email protected] <[email protected]> on behalf of mohammad mahdi 
nemati haravani via lists.fd.io <[email protected]>
Sent: Friday, February 13, 2026 16:02
To: [email protected]
Subject: [vpp-dev] performance search rte_hash & clib_bihash

Hi,

I want to know if there is any source that compares these two maps. Which one 
is better for ip-tcp flow key search?

i test rte_hash_search_bulk and clib_bihash and clib_bihash was losing but FDio 
says bi-hash is very fast i even compare bi-hash to other map like flat maps 
and bi-hash lose to all of them
my flow key is 16 byte can someone help me with this?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26808): https://lists.fd.io/g/vpp-dev/message/26808
Mute This Topic: https://lists.fd.io/mt/117793553/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to