[ovs-dev] asking about flow rate limiting feature

Trinh Minh Tri tmtri81 at gmail.com
Wed Aug 31 11:01:47 UTC 2011


Dear Mr Justin!

I followed your suggestion and can set the qos for each flow but completely
on openflow switch.
Now I want to periodically change the rate provide to each queue. I mean if
I have a program that can calculate the best rate providing to each queue
and base on that program result I want to change the rate set to each queue
periodically (e.g time interval = 5 mins).
I intend to implement it in FlowVisor. So, is it possible to control the
queue rate of openvswitch from FlowVisor?
Could you suggest me the part in openvswitch that I can send the command
from outside to control?

Thank you very much
Trinh Minh Tri


On Tue, Aug 30, 2011 at 1:19 PM, Justin Pettit <jpettit at nicira.com> wrote:

> This is a bit trickier, but it's certainly possible.  First, you'll need to
> configure queues on the egress ports.  You can see how to do this in the
> "Quality of Service (QoS)" section of the ovs-vsctl man page:
>
>
> http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-vsctl.8
>
> Then, you can add flows with the "enqueue" action from your controller or
> the ovs-ofctl command.  The enqueue action takes the port number and the
> queue id you configured earlier.  You can see some documentation about the
> enqueue action in the OpenFlow spec or the ovs-ofctl man page:
>
>
> http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-ofctl.8
>
> Good luck!
>
> --Justin
>
>
> On Aug 29, 2011, at 8:58 PM, Trinh Minh Tri wrote:
>
> > Dear openvswitch dev!
> >
> > I'm newbie in openvswitch but feel very interested in it to set up my
> experimental evvironment. In my experiment, I need to use the flow rate
> limiting feature to limit the rate of each flow comming in to openvswitch. I
> have searched in the openvswitch website and found out this document of QoS
> rate limiting http://openvswitch.org/?page_id=267. But this document only
> limit the rate for all traffic entering the openvswitch port. I would like
> to ask whether is there any solution in openvswitch to classify the traffic
> as flow and apply the QoS rate limiting to each flow.
> >
> > Thank you very much
> > Trinh Minh Tri
> >
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20110831/88ebbad1/attachment-0003.html>


More information about the dev mailing list