[ovs][dpdk] ovs-dpdk 线程数,收包队列,core绑定

 

http://docs.openvswitch.org/en/latest/intro/install/dpdk/?highlight=dpdk

 

绑定2,4,6, 8核

[root@vrouter1 ~]# ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x0154

 

设置4个收包队列

[root@vrouter1 ~]# ovs-vsctl set Interface dpdk-p0 options:n_rxq=4

 

增加描述符个数

[root@vrouter1 ~]# ovs-vsctl set Interface dpdk-p0 options:n_rxq_desc=4096

 

 

https://docs.openvswitch.org/en/latest/topics/dpdk/pmd/

ovs-appctl dpif-netdev/pmd-stats-show
[root@vrouter1 ~]# ovs-appctl dpif-netdev/pmd-rxq-show

 

posted on 2018-05-16 21:03  toong  阅读(1787)  评论(0编辑  收藏  举报