Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 1 | menu "DCCP CCIDs Configuration (EXPERIMENTAL)" |
Gerrit Renker | 6d57b43 | 2007-11-21 10:11:52 -0200 | [diff] [blame] | 2 | depends on EXPERIMENTAL |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 3 | |
Andrea Bittau | 8d424f6 | 2006-09-19 13:12:44 -0700 | [diff] [blame] | 4 | config IP_DCCP_CCID2_DEBUG |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 5 | bool "CCID-2 debugging messages" |
| 6 | ---help--- |
| 7 | Enable CCID-2 specific debugging messages. |
Gerrit Renker | 8411671 | 2006-11-20 18:26:03 -0200 | [diff] [blame] | 8 | |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 9 | The debugging output can additionally be toggled by setting the |
| 10 | ccid2_debug parameter to 0 or 1. |
Andrea Bittau | 8d424f6 | 2006-09-19 13:12:44 -0700 | [diff] [blame] | 11 | |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 12 | If in doubt, say N. |
Andrea Bittau | 8d424f6 | 2006-09-19 13:12:44 -0700 | [diff] [blame] | 13 | |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 14 | config IP_DCCP_CCID3 |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 15 | bool "CCID-3 (TCP-Friendly) (EXPERIMENTAL)" |
| 16 | def_bool y if (IP_DCCP = y || IP_DCCP = m) |
Gerrit Renker | c40616c | 2007-12-06 12:26:38 -0200 | [diff] [blame] | 17 | select IP_DCCP_TFRC_LIB |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 18 | ---help--- |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 19 | CCID-3 denotes TCP-Friendly Rate Control (TFRC), an equation-based |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 20 | rate-controlled congestion control mechanism. TFRC is designed to |
| 21 | be reasonably fair when competing for bandwidth with TCP-like flows, |
| 22 | where a flow is "reasonably fair" if its sending rate is generally |
| 23 | within a factor of two of the sending rate of a TCP flow under the |
| 24 | same conditions. However, TFRC has a much lower variation of |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 25 | throughput over time compared with TCP, which makes CCID-3 more |
| 26 | suitable than CCID-2 for applications such streaming media where a |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 27 | relatively smooth sending rate is of importance. |
| 28 | |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 29 | CCID-3 is further described in RFC 4342, |
Gerrit Renker | 0e64e94 | 2006-10-24 16:17:51 -0700 | [diff] [blame] | 30 | http://www.ietf.org/rfc/rfc4342.txt |
Andrea Bittau | 2a91aa3 | 2006-03-20 17:41:47 -0800 | [diff] [blame] | 31 | |
| 32 | The TFRC congestion control algorithms were initially described in |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 33 | RFC 5448. |
Andrea Bittau | 2a91aa3 | 2006-03-20 17:41:47 -0800 | [diff] [blame] | 34 | |
Gerrit Renker | 0e64e94 | 2006-10-24 16:17:51 -0700 | [diff] [blame] | 35 | This text was extracted from RFC 4340 (sec. 10.2), |
| 36 | http://www.ietf.org/rfc/rfc4340.txt |
Gerrit Renker | 8411671 | 2006-11-20 18:26:03 -0200 | [diff] [blame] | 37 | |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 38 | If in doubt, say N. |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 39 | |
Gerrit Renker | 56724aa | 2006-11-20 18:28:09 -0200 | [diff] [blame] | 40 | config IP_DCCP_CCID3_DEBUG |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 41 | bool "CCID-3 debugging messages" |
| 42 | depends on IP_DCCP_CCID3 |
| 43 | ---help--- |
| 44 | Enable CCID-3 specific debugging messages. |
Gerrit Renker | 56724aa | 2006-11-20 18:28:09 -0200 | [diff] [blame] | 45 | |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 46 | The debugging output can additionally be toggled by setting the |
| 47 | ccid3_debug parameter to 0 or 1. |
Gerrit Renker | 56724aa | 2006-11-20 18:28:09 -0200 | [diff] [blame] | 48 | |
Gerrit Renker | ddebc97 | 2009-01-04 21:42:53 -0800 | [diff] [blame^] | 49 | If in doubt, say N. |
Gerrit Renker | 8a508ac | 2006-12-03 14:50:23 -0200 | [diff] [blame] | 50 | |
| 51 | config IP_DCCP_CCID3_RTO |
| 52 | int "Use higher bound for nofeedback timer" |
| 53 | default 100 |
| 54 | depends on IP_DCCP_CCID3 && EXPERIMENTAL |
| 55 | ---help--- |
| 56 | Use higher lower bound for nofeedback timer expiration. |
| 57 | |
| 58 | The TFRC nofeedback timer normally expires after the maximum of 4 |
| 59 | RTTs and twice the current send interval (RFC 3448, 4.3). On LANs |
| 60 | with a small RTT this can mean a high processing load and reduced |
| 61 | performance, since then the nofeedback timer is triggered very |
| 62 | frequently. |
| 63 | |
| 64 | This option enables to set a higher lower bound for the nofeedback |
| 65 | value. Values in units of milliseconds can be set here. |
| 66 | |
| 67 | A value of 0 disables this feature by enforcing the value specified |
| 68 | in RFC 3448. The following values have been suggested as bounds for |
| 69 | experimental use: |
| 70 | * 16-20ms to match the typical multimedia inter-frame interval |
| 71 | * 100ms as a reasonable compromise [default] |
| 72 | * 1000ms corresponds to the lower TCP RTO bound (RFC 2988, 2.4) |
| 73 | |
| 74 | The default of 100ms is a compromise between a large value for |
| 75 | efficient DCCP implementations, and a small value to avoid disrupting |
| 76 | the network in times of congestion. |
| 77 | |
| 78 | The purpose of the nofeedback timer is to slow DCCP down when there |
| 79 | is serious network congestion: experimenting with larger values should |
| 80 | therefore not be performed on WANs. |
| 81 | |
Gerrit Renker | c40616c | 2007-12-06 12:26:38 -0200 | [diff] [blame] | 82 | config IP_DCCP_TFRC_LIB |
| 83 | tristate |
| 84 | default n |
| 85 | |
| 86 | config IP_DCCP_TFRC_DEBUG |
| 87 | bool |
| 88 | depends on IP_DCCP_TFRC_LIB |
| 89 | default y if IP_DCCP_CCID3_DEBUG |
Gerrit Renker | 8a508ac | 2006-12-03 14:50:23 -0200 | [diff] [blame] | 90 | |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 91 | endmenu |