[ovs-discuss] Query regarding OVS configuration in OpenSuse Dom0 (Xen Hypervisor)

Mohit Dhingra mohitdhingras at gmail.com
Mon Feb 13 19:07:27 PST 2012


*Hi All,*

I am following the same instructions as given in
http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/

I have exactly the same setup, except for the measurement host, but I don't
see any difference in the netperf results, I have given more details in the
previous post. Any suggestions/input please?

*Hi Jesse,*
Ok, So that means hardware should be configurable enough,  that it
understands VMs, and QoS for each VM? Is there any way to set egress QoS on
the NIC?
*
----------------------------
Thanks & Regards
Mohit Dhingra
+919611190435*


On 14 February 2012 00:26, Jesse Gross <jesse at nicira.com> wrote:

> On Sun, Feb 12, 2012 at 10:18 AM, Mohit Dhingra <mohitdhingras at gmail.com>
> wrote:
> > Hi Jesse,
> >
> > Yes, I see your point that there is no benefit of controlling incoming
> > traffic, because anyways all traffic will arrive atleast till OVS level
> from
> > physical NIC, so that channel will be the bottleneck anyway.
> >
> > I configured OVS using Xen as Hypervisor, and, I am able to create VMs
> which
> > automatically gets connected to the bridge that OVS created. But I am not
> > seeing any QoS control in the VM.
> >
> > Here is the bridges and interfaces,
> > cadlab:~ # brctl show
> > bridge name     bridge id               STP enabled     interfaces
> > eth0            0000.7071bc62737a       no                peth0
> >
> > vif6.0
> >
> > vif8.0
> >
> >
> > I configured QoS on one of the VMs like this:
> > cadlab:~ # ovs-vsctl set Interface vif8.0 ingress_policing_rate=1000
> > cadlab:~ # ovs-vsctl set Interface vif8.0 ingress_policing_burst=100
> >
> > VMs are as follows :
> > cadlab:~ # xm list
> > Name                                        ID   Mem VCPUs      State
> > Time(s)
> > Domain-0                                     0  6012     8     r-----
> > 2271.1
> > opensuse11                                   8  1024     1     -b----
> > 15.3
> > opensuse11-clone                             6  1024     1     -b----
> > 21.4
> >
> > Then I ran netperf test, I don't see max of 1 Mbps !!!
> > vm1 at linux-g9jl:~> netperf -H 10.112.10.35
> > TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.112.10.35
> > (10.112.10.35) port 0 AF_INET : demo
> > Recv   Send    Send
> > Socket Socket  Message  Elapsed
> > Size   Size    Size     Time     Throughput
> > bytes  bytes   bytes    secs.    10^6bits/sec
> >
> >  87380  16384  16384    10.02      93.46
> >
> > I see 93 Mbps !!! Why is it so?
> >
> > Does anybody can tell me where I am wrong?
>
> You need to use egress QoS on the NIC, since that's where the actual
> choke point is.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120214/64102dfd/attachment.htm>


More information about the discuss mailing list