All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Virito devices bridge vs Macvtap performance
@ 2018-04-05  6:09 Prakash B
  0 siblings, 0 replies; only message in thread
From: Prakash B @ 2018-04-05  6:09 UTC (permalink / raw)
  To: qemu-devel, qemu-arm, Peter Maydell, Eric Auger, Sunil Goutham,
	bprakash, berrange

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-05  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05  6:09 [Qemu-devel] Virito devices bridge vs Macvtap performance Prakash B

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.