I am using clib_bihash_40_8_t (VPP version 18.01) The number of buckets is 65536.
I am going to add 1 million records into the bihash. My application takes care that at any point of time there will never be more than 1 million records going into the bihash. Given the above, what should be the memory size which I should pass into the init function of bihash to guarantee that there will no panic memory allocation failures during the record additions into the bihash (assuming that init succeeds). Please make no assumptions about hash collisions. Regards -Prashant
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10781): https://lists.fd.io/g/vpp-dev/message/10781 Mute This Topic: https://lists.fd.io/mt/27122954/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-