TCP Friendly Rate Control TFRC: Protocol Specification - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

TCP Friendly Rate Control TFRC: Protocol Specification

Description:

The receiver measures the loss event rate and feeds this information back to the sender ... R = the round trip time in seconds ... – PowerPoint PPT presentation

Number of Views:67
Avg rating:3.0/5.0
Slides: 10
Provided by: ycyu
Category:

less

Transcript and Presenter's Notes

Title: TCP Friendly Rate Control TFRC: Protocol Specification


1
TCP Friendly Rate Control (TFRC) Protocol
Specification
2
Protocol Mechanism
  • The receiver measures the loss event rate and
    feeds this information back to the sender
  • The sender also uses these feedback messages to
    measure the round-trip time(RTT)
  • The loss event rate and RTT are then fed into
    TFRCs throughput equation
  • The sender then adjusts its transmit rate to
    match the calculated rate

3
TCP throughput equation
X the transmit rate in bytes/second S the
packet size in bytes R the round trip time in
seconds P the loss event rate, between 0 and
1.0, of the number of loss events as a
fraction of the number of packets
transmitted T_RTO the TCP retransmission
timeout value in seconds B the number of
packets acknowledged by a single TCP
acknowledgement
4
Contents of Date packet
  • A sequence number
  • - The number is incremented by one for
  • each data
  • A timestamp
  • - for receiver to determine which losses belong
    to the same loss event
  • - to estimate the RTT

5
Feedback Packets
  • The timestamp of the last data packet received
  • The amount of time elapsed between the receipt of
    the last data and the generation of this
    feedback report.
  • The rate at which the receiver estimates that
    data was received since the last feedback report
    was sent

6
Data Sender protocol
  • If the sender does not receive a feedback report
    for two round trip times, It cuts its sending
    rate in half.
  • Sender-side protocol
  • - Measurement of the mean packet size being sent
  • - The sender behavior when a feedback packet is
    received.
  • - The sender behavior when the nofeedback timer
    expires

7
Round trip calculation
  • Calculate a new round trip sample
  • R_sample (t_now t_recvdata) t_delay
  • Update the round trip time estimate
  • If no feedback has been received before
  • R R_sample
  • else
  • R qR (1- q)R_sample
  • Update the timeout interval
  • t_RTO 4 R

8
Rate Control
  • Rate Control
  • if( p gt 0)
  • X min(X_calc, 2X_recv, s/64)
  • Else
  • X Max(min(2X, 2X_recv, s/RTT)
  • Selecting ipi (Inter packet interval)
  • t_ipi s/X_inst
  • Expiration of nofeedback timer
  • - Cut the sending rate in half
  • If(X_calc gt 2X_recv)
  • X_recv max(X_recv/2, s/128)
  • Else
  • X_recv X_calc/4

9
Receiver behavior when a data packet is received
  • Add the packet to the packet history
  • Calculate the new value of p
  • If p gt p_prev cause the feedback timer to expire
  • If P lt p_prev no action need be performed
Write a Comment
User Comments (0)
About PowerShow.com