声明:本站文章皆基于公开来源信息,仅代表作者个人观点,与作者所在公司无关!

Neutron 集成 DPDK

这里介绍Neutron集成DPDK时,Neutron相关的配置,计算节点用DPDK加速【虚机到OVS, 物理网卡到OVS】

neutron-openvswitch-agent +DPDK

Compute Node:

 1 # 配置 /etc/neutron/plugins/ml2/openvswitch_agent.ini
 2 ##为加速Overlay, 物理网卡加入br-tun, IP配置到br-tun
 3   
 4 [ovs]
 5 vhostuser_socket_dir = /var/run/openvswitch/
 6 datapath_type = netdev
 7 bridge_mappings = physnet1:br-eth1
 8 tunnel_bridge = br-tun
 9 local_ip = 192.168.200.132
10 of_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

posted @ 2017-06-30 18:28  Hi,云计算!  阅读(843)  评论(0编辑  收藏  举报