Kconfig 4.4 KB

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