Skip to contentSkip to conversation

definition of burst

LARTC Anton Yurchenko 2 participants 4 messages Jul 30, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

How does HTB define burst. What does it consider a burst, I mean how does it destinguish when to allow traffic above rate(ceil), within burst(cburst) values?

Signature · 7 lines
Anton Yurchenko<[email protected]>
Digital Generation


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

Hi

Quoted 3 lines · Anton Yurchenko

How does HTB define burst. What does it consider a burst, I mean how does it destinguish when to allow traffic above rate(ceil), within burst(cburst) values?

From just reading the docs (not the actual source) I would say that "rate" is only the rate in which the bucket is filled with tokens. "burst" defines the size of the bucket. I.e. when the bucket is filled up after a pause, you can send out as much packets as the bucket is large as fast as you want. The burst therefore starts at a sometimes undefined point in time but definetly ends when the bucket is simple empty. Because then, the packets have to wait for new tokens which only arrives at the "rate" frequency.

So "burst" defines the endurance of the burst.

(if you want those small-burst-until-the-bucket-is-empty to be not as fast as possible but shaped as well then you have to use the maxpeak parameter.

HTH,

-christian-

Signature · 7 lines
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
[email protected]     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Anton Yurchenko
Quoted 20 lines · Christian Hammers

Hi

Quoted 7 lines · Anton Yurchenko

How does HTB define burst. What does it consider a burst, I mean how does it destinguish when to allow traffic above rate(ceil), within burst(cburst) values?

From just reading the docs (not the actual source) I would say that

"rate" is only the rate in which the bucket is filled with tokens. "burst" defines the size of the bucket. I.e. when the bucket is filled up after a pause, you can send out as much packets as the bucket is large as fast as you want. The burst therefore starts at a sometimes undefined point in time but definetly ends when the bucket is simple empty. Because then, the packets have to wait for new tokens which only arrives at the "rate" frequency.

Quoted 6 lines

So "burst" defines the endurance of the burst.

(if you want those small-burst-until-the-bucket-is-empty to be not as fast as possible but shaped as well then you have to use the maxpeak parameter.

maxpeak? is that an undocumented HTB param?

Quoted 6 lines

HTH,

-christian-

Signature · 8 lines
Anton Yurchenko<[email protected]>
Digital Generation



_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Anton Yurchenko
Quoted 1 line · Anton Yurchenko

maxpeak? is that an undocumented HTB param?

Oh.. I mixed something up, it was "peakrate", not "maxpeak", and moreover I was referring to the "Token Bucket Filter", TBF, not the "Hierarchy Token Bucket ", HTB, although it should work quite similar.

BTW: There's an excelent user guide at
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

bye,

-christian-

Signature · 7 lines
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
[email protected]     Internet & Security for Professionals    Fax 0241/911879
          WESTEND ist CISCO Systems Partner - Authorized Reseller

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