[libvirt-users] virtio nic dosent use 10gbe speed.

Tim Fletcher tim at night-shade.org.uk
Fri Feb 20 23:52:51 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 20/02/15 11:38, Kalil de A. Carvalho wrote:
> Hello all.
> 
> We are moving from Xenserver 6.5 environment to KVM because we 
> can't use 10gbe speed in our VM's so we decided to test KVM.
> 
> To inicial test I've create script, using qemu commands, to build 
> two VM's and test the nic speed.
> 
> Each VM has one nic, using virtio, into it own bridge. In this 
> bridge we associate one 10gbe physical nic.
> 
> They can communicate each other.
> 
> When we  try do a copy, through SCP, the speed is 300mbps. And if 
> we open another copy this speed been the half.

Assuming you mean 300MB/s then I suspect you are CPU bound as that's a
lot of crypto operations for scp.

Install iperf http://pkgs.repoforge.org/iperf/

Run iperf -s on one vm and iperf -c <ip of other vm> on the second one

I have benchmarked KVM with openvswitch at over 15Gbit/s on fairly
standard hardware (Second gen i5 desktop)

- -- 
Tim Fletcher <tim at night-shade.org.uk>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJU58jPAAoJEN542XhkDoF1ZBYH/2SjA93rtOwuM0vh81/ctlU/
Riws/r8R51LXpz5QICk9GSWNeGfGlvRUq3XVvteBX0GSpknewg3Aa7Jy7lUeXUp+
ULnjg28YlytgpVGzD5LKmzoW809ZwoVLHj0uVQ9pdDXa+6N1ztXR/O3fsV+4GaX9
lVHoX3HrRm/wK/Y/zyXplAu4Ylx61KDmZeBkuaL75XHXsIFbpUqhYOMlNRLsg4rr
buHcDZZNCXp6eMRRHJTdde9C53rky1JECVgctubVyxlI2Uu26CpDKsqR9AKLTPKm
mxb32BMEpajbckGiTSHH89XWg0CBy5XMc1G6oGGOcWjhhosanCtVorHGq+xQ/Uw=
=AOM8
-----END PGP SIGNATURE-----




More information about the libvirt-users mailing list