Everything2
Near Matches
Ignore Exact
Full Text
Everything2

rate shaping

created by Amoeba Protozoa

(thing) by Amoeba Protozoa (2.2 y) (print)   ?   (I like it!) Wed Nov 29 2000 at 22:43:06

What is rate shaping?

Rate shaping is used to add a bound or constraint on the rate of a network traffic flowing through a router to a particular bit rate or a certain rate of packets per second. Rate shaping requires queues, queue management, and scheduling.

How is it implemented?

Rate shaping is often achieved by limiting the frequency of how often a queue is emptied, even if the scheduler that is servicing the queue has nothing better to do. If packets arrive with a shorter interpacket gap than is allowed by the scheduler, the packet is queued: smoothing out the burstiness of the flow.

Often, this is done by implementing a leaky bucket (which is different than a token bucket!) which allowes a packet to be de-queued every so often (every T seconds). This type of queue will always report it is empty, even if it contains data, unless T seconds has elapsed: thus ensuring that when packets arrive, they depart with at least T seconds between them.

Why would one want to rate shape traffic?

There are a couple of reasons, one technical and one emotional:

See also: Quality of Service, CQS, Token Bucket, & Traffic Engineering


printable version
chaos

traffic engineering shaping Quality of Service Faster than a speeding bullet
performance Token Bucket Downstream
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes to live by:
September 11, 2001 - III
Rules of program optimization
Irish Wake
Louisiana Purchase
Critias
CCBBA Karate Curriculum
sorghum
Thomas Jefferson's First Inaugural Address
How to meet the most girls
hypoglycemia
Gloria Anzaldúa Memorial Quest
Making an F-16 from a cereal box, some Scotch tape, and a penny
Cy Twombly
New Writeups
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
E2 is a by-product of the existence of The Everything Development Company