Skip to content

: RTT Estimation and Packet Scheduling

Gerrit Renker dccp 1 version In review

Get series with b4
b4 am 200706091956.13551@strip-the-willow

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6: Avoid accumulation of large send creditnet/dccp/ccids/ccid3.c+4 -22 replies
2/6: Provide fallback RTT value when none is availablenet/dccp/dccp.h+5 -23 replies
3/6: Ignore trivial amounts of elapsed timenet/dccp/ccids/ccid3.c net/dccp/ccids/ccid3.h+1 -113 replies
4/6: Simplify interface of dccp_sample_rttnet/dccp/dccp.h net/dccp/input.c+15 -282 replies
5/6: Accurately determine idle & application-limited periodsnet/dccp/ccids/ccid3.c net/dccp/ccids/ccid3.h+10 -101 reply
6/6: Inline for moving averagenet/dccp/ccids/ccid3.c net/dccp/ccids/lib/tfrc.h+14 -201 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6]: RTT Estimation and Packet Scheduling

With the exception of patch #1, all patches in this changeset are concerned with RTT estimation.

Patch #1: Avoids the accumulation of large send credit. This patch
has been discussed for a while. It is not yet clear whether the upper bound should be one t_ipi or one RTT. This patch uses t_ipi as a safe and conservative bound. This could be changed later, but without a bound it will clearly happen that large send credits will build up which will cause bursty traffic over a disproportionally long time.

Patch #2: Sin of omission fixed - we didn't use a fallback RTT as per RFC 4340.

Patch #3: Stops CCID3 sending trivial amounts of elapsed time. I found this out
while reverting the interface timestamp patches submitted in April. The point is that with the window counter CCVal as RTT indicator and the CCID3-specific feedback mechanism, the elapsed time will amount to tiny amounts of time between calling the send routine, since feedback is sent immediately: this amounts to elapsed time in the order of < 50 usec.

Patch #4: The interface of dccp_sample_rtt is relieved of some of its burden.

Patch #5: More accurate detection of idle times (I think this comes closer to CCID3 now).

Patch #6: Inline for moving average - thanks to Arnaldo.