Re: TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread rohan puri
On Wed, Sep 21, 2011 at 8:58 PM, Daniel Baluta wrote: > > Now the default value is of both the macros is same. > > > > But if you want to make delayed ack timeout configurable, then I think > you > > should give proc interface for TCP_DELACK_MIN. > > Thanks Rohan. Then also I have to export TCP_DE

Re: TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread Daniel Baluta
> Now the default value is of both the macros is same. > > But if you want to make delayed ack timeout configurable, then I think you > should give proc interface for TCP_DELACK_MIN. Thanks Rohan. Then also I have to export TCP_DELACK_MAX since I think ato cannot grow over this value. thanks, Dan

Re: TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread rohan puri
On Wed, Sep 21, 2011 at 6:29 PM, Daniel Baluta wrote: > Hello, > > RFC2582, Section 4.2 says: > > "... an ACK SHOULD be generated for at least every second > full-sized segment, and MUST be generated within 500 ms > of the arrival of the first unacknowledged packet. ". > > > I guess that the delay

TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread Daniel Baluta
Hello, RFC2582, Section 4.2 says: "... an ACK SHOULD be generated for at least every second full-sized segment, and MUST be generated within 500 ms of the arrival of the first unacknowledged packet. ". I guess that the delayed ACK timeout is computed in tcp_send_delayed_ack: === void tcp_send_