码迷,mamicode.com
首页 > 其他好文 > 详细

Centos7 开启SR-IOV

时间:2016-11-15 19:59:25      阅读:3351      评论:0      收藏:0      [点我收藏+]

标签:roo   root   cmd   ios   默认   提升   memory   har   pcie   

性能测试过程进行优化,启用SR-IOV功能提升网卡性能

一、配置要求

1.一块Intel网络适配器

2. 一台支持Intel Virtualization Technology for Directed I/O (VT-d) 和PCI-SIG* Single Root I/O Virtualization and Sharing(SR-IOV) 的服务器

3. 具有PCIe* :x8 插槽。

4. Red Hat 版本7

5. Intel网络适配器对应的linux下的PF和VF驱动。 下载路径https://sourceforge.net/projects/e1000/files/

二、安装配置

2.1 服务器配置

1.启动服务器进入BIOS,enable  VT和Intel VT-d功能。

2.安装 Red Hat 7.0版本linux和KVM

3.启动IOMMU,I/O Memory Management Unit (IOMMU)在Centos7中默认没有启动,

添加 intel_iommu=on 到/etc/default/grub 配置文件,在GRUB_CMDLINE_LINUX项后面添加就可以了。

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet intel_iommu=on"

 

Centos7 开启SR-IOV

标签:roo   root   cmd   ios   默认   提升   memory   har   pcie   

原文地址:http://www.cnblogs.com/lvxiaobo616/p/6066884.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!