blob: 4b5db44970aa23c8e8032542d0f5d55ea6bed415 [file] [log] [blame]
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -07001menu "DCCP CCIDs Configuration (EXPERIMENTAL)"
Gerrit Renker6d57b432007-11-21 10:11:52 -02002 depends on EXPERIMENTAL
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -07003
Andrea Bittau8d424f62006-09-19 13:12:44 -07004config IP_DCCP_CCID2_DEBUG
Gerrit Renkerddebc972009-01-04 21:42:53 -08005 bool "CCID-2 debugging messages"
6 ---help---
7 Enable CCID-2 specific debugging messages.
Gerrit Renker84116712006-11-20 18:26:03 -02008
Gerrit Renkerddebc972009-01-04 21:42:53 -08009 The debugging output can additionally be toggled by setting the
10 ccid2_debug parameter to 0 or 1.
Andrea Bittau8d424f62006-09-19 13:12:44 -070011
Gerrit Renkerddebc972009-01-04 21:42:53 -080012 If in doubt, say N.
Andrea Bittau8d424f62006-09-19 13:12:44 -070013
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070014config IP_DCCP_CCID3
Gerrit Renkerddebc972009-01-04 21:42:53 -080015 bool "CCID-3 (TCP-Friendly) (EXPERIMENTAL)"
16 def_bool y if (IP_DCCP = y || IP_DCCP = m)
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070017 ---help---
Gerrit Renkerddebc972009-01-04 21:42:53 -080018 CCID-3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070019 rate-controlled congestion control mechanism. TFRC is designed to
20 be reasonably fair when competing for bandwidth with TCP-like flows,
21 where a flow is "reasonably fair" if its sending rate is generally
22 within a factor of two of the sending rate of a TCP flow under the
23 same conditions. However, TFRC has a much lower variation of
Gerrit Renkerddebc972009-01-04 21:42:53 -080024 throughput over time compared with TCP, which makes CCID-3 more
25 suitable than CCID-2 for applications such streaming media where a
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070026 relatively smooth sending rate is of importance.
27
Gerrit Renkerddebc972009-01-04 21:42:53 -080028 CCID-3 is further described in RFC 4342,
Gerrit Renker0e64e942006-10-24 16:17:51 -070029 http://www.ietf.org/rfc/rfc4342.txt
Andrea Bittau2a91aa32006-03-20 17:41:47 -080030
31 The TFRC congestion control algorithms were initially described in
Gerrit Renker4dbc2422009-01-11 00:17:22 -080032 RFC 5348.
Andrea Bittau2a91aa32006-03-20 17:41:47 -080033
Gerrit Renker0e64e942006-10-24 16:17:51 -070034 This text was extracted from RFC 4340 (sec. 10.2),
35 http://www.ietf.org/rfc/rfc4340.txt
Gerrit Renker84116712006-11-20 18:26:03 -020036
Gerrit Renkerddebc972009-01-04 21:42:53 -080037 If in doubt, say N.
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070038
Gerrit Renker56724aa2006-11-20 18:28:09 -020039config IP_DCCP_CCID3_DEBUG
Gerrit Renkerddebc972009-01-04 21:42:53 -080040 bool "CCID-3 debugging messages"
41 depends on IP_DCCP_CCID3
42 ---help---
43 Enable CCID-3 specific debugging messages.
Gerrit Renker56724aa2006-11-20 18:28:09 -020044
Gerrit Renkerddebc972009-01-04 21:42:53 -080045 The debugging output can additionally be toggled by setting the
46 ccid3_debug parameter to 0 or 1.
Gerrit Renker56724aa2006-11-20 18:28:09 -020047
Gerrit Renkerddebc972009-01-04 21:42:53 -080048 If in doubt, say N.
Gerrit Renker8a508ac2006-12-03 14:50:23 -020049
50config IP_DCCP_CCID3_RTO
51 int "Use higher bound for nofeedback timer"
52 default 100
53 depends on IP_DCCP_CCID3 && EXPERIMENTAL
54 ---help---
55 Use higher lower bound for nofeedback timer expiration.
56
57 The TFRC nofeedback timer normally expires after the maximum of 4
58 RTTs and twice the current send interval (RFC 3448, 4.3). On LANs
59 with a small RTT this can mean a high processing load and reduced
60 performance, since then the nofeedback timer is triggered very
61 frequently.
62
63 This option enables to set a higher lower bound for the nofeedback
64 value. Values in units of milliseconds can be set here.
65
66 A value of 0 disables this feature by enforcing the value specified
67 in RFC 3448. The following values have been suggested as bounds for
68 experimental use:
69 * 16-20ms to match the typical multimedia inter-frame interval
70 * 100ms as a reasonable compromise [default]
71 * 1000ms corresponds to the lower TCP RTO bound (RFC 2988, 2.4)
72
73 The default of 100ms is a compromise between a large value for
74 efficient DCCP implementations, and a small value to avoid disrupting
75 the network in times of congestion.
76
77 The purpose of the nofeedback timer is to slow DCCP down when there
78 is serious network congestion: experimenting with larger values should
79 therefore not be performed on WANs.
80
Gerrit Renkerc40616c2007-12-06 12:26:38 -020081config IP_DCCP_TFRC_LIB
Gerrit Renker129fa442009-01-04 21:45:33 -080082 def_bool y if IP_DCCP_CCID3
Gerrit Renkerc40616c2007-12-06 12:26:38 -020083
84config IP_DCCP_TFRC_DEBUG
Gerrit Renker129fa442009-01-04 21:45:33 -080085 def_bool y if IP_DCCP_CCID3_DEBUG
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070086endmenu