: CCID3/TFRC updates, net timestamps, TX locking, bug fixes,
Get series with b4
b4 am 200703211843.59964@strip-the-willowVersions newest first
- v1 Latest25 patches 66 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | : Fix bug in the calculation of very low sending ratesnet/ | +2 | 3 replies | |
| 2/25 | : Avoid accumulation of large send creditnet/ | +10 | 27 replies | |
| 3/25 | : Debug statements for Elapsed Time optionnet/ | +6 | 1 reply | |
| 4/25 | : Cheaper & smaller timestampinginclude/ net/ net/ +6 more | +16 | 8 replies | |
| 5/25 | : Complete documentation of dccp_sockinclude/ | +10 | 1 reply | |
| 6/25 | : Use skb timestamp for TX sidenet/ | +3 | 1 reply | |
| 7/25 | : Use skb timestamp for receiver sidenet/ | +1 | 1 reply | |
| 8/25 | : Honour initial RTT estimatenet/ | +6 | 1 reply | |
| 9/25 | : Ignore irrelevant states on receiving feedbacknet/ | +104 | 0 replies | |
| 10/25 | : Shorten statement for updating pnet/ | +2 | 3 replies | |
| 11/25 | : Set idle state after nofeedback timer expirynet/ | +2 | 0 replies | |
| 12/25 | : Use t_RTO as indicator for feedback receptionnet/ | +10 | 0 replies | |
| 13/25 | : Nofeedback timer according to rfc3448bisnet/ | +20 | 0 replies | |
| 14/25 | : Implement rfc3448bis changes to feedback receptionnet/ | +35 | 0 replies | |
| 15/25 | : Disable softirq when sending and notifying CCIDnet/ | +10 | 5 replies | |
| 16/25 | : Preparation to fit TX list lockingnet/ net/ net/ | +30 | 0 replies | |
| 17/25 | : Locking for packet history TX listnet/ net/ | +18 | 0 replies | |
| 18/25 | : Reduce time spent while write-lock is heldnet/ net/ | +25 | 0 replies | |
| 19/25 | : Remove unused fields in packet history structurenet/ net/ | +3 | 3 replies | |
| 20/25 | : Add socket option to query the current MPSDocumentation/ include/ net/ | +7 | 0 replies | |
| 21/25 | : Wait for CCIDnet/ | +19 | 3 replies | |
| 22/25 | : Make all `debug' parameters boolnet/ net/ net/ | +3 | 0 replies | |
| 23/25 | : Unaligned pointer accessnet/ net/ net/ | +28 | 0 replies | |
| 24/25 | : Macro for moving averagenet/ net/ | +11 | 5 replies | |
| 25/25 | : Add test function for data packetsnet/ | +12 | 2 replies |
Reviews trailers per patch
11 of 25 patches have a Reviewed-by or Acked-by.
| Patch | Ian McDonald |
|---|---|
| 1/25 | A-b |
| 2/25 | |
| 3/25 | A-b |
| 4/25 | A-b |
| 5/25 | |
| 6/25 | A-b |
| 7/25 | A-b |
| 8/25 | A-b |
| 9/25 | |
| 10/25 | A-b |
| 11/25 | |
| 12/25 | |
| 13/25 | |
| 14/25 | |
| 15/25 | A-b |
| 16/25 | |
| 17/25 | |
| 18/25 | |
| 19/25 | A-b |
| 20/25 | |
| 21/25 | |
| 22/25 | |
| 23/25 | |
| 24/25 | A-b |
| 25/25 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/25]: CCID3/TFRC updates, net timestamps, TX locking, bug fixes,
This is the first lot of patches for CCID3 and TFRC. The second lot will be submitted subsequently, when a dependency with an earlier patch has been resolved.
All patches have been tested for over a month, this particular configuration has additionally been compile-tested and performance-tested, and uploaded to
http://www.erg.abdn.ac.uk/users/gerrit/dccp/patch-backlog
P a t c h S e t S u m m a r y
---------------------------------
Patch 1: Bug fix for CCID3 - avoids that X hits zero (which is not standard-conform
due to min rate of 1 packet/64 sec; and triggers divide-by-zero exception)
Patch 2: Avoid accumulation of send credits (has been added to rfc3448bis, too).
Patch 3: Yet another `more debug statements' patch.
Patch 4: Cheaper & smaller timestamping; by not computing offsets (see next patches).
I found it important to reduce the cost of timestamping, since CCID 3 makes intensive use of it.
Patch 5: Complete missing documentation for dccp_sock (related to patch #4).
Patch 6: TX timestamping, use net timestamps (i.e. as soon as the packet is received)
to increase accuracy of timestamping.
Patch 7: RX timestamping, analogue of patch #6.
Patch 8: Honour initial (from Request/Response exchange) RTT estimate. Having integrated
using the initial handshake RTT sample, this patch uses the initial seed when available.
Patch 9: Make CCID 3 TX feedback reception ignore irrelevant states (further simplification).
Patch 10: Collapse a statement for computing `p' (also a simplification).
Patch 11: Bug fix which corrects setting the `idle' flag after nofeedback timer expiry.
Patch 12: Use t_RTO instead of ccid3hctx_state to test whether any (initial) feedback has been
received so far. No functional change, but better exploitation of available data.
Patch 13: Match up nofeedback timer handling with rfc3448bis and track state changes
feedback received (fb. packet arrives) <=> nofeedback (nofeedback timer expires). This makes the internal state machine more realistic: it moves between the states NO_FBACK and FBACK, according to which condition holds.
Patch 14: Implements rfc3448bis changes the computation of X when feedback is received.
(NB: At the time of printing, the changes were correct with regard to rfc3448bis-01.
The IETF folks keep changing this draft, may have to update at some point, but can not track weekly the draft changes. Or we decide to completely ignore all drafts and stick rigidly with RFC 3448 / 4342).
Patch 15: Disable softirqs in the transition "send skb in dccp_write_xmit" => "call ccid_hc_tx
packet_sent". This cured one synchronisation problem I observed in CCID3.
Patch 16: Preparation for using rw_locks on the sender TX history lists. Functions write and
read on the TX history asynchronously; this retrofits required locks.
Patch 17: TX history locking with analysis when Softirqs should be disabled.
Patch 18: Reduce time when TX lock is held - an optimisation of patch #17.
Patch 19: Remove unused fields from TX packet history structure - now even smaller.
Patch 20: Socket option to query current MPS - a `should' from RFC 4340, easy and useful to have.
Patch 21: Small optimisation for the dccp_wait_for_ccid loop.
Patch 22: Makes all debug' parameters of type bool' (since we are not using variable debug levels).
Patch 23: Fix for 64-bit architectures - use get_unaligned' to avoid kernel unaligned access' exception.
Patch 24: Macro for moving average - this is so often used in CCID3/TFRC that a macro becomes useful.
Patch 25: Add a test function dccp_data_packet (the analogue of `dccp_non_data_packet').