: Less is more - CCID3 patch set revised
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | : Revert use of MSS instead of snet/ | +12 | 0 replies | |
| 2/16 | : Ignore trivial amounts of elapsed timenet/ net/ | +1 | 0 replies | |
| 3/16 | : Accurately determine idle & application-limited periodsnet/ net/ | +10 | 0 replies | |
| 4/16 | : Inline for moving averagenet/ net/ | +14 | 0 replies | |
| 5/16 | : Migrate TX history to singly-linked listnet/ net/ net/ +1 more | +155 | 0 replies | |
| 6/16 | : Remove old (doubly-linked list) TX historynet/ net/ | +0 | 0 replies | |
| 7/16 | : Provide central source file and debug facilitynet/ net/ net/ +4 more | +64 | 0 replies | |
| 8/16 | : New RX history implementationnet/ net/ net/ +1 more | +255 | 0 replies | |
| 9/16 | : Hook up with new RX history interfacenet/ net/ | +101 | 0 replies | |
| 10/16 | : Remove old RX history interfacenet/ net/ net/ | +9 | 0 replies | |
| 11/16 | : Ringbuffer to track loss interval historynet/ net/ net/ +2 more | +400 | 0 replies | |
| 12/16 | : Interface CCID3 code with newer Loss Intervals Databasenet/ net/ net/ | +72 | 0 replies | |
| 13/16 | : Remove previous loss intervals implementationnet/ net/ net/ | +13 | 0 replies | |
| 14/16 | : Use a function to update p_inv, and p is never usednet/ net/ | +12 | 0 replies | |
| 15/16 | : Implement rfc3448bis changes to feedback receptionnet/ | +86 | 0 replies | |
| 16/16 | : Nofeedback timer according to rfc3448bisnet/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/16]: Less is more - CCID3 patch set revised
This resubmission represents the same changeset as before, but with a significant reduction in the number of patches: from 40 down to 16.
While an even smaller number of patches would be possible, this would lump together unrelated changes, which should be avoided (ugly).
The set is line-by-line identical with the previous CCID3, apart from two format differences detailed below.
Major changes:
1. All `glue' patches have been removed, each patch solves an actual problem.
2. All patch inter-dependencies have been completely removed:
T h e e n t i r e t e s t t r e e i s n o w f u l l y b i s e c t a b l e
This has been exhaustively verified on three different architectures: doing a full module build (not just source compilation) for each single patch in the test tree. This passed in all cases.
The two changes are
(a) I have added myself as MODULE_AUTHOR in ccids/lib/tfrc_module.c, so as to get emails about bugs (not that I believe/hope there are much, the code has been running allright for over 9 months now).
(b) Another update with regard to Documentation/CodingStyle (in ccid3.c):
- } else if (tfrc_lh_update_i_mean(&hcrx->ccid3hcrx_li_hist, skb))
+ } else if (tfrc_lh_update_i_mean(&hcrx->ccid3hcrx_li_hist, skb)) {
/*
* Step (3) of [RFC 3448, 6.1]: Recompute I_mean and, if I_mean
* has decreased (resp. p has increased), send feedback now.
*/
do_feedback = FBACK_PARAM_CHANGE;
+ }You can verify this by running a diff as follows:
git-checkout -b old master
curl http://www.erg.abdn.ac.uk/users/gerrit/dccp/testing_dccp/test-tree/test-tree_2.6.24-rc2.diff.gz|gzip -d|patch -p1 git-add net/dccp/ccids/lib/tfrc_module.c; git-commit -a -mold
git-checkout -b new master
git-pull git://eden-feed.erg.abdn.ac.uk/dccp_exp dccp
git-diff old..new
I have updated the CCID4 patches to match this change also.
Ian, since you signed off every single of the 40 previous patches, I have kept your Signed-off-by's for this resubmission, since it is effectively identical with before.
--------------------------------- Detailed Patch listing -------------------------------------------------------------
Patch #1: Rectifies incorrect use of MSS instead of `s' in the CCID3 code. Patch #2: Removes a code block which reports trivial/negligible amounts of Elapsed Time. Patch #3: Better detection of application-limited and idle periods. Patch #4: Inline for moving average (EWMA).
Patch #5: Migrate & update TFRC TX history to singly-linked list. Patch #6: Remove old TFRC TX history infrastructure.
Patch #7: Provide one file which holds the module build for dccp_tfrc_lib together.
Patch #9: Reduce TFRC RX history to a small structure of only 4 entries (and that is sufficient). Patch #10: Hook up new TFRC RX history with CCID3.
Patch #11: Remove old TFRC RX history infrastructure.
Patch #12: Introduce ringbuffer-based loss intervals database (which updates/completes many of the loss algorithms). Patch #13: Interface new loss intervals database with CCID3.
Patch #14: Remove old loss interval tracking infrastructure.
Patch #15: Implement rfc3448bis changes to feedback reception (code used the old RFC 3448). Patch #16: Implement rfc3448bis changes to nofeedback timer handling (code used the old RFC 3448).
As before, the entire changeset is fully documented on
http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/ccid3_packet_reception/