* tc burst size rollover
@ 2014-03-11 16:48 Brian Rak
0 siblings, 0 replies; only message in thread
From: Brian Rak @ 2014-03-11 16:48 UTC (permalink / raw)
To: lartc
I'm seeing some weird behavior when I'm trying to add some htb queue
settings with large burst sizes. It seems that if I specify a burst
size over 3355443kb, the number rolls over. For example:
# tc class add dev vnet1 parent 1: classid 1:1 htb rate 12500kbps ceil
125000kbps burst 3355444kb
# tc class show dev vnet1 parent 1:
class htb 1:1 root prio 0 rate 100000Kbit ceil 1000Mbit burst 812b
cburst 1375b
Is there supposed to be a limitation here? I can't seem to find anything
in the documentation talking about it.
I've tested this with iproute2-3.12.0 on 3.13.1-1.el6.elrepo.x86_64.
This is the full set of commands I was using (these are what libvirt
applies by default):
tc qdisc del dev vnet1 root
tc qdisc del dev vnet1 ingress
tc qdisc add dev vnet1 root handle 1: htb default 1
tc class add dev vnet1 parent 1: classid 1:1 htb rate 12500kbps ceil
125000kbps burst 3355444kb
tc class show dev vnet1 parent 1:
Ultimately, I'm trying to allow bursts at 1000mbit up to 100GB or so,
then restrict things to a lower speed. I'm not aware of any way to do
this aside from using a large burst size.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-11 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 16:48 tc burst size rollover Brian Rak
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.