All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] rate vs peakrate - TBF.
@ 2003-11-14  8:59 Suraj Shankar
  2003-11-14 18:31 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Suraj Shankar @ 2003-11-14  8:59 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] rate vs peakrate - TBF.
  2003-11-14  8:59 [LARTC] rate vs peakrate - TBF Suraj Shankar
@ 2003-11-14 18:31 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-11-14 18:31 UTC (permalink / raw)
  To: lartc

On Friday 14 November 2003 09:59, Suraj Shankar wrote:
> 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

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-14 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-14  8:59 [LARTC] rate vs peakrate - TBF Suraj Shankar
2003-11-14 18:31 ` Stef Coene

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.