[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

Re: [ovs-dev] [PATCH v2 1/2] openvswitch: fix flow stats accounting when node 0 is not possible

2016-09-18 Thread David Miller
From: Thadeu Lima de Souza Cascardo Date: Thu, 15 Sep 2016 19:11:52 -0300 > On a system with only node 1 as possible, all statistics is going to be > accounted on node 0 as it will have a single writer. > > However, when getting and clearing the statistics, node 0 is not going > to be considered

Re: [ovs-dev] [PATCH v2 2/2] openvswitch: use percpu flow stats

2016-09-18 Thread David Miller
From: Thadeu Lima de Souza Cascardo Date: Thu, 15 Sep 2016 19:11:53 -0300 > Instead of using flow stats per NUMA node, use it per CPU. When using > megaflows, the stats lock can be a bottleneck in scalability. > > On a E5-2690 12-core system, usual throughput went from ~4Mpps to > ~15Mpps when f

Re: [ovs-dev] Setting pmd-cpu-mask in cluster-on-die mode

2016-09-18 Thread Mauricio Vasquez
Hello Jeremias, On 09/18/2016 05:46 PM, Jeremias Blendin wrote: Hi, I set pmd-cpu-mask on a server running its processors in cluster-on-die mode. This means, that the actual cpu topology is shown to the os as shown below. The problem I have is that although OVS is allowed to use all available

[ovs-dev] Setting pmd-cpu-mask in cluster-on-die mode

2016-09-18 Thread Jeremias Blendin
Hi, I set pmd-cpu-mask on a server running its processors in cluster-on-die mode. This means, that the actual cpu topology is shown to the os as shown below. The problem I have is that although OVS is allowed to use all available CPUs: $ ovs-vsctl --no-wait get Open_vSwitch . other_config:pmd-cp