Skip to contentSkip to conversation

rate vs peakrate - TBF.

LARTC Suraj Shankar 2 participants 2 messages Nov 14, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
Can you please explain to me the difference between
rate and peakrate, in conjucture to TBF. IMHO,
rate : controls the no. of pkts flowing through the pipe, and
peakrate : controls the no. of tokens flowing through the bucket. A funtion(?) of peakrate and mtu is rate.
If this is true, why do I need to specify both
peakrate and rate?

Regards,
suraj.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 10 lines · Suraj Shankar

Hi,
Can you please explain to me the difference between
rate and peakrate, in conjucture to TBF. IMHO,
rate : controls the no. of pkts flowing through the pipe, and
peakrate : controls the no. of tokens flowing through the bucket. A funtion(?) of peakrate and mtu is rate.
If this is true, why do I need to specify both
peakrate and rate?

The bucket is a buffer of packets. So if you have bucket full with tokens, you can send some packets very fast. The rate determines the speed that new tokens are put in the bucket. Without a peakrate, you can use the tokens in the bucket to send packets at wire speed. To prevent this, you can specify a peakrate so you can limit the speed that tokens in the bucket can be used.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

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