[ovs-discuss] [ovs-dev] OVS DPDK NUMA pmd assignment question for physical port

Darrell Ball dball at vmware.com
Wed Sep 6 07:22:37 UTC 2017



On 9/6/17, 12:03 AM, "王志克" <wangzhike at jd.com> wrote:

    Hi Darrell,
    
    pmd-rxq-affinity has below limitation: (so isolated pmd can not be used for others, which is not my expectation. Lots of VMs come and go on the fly, and manully assignment is not feasible.)
              >>After that PMD threads on cores where RX queues was pinned will become isolated. This means that this thread will poll only pinned RX queues
    
    My problem is that I have several CPUs spreading on different NUMA nodes. I hope all these CPU can have chance to serve the rxq. However, because the phy NIC only locates on one certain socket node, non-same numa pmd/CPU would be excluded. So I am wondering whether we can have different behavior for phy port rxq: 
          round-robin to all PMDs even the pmd on different NUMA socket.
    
    I guess this is a common case, and I believe it would improve rx performance.


[Darrell] I agree it would be a common problem and some distribution would seem to make sense, maybe factoring in some favoring of local numa PMDs ?
                Maybe an optional config to enable ?
                  
    
    Br,
    Wang Zhike



More information about the discuss mailing list