Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. menu "DCCP CCIDs Configuration (EXPERIMENTAL)"
  2. depends on EXPERIMENTAL
  3. config IP_DCCP_CCID2
  4. tristate "CCID2 (TCP-Like) (EXPERIMENTAL)"
  5. def_tristate IP_DCCP
  6. select IP_DCCP_ACKVEC
  7. ---help---
  8. CCID 2, TCP-like Congestion Control, denotes Additive Increase,
  9. Multiplicative Decrease (AIMD) congestion control with behavior
  10. modelled directly on TCP, including congestion window, slow start,
  11. timeouts, and so forth [RFC 2581]. CCID 2 achieves maximum
  12. bandwidth over the long term, consistent with the use of end-to-end
  13. congestion control, but halves its congestion window in response to
  14. each congestion event. This leads to the abrupt rate changes
  15. typical of TCP. Applications should use CCID 2 if they prefer
  16. maximum bandwidth utilization to steadiness of rate. This is often
  17. the case for applications that are not playing their data directly
  18. to the user. For example, a hypothetical application that
  19. transferred files over DCCP, using application-level retransmissions
  20. for lost packets, would prefer CCID 2 to CCID 3. On-line games may
  21. also prefer CCID 2. See RFC 4341 for further details.
  22. CCID2 is the default CCID used by DCCP.
  23. config IP_DCCP_CCID2_DEBUG
  24. bool "CCID2 debugging messages"
  25. depends on IP_DCCP_CCID2
  26. ---help---
  27. Enable CCID2-specific debugging messages.
  28. When compiling CCID2 as a module, this debugging output can
  29. additionally be toggled by setting the ccid2_debug module
  30. parameter to 0 or 1.
  31. If in doubt, say N.
  32. config IP_DCCP_CCID3
  33. tristate "CCID3 (TCP-Friendly) (EXPERIMENTAL)"
  34. def_tristate IP_DCCP
  35. select IP_DCCP_TFRC_LIB
  36. ---help---
  37. CCID 3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
  38. rate-controlled congestion control mechanism. TFRC is designed to
  39. be reasonably fair when competing for bandwidth with TCP-like flows,
  40. where a flow is "reasonably fair" if its sending rate is generally
  41. within a factor of two of the sending rate of a TCP flow under the
  42. same conditions. However, TFRC has a much lower variation of
  43. throughput over time compared with TCP, which makes CCID 3 more
  44. suitable than CCID 2 for applications such streaming media where a
  45. relatively smooth sending rate is of importance.
  46. CCID 3 is further described in RFC 4342,
  47. http://www.ietf.org/rfc/rfc4342.txt
  48. The TFRC congestion control algorithms were initially described in
  49. RFC 3448.
  50. This text was extracted from RFC 4340 (sec. 10.2),
  51. http://www.ietf.org/rfc/rfc4340.txt
  52. To compile this CCID as a module, choose M here: the module will be
  53. called dccp_ccid3.
  54. If in doubt, say M.
  55. config IP_DCCP_CCID3_DEBUG
  56. bool "CCID3 debugging messages"
  57. depends on IP_DCCP_CCID3
  58. ---help---
  59. Enable CCID3-specific debugging messages.
  60. When compiling CCID3 as a module, this debugging output can
  61. additionally be toggled by setting the ccid3_debug module
  62. parameter to 0 or 1.
  63. If in doubt, say N.
  64. config IP_DCCP_CCID3_RTO
  65. int "Use higher bound for nofeedback timer"
  66. default 100
  67. depends on IP_DCCP_CCID3 && EXPERIMENTAL
  68. ---help---
  69. Use higher lower bound for nofeedback timer expiration.
  70. The TFRC nofeedback timer normally expires after the maximum of 4
  71. RTTs and twice the current send interval (RFC 3448, 4.3). On LANs
  72. with a small RTT this can mean a high processing load and reduced
  73. performance, since then the nofeedback timer is triggered very
  74. frequently.
  75. This option enables to set a higher lower bound for the nofeedback
  76. value. Values in units of milliseconds can be set here.
  77. A value of 0 disables this feature by enforcing the value specified
  78. in RFC 3448. The following values have been suggested as bounds for
  79. experimental use:
  80. * 16-20ms to match the typical multimedia inter-frame interval
  81. * 100ms as a reasonable compromise [default]
  82. * 1000ms corresponds to the lower TCP RTO bound (RFC 2988, 2.4)
  83. The default of 100ms is a compromise between a large value for
  84. efficient DCCP implementations, and a small value to avoid disrupting
  85. the network in times of congestion.
  86. The purpose of the nofeedback timer is to slow DCCP down when there
  87. is serious network congestion: experimenting with larger values should
  88. therefore not be performed on WANs.
  89. config IP_DCCP_TFRC_LIB
  90. tristate
  91. default n
  92. config IP_DCCP_TFRC_DEBUG
  93. bool
  94. depends on IP_DCCP_TFRC_LIB
  95. default y if IP_DCCP_CCID3_DEBUG
  96. endmenu