Congestion Control Algorithms
Congestion Control Algorithms
5-26
unew auold (1 a ) f
Wine: drop new packets (keep old); good for file transfer
Milk: drop old packets (keep new); good for mulitmedia
• Requirements
• Techniques for Achieving Good Quality of Service
• Integrated Services
• Differentiated Services
• Label Switching and MPLS
Requirements
5-30
(a) A leaky bucket with water. (b) a leaky bucket with packets.
The Token Bucket Algorithm
5-34
Token bucket allows some burstiness (up to the number of token the
bucket can hold)
The Leaky and
Token Bucket
Example
(a) Input to a bucket.
(b) Output from a leaky
bucket.
Output from a token bucket
with capacities of
(c) 250 KB,
(d) 500 KB,
(e) 750 KB,
(f) Output from a 500KB
token bucket feeding a 10-
MB/sec leaky bucket.
Resource Reservation
Traffic shaping is more effective when all packets follow the
same route.
RSVP allows:
●
Multiple senders to transmit to multiple groups of receivers
●
Permits individual users to switch channels freely
●
Optimises bandwidth utilization while simultaneously eliminating
congestion.
RSVP-The ReSerVation Protocol
Bandwidth reservation is done with reverse path forwarding along
the spanning tree.
Similarities:
- Both used tags/circuit ids.
- Both lookup routing tables based on these tags.
- Tags have link local significance only.
Difference:
- There is no setup phase in MPLS.
- MPLS tags routes and not end-point processes (no transport
id), so greater aggregation is possible. All MPLS circuits to a
host can use the same tags. In ATM, only cells to the same
application can use the same tag.
Internetworking
• How Networks Differ
• How Networks Can Be Connected
• Concatenated Virtual Circuits
• Connectionless Internetworking
• Tunneling
• Internetwork Routing
• Fragmentation
Connecting Networks
5-43
A connectionless internet.
Comparing internetworking approaches
Connection oriented:
Advantages:
- Buffers can be reserved in advanced
- Sequencing can be guaranteed
- Short headers
Disadvantages:
- No alternate routing around congestion.
- vulnerability to router failures
- tables space at routers
Connectionless oriented:
Advantages:
- Can be used to connected subnets without VCs inside.
- Robust to router failures
Disadvantage:
- No sequencing
- Longer headers
Internet Protocol (IP)
The idea is to design another protocol, independent of datalink
layer protocols, so that its packets can be encapsulated over many
datalink layer protocols.
Two-level routing:
Interior gateway protocol is used within each network
Exterior gateway protocol is used between networks