[ovs-discuss] OVS queues and precedence

Ben Pfaff blp at ovn.org
Tue Oct 24 22:05:14 UTC 2017


On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote:
> Hi
> 
> 
> I used the following command to create 4 queues
> 
> ovs-vsctl -- set port s7-eth2 qos=@newqos -- --id=@newqos create qos
> type=linux-htb other-config:max-rate=10000000 queues:1=@newQ queues:2=@newQ2
> queues:3=@newQ3 -- --id=@newQ create queue other-config:min-rate=2000000
> other-config:max-rate=2000000,2=@newQ2 -- --id=@newQ2 create queue
> other-config:min-rate=2000000 other-config:max-rate=5000000,3=@newQ3 --
> --id=@newQ3 create queue other-config:min-rate=2000000
> other-config:max-rate=6000000
> 
> Now I wanted to know which queues precede each other i.e. if every queue has
> a token and a packet to send who comes first. I requier this knowledge to
> address the latency aspect of my QoS.
> 
> I looked into Linux tc-htb manpage (https://linux.die.net/man/8/tc-htb)
> 
> They define a prio property which seems to define  the precedence between
> the queues.
> 
> Can I pass this as an aditional parameter via ovs-vsctl

OVS doesn't currently support the prio (priority) setting, and currently
sets all priorities to 0.  If you want to submit a patch to add support
for this feature, I think it would be a reasonable addition.


More information about the discuss mailing list