Ask Your Question
0

why poor network throughput with virtio on Kilo

asked 2015-06-16 17:26:30 -0500

anonymous user

Anonymous

updated 2015-06-16 17:35:33 -0500

Hi I just installed Kilo,

Running on RHEL 7 hypervisors, I ran up two VMs on different hosts with a 10G link between them. With SR-IOV I get great performance as expected. With standard virtio + vhost, the performance is very poor.

A iperf test, shows I can get line speed between 2 VMs (when using virtio)

iperf -c 192.168.0.5
------------------------------------------------------------
Client connecting to 192.168.0.5, TCP port 5001
TCP window size: 22.5 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.10 port 57195 connected with 192.168.0.5 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  8.78 GBytes  7.54 Gbits/sec

But when running a load test for a http websever, at around 2000 http requests, the throughput appears to slow (latency increases) although packets aren't getting dropped on the VM interface. N.B that I don't see this issue with SR-IOV, which makes me thing the VM settings are fine, but it could be the virtio driver, hypervisor config (possible ovs) or host nic driver. The tap devices have a low txqueue length, but this is the same for the last release.

Is there any default throttling going on with the latest version of Kilo.

Can anyone recommend tunings for the hypervisor or virtio driver to improve the performance? In past versions of Openstack I've been able to hit around 5000 http requests per second.

edit retag flag offensive close merge delete

Comments

Could you please tell me how you are measuring the HTTP throughput?

uts9 gravatar imageuts9 ( 2015-06-17 01:49:59 -0500 )edit

Is there any default throttling going on with the latest version of Kilo.

Did you see packet drops on VM's tap interface? If you did not check it, can you log in to the host where VM is running and do "ifconfig tap-xyz" to see if packet drop counters increase?

Nodir gravatar imageNodir ( 2015-08-11 21:30:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-12 12:50:46 -0500

ospz2014 gravatar image

you have any update on this ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-16 17:26:30 -0500

Seen: 827 times

Last updated: Sep 12 '16