[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] QoS Rate limiting example for physical interfaces - reg
From:       cerisierfilix () hotmail ! com (Mathumitha S)
Date:       2012-12-27 4:15:05
Message-ID: BLU154-W7D89027F7316FA125A648AD380 () phx ! gbl
[Download RAW message or body]


No. I have not tried passing traffic between two machines. I will try it. But can't \
we use iperf to pass traffic between two IPs on the same machine just to test it?

Date: Wed, 26 Dec 2012 08:35:16 -0600
Subject: Re: [ovs-discuss] QoS Rate limiting example for physical interfaces - reg
From: brad.hedlund@gmail.com
To: cerisierfilix at hotmail.com
CC: discuss at openvswitch.org

Your iPerf session is between two IPs on the same machine. Have you tried passing \
traffic between two different machines? Cheers,

Brad

 
On Dec 26, 2012 3:48 AM, "Mathumitha S" <cerisierfilix at hotmail.com> wrote:





Hi,
                I have a quad-port in my system of which I have connected interfaces \
eth5 and eth4 as OvS ports 1 and 2 respectively. And I used local IPs for the two \
interfaces i.i I created the IPs using ifconfig command.(eth4-10.1.6.1 and \
eth5-10.1.6.2)


               I used the following commands:
                ovs-vsctl set Interface eth4 ingress_policing_rate=1000
                ovs-vsctl set Interface eth4 ingress_policing_burst=100
                ovs-vsctl set Interface eth5 ingress_policing_rate=10000

                ovs-vsctl set Interface eth5 ingress_policing_burst=1000


               I used the following  iperf commands to generate traffic:
                  iperf -s -B 10.1.6.1
                  iperf -c 10.1.6.1 -B 10.1.6.2


        But there is no rate-limiting done. The BW of the traffic transfer is about \
40 Gbits/sec.

       

Also, I tried to create queues on eth5 and enqueue traffic from eth4 to a queue in \
eth5. 


          The commands I used are:
           ovs-vsctl set port eth5 qos=@newqos -- --id=@newqos create qos \
type=linux-htb other-config:max-rate=20000 queues=0=@q0,1=@q1 -- --id=@q0 create \
queue other-config:min-rate=10000 other-config:max-rate=10000 -- --id=@q1 create \
queue other-config:min-rate=5000 other-config:max-rate=5000

             
            ovs-ofctl mod-flows br0 "in_port=2,dl_type=0x0800,nw_proto=6,tp_dst=6000 \
actions=enqueue:1:1"

There is no limiting of the rate in this case too.

    
 Can someone tell me where I am going wrong?


Thank you

Regards,
Mathumitha
 		 	   		  

_______________________________________________

discuss mailing list

discuss at openvswitch.org

http://openvswitch.org/mailman/listinfo/discuss


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20121227/357e294b/attachment.htm>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic