[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Virito devices bridge vs Macvtap performance
From: |
Prakash B |
Subject: |
[Qemu-devel] Virito devices bridge vs Macvtap performance |
Date: |
Thu, 5 Apr 2018 11:39:41 +0530 |
Hi,
I am doing kvm guest network performance analysis to compare relevant
alternatives for virtio devices on Arrach64.
I have generated bridge tap and macvtap performance numbers on guest
10G interface
connected back to another 10G on other host.
The results for guest with "macvtap" vs "bridge" are marginally
differed and the difference is +/- 3%. As per my understanding on
macvtap, expected better performance values with macvtap.
--------------------<Begin of commands > --------------------
for macvtap device:-
-netdev tap,vhost=on,vhostforce=on,id=macvtap_netdev,fd=3
3<>/dev/tap$(cat /sys/class/net/macvtap1/ifindex) \
-device virtionet-pci,netdev=macvtap_netdev,id=net0,mac=$(cat
/sys/class/net/macvtap1/address)
for Bridge tap device:-
-netdev
type=tap,vhost=on,vhostforce=on,id=tap0,ifname=tap0,script=no,downscript=no
-device virtio-net-pci,netdev=tap0,mac=12:03:04:05:06:07
-----------------------< End of commands> ------------------------
Anyone please tell me if I missed anything.
Other information.
-------------------------
Kernel sources : 4.14.28
qemu-aarch64 : 2.11.91
Did the same experiments with ThunderX vnic and Intel 10G nic and
results are as mentioned above.
Tried macvtap in bridge and passthru modes.
Tell me if you need further investigations or more data .
thanks,
Prakash B
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] Virito devices bridge vs Macvtap performance,
Prakash B <=