VMXNET3とSR-IOVを比べてみた

同じESXiのWindows間で比べてみた。

##条件
Windowsインストール直後、Windows Updateだけ実施。
NICはMarvell(旧QLogic）の25Gb NIC。

###SR-IOV

```
C:\iperf-3.1.3-win64>iperf3.exe -c 192.168.4.1
Connecting to host 192.168.4.1, port 5201
[  4] local 192.168.4.2 port 49718 connected to 192.168.4.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   763 MBytes  6.39 Gbits/sec
[  4]   1.00-2.00   sec   900 MBytes  7.55 Gbits/sec
[  4]   2.00-3.00   sec   958 MBytes  8.04 Gbits/sec
[  4]   3.00-4.00   sec  1008 MBytes  8.46 Gbits/sec
[  4]   4.00-5.00   sec   980 MBytes  8.22 Gbits/sec
[  4]   5.00-6.00   sec   972 MBytes  8.16 Gbits/sec
[  4]   6.00-7.00   sec  1020 MBytes  8.55 Gbits/sec
[  4]   7.00-8.00   sec  1010 MBytes  8.47 Gbits/sec
[  4]   8.00-9.00   sec  1.01 GBytes  8.69 Gbits/sec
[  4]   9.00-10.00  sec   998 MBytes  8.37 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  9.42 GBytes  8.09 Gbits/sec                  sender
[  4]   0.00-10.00  sec  9.42 GBytes  8.09 Gbits/sec                  receiver

iperf Done.
```

###VMXNET3

```
C:\iperf-3.1.3-win64>iperf3.exe -c 10.10.105.156
Connecting to host 10.10.105.156, port 5201
[  4] local 10.10.105.98 port 49720 connected to 10.10.105.156 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   438 MBytes  3.67 Gbits/sec
[  4]   1.00-2.00   sec   331 MBytes  2.77 Gbits/sec
[  4]   2.00-3.00   sec   319 MBytes  2.68 Gbits/sec
[  4]   3.00-4.00   sec   349 MBytes  2.93 Gbits/sec
[  4]   4.00-5.00   sec   389 MBytes  3.26 Gbits/sec
[  4]   5.00-6.00   sec   456 MBytes  3.83 Gbits/sec
[  4]   6.00-7.00   sec   423 MBytes  3.55 Gbits/sec
[  4]   7.00-8.00   sec   509 MBytes  4.27 Gbits/sec
[  4]   8.00-9.00   sec   437 MBytes  3.67 Gbits/sec
[  4]   9.00-10.00  sec   457 MBytes  3.83 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  4.01 GBytes  3.45 Gbits/sec                  sender
[  4]   0.00-10.00  sec  4.01 GBytes  3.45 Gbits/sec                  receiver

iperf Done.

```

###SR-IOV で感度：高

```
C:\iperf-3.1.3-win64>iperf3.exe -c 192.168.4.1
Connecting to host 192.168.4.1, port 5201
[  4] local 192.168.4.2 port 49679 connected to 192.168.4.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  1.07 GBytes  9.23 Gbits/sec
[  4]   1.00-2.00   sec  1.08 GBytes  9.28 Gbits/sec
[  4]   2.00-3.00   sec  1.07 GBytes  9.22 Gbits/sec
[  4]   3.00-4.00   sec  1.06 GBytes  9.09 Gbits/sec
[  4]   4.00-5.00   sec  1.02 GBytes  8.80 Gbits/sec
[  4]   5.00-6.00   sec  1.07 GBytes  9.20 Gbits/sec
[  4]   6.00-7.00   sec  1.06 GBytes  9.12 Gbits/sec
[  4]   7.00-8.00   sec  1.03 GBytes  8.88 Gbits/sec
[  4]   8.00-9.00   sec  1.06 GBytes  9.14 Gbits/sec
[  4]   9.00-10.00  sec  1.03 GBytes  8.84 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  10.6 GBytes  9.08 Gbits/sec                  sender
[  4]   0.00-10.00  sec  10.6 GBytes  9.08 Gbits/sec                  receiver
```

こんなもんかね。フルレート出す方法があったらどなたかコメント欄で教えて下さい。

###参考文献
https://qiita.com/RagWork/items/26aa9885ef6ad5e05c00
https://qiita.com/takish/items/bff7a1df712d475432df