Version 5 (modified by wade, 13 years ago) (diff) |
---|
環境
- 網卡:Intel 82599EB 10 Gigabit
- module:
- ixgbe
- ixgbevf
- module:
測試指令
- 載入網卡 module:
- 僅載入網卡
modprob ixgbevf modprob ixgbe
- 載入網卡及 8 個 VF
modprob ixgbe max_vfs=8
- module 設定:
vim /etc/modprobe.d/ixgbe.conf
- 網卡設定:
vim /etc/udev/rules.d/70-persistent-net.rules
- 僅載入網卡
- 列出 ixgbe 網卡 module:
lsmod | grep ixgbe
- 列出 82599 網卡及 VF:
lspci | grep 82599 lspci | grep Virtual
- 卸載網卡 module:
- 卸載網卡前,要先檢查 VM 是否已經全部關閉:
virsh list --all
- 卸載網卡:
modprob -r ixgbe
- 卸載網卡前,要先檢查 VM 是否已經全部關閉:
實驗
1 實體機器 vs 1 實體機器
- 設定
- node04
- eth2:192.168.100.42
- eth4
- node05
- eth2:192.168.100.52
- eth4
- node04
- node04,eth02,server → node05,eth02,client
- 透過 switch:
- server
[ ID] Interval Transfer Bandwidth [ 4] 0.0-30.0 sec 9.97 GBytes 2.85 Gbits/sec [ 5] local 192.168.100.42 port 5001 connected with 192.168.100.52 port 43095 [ 5] 0.0-30.0 sec 10.1 GBytes 2.90 Gbits/sec [ 4] local 192.168.100.42 port 5001 connected with 192.168.100.52 port 57572 [ 4] 0.0-30.0 sec 10.2 GBytes 2.91 Gbits/sec
- client:
ex-01、ex-02、ex-03
- server
- 透過 switch: