Docsity

Rate Adjustment Protocol - Lecture Slides | ECE 599, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Rate Adjustment Protocol - Lecture Slides | ECE 599 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Rate Adjustment Protocol (RAP)

R. Rejaie, M. Handley, and D. Estrin. “RAP: An end-to-end rate-based congestion control mechanism forrealtime streams in the internet.” Proc. IEEEInfocom, March 1999

What is RAP? †

An end-to-end, TCP friendly protocolthat employs an additive-increase,multiplicative-decrease (AIMD)algorithm.

Why do this? †

Multimedia streaming over theInternet is becoming more popular. † However, the Internet does notguarantee a minimum bandwidth or amaximum end-to-end delay. † Dominant portion of the Internet’straffic is TCP-based.

How does it work? †

A RAP source sends data packets withsequence numbers. † The source receives acknowledgment (ACK)packets containing the sequence number of thesent packet from the client(s). † The source can detect losses and sample roundtrip time (RTT) from received ACK packets.

Decision Function †

If no congestion is detected,periodically increase transmissionrate. † If congestion is detected, immediatelydecrease transmission rate byincreasing inter-packets gap (IPG).

How to detect congestion? †

RAP detects congestion based on packetloss. † Packet loss is determined when an ACK isnot received within the timeout value. † Packet loss is also found when there is agap in the sequence numbers of ACKreceived.

Decision Frequency †

RAP adjusts rate once everyestimated RTT (SRTT). † Why? „ Changing rate too often results inoscillations. „ Source is likely to receive ACK ofprevious packet before making the newadjustment.

Simulations

Why is it not fair? †

TCP diverges from AIMD algorithm „ Multiple losses in one window „ Windows size is small (< 4)

Simulations: Controlled RTT

Points of Interest: †

Fairness ratio improved with highernumber of flows. † Fairness ratio was not influencedgreatly by RTT.

Conclusion †

RAP is reasonably TCP-friendly. † Unfairness occurs when TCP divergesfrom AIDM algorithm. † Larger congestion windows remediesthe unfairness.