Re: [PATCH v2 net-next 2/2] tcp: add CDG congestion control

2015-06-09 Thread Yuchung Cheng
On Tue, Jun 9, 2015 at 3:41 PM, Kenneth Klette Jonassen wrote: > On Tue, Jun 9, 2015 at 7:44 AM, Yuchung Cheng wrote: >> On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen >> wrote: > … > >>> +enum cdg_state { >>> + CDG_UNKNOWN = 0, >>> + CDG_FULL= 0, >> why duplicate state

Re: [PATCH v2 net-next 2/2] tcp: add CDG congestion control

2015-06-09 Thread Kenneth Klette Jonassen
On Tue, Jun 9, 2015 at 7:44 AM, Yuchung Cheng wrote: > On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen > wrote: … >> +enum cdg_state { >> + CDG_UNKNOWN = 0, >> + CDG_FULL= 0, > why duplicate states? We explicitly infer a full or non-full queue in tcp_cdg_grad(). The un

Re: [PATCH v2 net-next 2/2] tcp: add CDG congestion control

2015-06-08 Thread Yuchung Cheng
On Mon, Jun 8, 2015 at 10:43 AM, Kenneth Klette Jonassen wrote: > CAIA Delay-Gradient (CDG) is a TCP congestion control that modifies > the TCP sender in order to [1]: > > o Use the delay gradient as a congestion signal. > o Back off with an average probability that is independent of the RTT.

[PATCH v2 net-next 2/2] tcp: add CDG congestion control

2015-06-08 Thread Kenneth Klette Jonassen
CAIA Delay-Gradient (CDG) is a TCP congestion control that modifies the TCP sender in order to [1]: o Use the delay gradient as a congestion signal. o Back off with an average probability that is independent of the RTT. o Coexist with flows that use loss-based congestion control, i.e., f