Re: [ovs-dev] Difference between hmap and cmap

2016-09-19 Thread Ben Pfaff
On Mon, Sep 19, 2016 at 01:53:37AM -0400, Hui Kang wrote: > I am studying the hashing functions in OVS and find these two > implementations: hmap and cmap. I understand that cmap is the improved > cuckoo hashing and cmap supports multiple-reader and single writer. My > questions are: > > 1. What d

[ovs-dev] Difference between hmap and cmap

2016-09-18 Thread Hui Kang
Hi, OVS developers, I am studying the hashing functions in OVS and find these two implementations: hmap and cmap. I understand that cmap is the improved cuckoo hashing and cmap supports multiple-reader and single writer. My questions are: 1. What does hmap stand for? hash map? 2. hmap looks much