Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

LF_OVS_17_OVS-DPDK: Every cycle counts.

373 views

Published on

Open vSwitch Fall Conference 2017

Published in: Technology
  • Be the first to comment

  • Be the first to like this

LF_OVS_17_OVS-DPDK: Every cycle counts.

  1. 1. OVS-DPDK: Every cycle counts OVS-DPDK Datapath workload distribution Kevin Traynor ktraynor@redhat.com 16th November 2017
  2. 2. 2 First came OVS-DPDK
  3. 3. 3 Then came multiple PMD's (cores) # ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x3
  4. 4. 4 Then came multiple Receive queues # ovs-vsctl set Interface dpdkport0 options:n_rxq=2 # ovs-vsctl set Interface dpdkport1 options:n_rxq=2
  5. 5. 5 But what if this happens...
  6. 6. 6 Manually pin fat queue...but it doesn't scale # ovs-vsctl set Interface dpdkport1 options:pmd-rxq-affinity=0:1
  7. 7. 7 Another way...count cycles/core utilisation
  8. 8. 8 The next time queues are assigned to PMDs # ovs-appctl dpif-netdev/pmd-rxq-rebalance Also, manually with
  9. 9. 9 Demo https://youtu.be/gkYLFtoQruI
  10. 10. THANK YOU plus.google.com/+RedHat linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHatNews

×