Skip to contentSkip to conversation

TBF question

LARTC Gery Kahn 3 participants 4 messages May 14, 2001 – May 17, 2001

lore
Share & tools
lore
#1 lore raw

TBF uses internal 2 TBF control mechanism. One for the short burst and one for a long time control. I think that buffer and limit contols ths short burst and rate the long time traffic control. I putted it on my TODO list to test it out.

Quoted 8 lines · Gery Kahn

Who can explain parameter buffer and limit in TBF

tc qdisc add dev eth1 parent 20:1 tbf rate 2Mbit buffer 30Kb/8 limit 15Kb

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

Signature · 7 lines
Stef

More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#2 lore raw
In reply to Gery Kahn

TBF uses internal 2 TBF control mechanism. One for the short burst and one for a long time control. I think that buffer and limit contols ths short burst and rate the long time traffic control. I putted it on my TODO list to test it out.

Quoted 8 lines · Gery Kahn

Who can explain parameter buffer and limit in TBF

tc qdisc add dev eth1 parent 20:1 tbf rate 2Mbit buffer 30Kb/8 limit 15Kb

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

Signature · 8 lines
Stef

More QOS info : http://users.belgacom.net/staf/


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#3 lore raw
In reply to Gery Kahn

hi,

Quoted 4 lines

TBF uses internal 2 TBF control mechanism. One for the short burst and one for a long time control. I think that buffer and limit contols ths short burst and rate the long time traffic control. I putted it on my TODO list to test it out.

limit is the sum of the bucket size (=burst) and the size of the queue. So we police the traffic if limit is the same as burst (queue size is zero), and we shape if limit is larger than burst (queue size larger zero). rate/burst for the longtime controll, peakrate/mtu for the shorter timescale (only if you need a upper bound), limit to decide about the queue lenght. For more details look at...

http://www.cosy.sbg.ac.at/~kwagner/tbf02_kw.ps

That's how I understand TBF. Correct me if I got it wrong.

Kurt

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/