class env phy 相关 com vhost ping 加速
这里介绍 Neutron 集成 DPDK 时,Neutron 相关的配置,计算节点用 DPDK 加速【虚机到 OVS, 物理网卡到 OVS】
Compute Node:
- 1# 配置 /etc/neutron/plugins/ml2/openvswitch_agent.ini
- 2##为加速Overlay, 物理网卡加入br-tun, IP配置到br-tun
- 3
- 4 [ovs]
- 5vhostuser_socket_dir = /var/run/openvswitch/ 6datapath_type = netdev
- 7bridge_mappings = physnet1:br-eth1
- 8tunnel_bridge = br-tun
- 9local_ip =192.168.200.132
- 10of_interface = ovs-ofctl
OVS-DPDK uses hugepages to communicate with guests, before you boot a VM with OVS-DPDK you will need to create a flavor that requests hugepages.
nova flavor-key <FLAVOR> set hw:mem_page_size=large
Neutron 集成 DPDK
来源: http://www.bubuko.com/infodetail-2146272.html