Blame view

Documentation/networking/dctcp.rst 1.69 KB
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
1
2
3
  .. SPDX-License-Identifier: GPL-2.0
  
  ======================
e3118e835   Daniel Borkmann   net: tcp: add DCT...
4
  DCTCP (DataCenter TCP)
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
5
  ======================
e3118e835   Daniel Borkmann   net: tcp: add DCT...
6
7
8
9
  
  DCTCP is an enhancement to the TCP congestion control algorithm for data
  center networks and leverages Explicit Congestion Notification (ECN) in
  the data center network to provide multi-bit feedback to the end hosts.
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
10
  To enable it on end hosts::
e3118e835   Daniel Borkmann   net: tcp: add DCT...
11
12
  
    sysctl -w net.ipv4.tcp_congestion_control=dctcp
492135557   Daniel Borkmann   tcp: add rfc3168,...
13
    sysctl -w net.ipv4.tcp_ecn_fallback=0 (optional)
e3118e835   Daniel Borkmann   net: tcp: add DCT...
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  
  All switches in the data center network running DCTCP must support ECN
  marking and be configured for marking when reaching defined switch buffer
  thresholds. The default ECN marking threshold heuristic for DCTCP on
  switches is 20 packets (30KB) at 1Gbps, and 65 packets (~100KB) at 10Gbps,
  but might need further careful tweaking.
  
  For more details, see below documents:
  
  Paper:
  
  The algorithm is further described in detail in the following two
  SIGCOMM/SIGMETRICS papers:
  
   i) Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye,
      Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, and Murari Sridharan:
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
30
31
  
        "Data Center TCP (DCTCP)", Data Center Networks session"
e3118e835   Daniel Borkmann   net: tcp: add DCT...
32
        Proc. ACM SIGCOMM, New Delhi, 2010.
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
33

e3118e835   Daniel Borkmann   net: tcp: add DCT...
34
35
36
37
      http://simula.stanford.edu/~alizade/Site/DCTCP_files/dctcp-final.pdf
      http://www.sigcomm.org/ccr/papers/2010/October/1851275.1851192
  
  ii) Mohammad Alizadeh, Adel Javanmard, and Balaji Prabhakar:
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
38

e3118e835   Daniel Borkmann   net: tcp: add DCT...
39
40
        "Analysis of DCTCP: Stability, Convergence, and Fairness"
        Proc. ACM SIGMETRICS, San Jose, 2011.
8447bb44e   Mauro Carvalho Chehab   docs: networking:...
41

e3118e835   Daniel Borkmann   net: tcp: add DCT...
42
43
44
45
46
47
48
49
50
      http://simula.stanford.edu/~alizade/Site/DCTCP_files/dctcp_analysis-full.pdf
  
  IETF informational draft:
  
    http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00
  
  DCTCP site:
  
    http://simula.stanford.edu/~alizade/Site/DCTCP.html