Skip to content

: Follow-up patches for RTT sampling

Gerrit Renker dccp 1 version In review

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

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3: Reuse ktime_get_real() calls againnet/dccp/ccids/ccid3.c+15 -220 replies
2/3: Provide 10s of microsecond timesourcenet/dccp/dccp.h net/dccp/options.c net/dccp/proto.c +1 more+26 -14 replies
3/3: Simplify interface of dccp_sample_rttnet/dccp/ccids/ccid3.c net/dccp/dccp.h net/dccp/input.c+20 -330 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3]: Follow-up patches for RTT sampling

I think I have a workable solution for the RTT samples and I have tested it with success.
The concept is to use a dccp_epoch again, but to measure it in units of `hundredths of milliseconds' (that is, 10s of microseconds). This is native RFC 4340 format, with that the counter wraps around every 11.9 hours - which should be more than enough for most DCCP applications.

It splits into three patches, the first is a re-send:

Patch #1: Reuses ktime_get_real() for CCID3 - as sent earlier. Patch #2: Provide 10s of microsecond timesource, this is the heart
of the patch set, revives dccp_timestamp in a new format.
Patch #3: Demotes dccp_sample_rtt() to just to very simple tasks
and does the remaining fixes for
* CCID3 SYN RTT
* all calls within ccid3.c

Tested it, works fine so far.