[ovs-discuss] VHost QOS - per queue rate limiting

Kapil Adhikesavalu kapil20084 at gmail.com
Fri Sep 9 15:36:35 UTC 2016


Hello,

Is VHost port - per queue rate limiting feature expected in near future ?

Currently its on port basis, and if we assign more than 1 queue to the
vHost port, it will be good to do QOS on per queue.

https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK-ADVANCED.md


7. QOS

Here is an example on QOS usage. Assuming you have a vhost-user port
transmitting traffic consisting of packets of size 64 bytes, the following
command would limit the egress transmission rate of the port to ~1,000,000
packets per second

ovs-vsctl set port vhost-user0 qos=@newqos -- --id=@newqos create qos
type=egress-policer other-config:cir=46000000 other-config:cbs=2048

To examine the QoS configuration of the port:

ovs-appctl -t ovs-vswitchd qos/show vhost-user0

To clear the QoS configuration from the port and ovsdb use the following:

ovs-vsctl destroy QoS vhost-user0 -- clear Port vhost-user0 qos

Regards

Kapil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160909/33886b28/attachment-0002.html>


More information about the discuss mailing list