Open GraysonWu opened 3 years ago
I never tried qos on the controller. How do you setup the controller? Is it located remotely using tcp or it's local using unix domain socket? I would try adding the egress policy to the bridge itself to see if it works or not.
@GraysonWu , since controller is not an OVS port, you can't, in general, apply QoS in a way it's applied to ports. If your controller is on a different physical machine or you know that it's behind some specific port you may apply QoS for that particular port, but I think that OF meter will be a more generic solution here. Something like that should rate-limit messages to controller to 2 packets per second:
ovs-ofctl -O OpenFlow13 add-meter br0 'meter=controller pktps stats bands=type=drop rate=2'
For more details see https://www.openvswitch.org/support/dist-docs/ovs-ofctl.8.html .
Thank you guys for replying. It seems that OF meter works for my situation. How do you guys think about controller_queue_size, controller_rate_limit, controller_burst_limit?
Hi there,
I want to do rate-limiting and prioritizing while sending packet-in messages to the controller. After research, I thought egress shaping met my need well. And I tried to follow the steps here: https://github.com/openvswitch/ovs/blob/80e74da4fd8bfdaba92105560ce144b4b2d00e36/Documentation/faq/qos.rst. But I didn't find how to set QoS to the controller port(65533 or 0xfffd; 0xfffffffd). Hope you guys can help me.
Thanks.