Re: [RFC PATCHv2 net-next 1/2] tcp: RTO Restart (RTOR)

2015-12-10 Thread Per Hurtig
> 10 dec. 2015 kl. 16:37 skrev Neal Cardwell : > >> On Thu, Dec 10, 2015 at 1:51 AM, Per Hurtig wrote: >> >>> On 08 Dec 2015, at 14:47, Eric Dumazet wrote: >>> >>> On Tue, 2015-12-08 at 10:19 +0100, Per Hurtig wrote: >>> >>>

Re: [RFC PATCHv2 net-next 1/2] tcp: RTO Restart (RTOR)

2015-12-09 Thread Per Hurtig
> On 08 Dec 2015, at 14:47, Eric Dumazet wrote: > > On Tue, 2015-12-08 at 10:19 +0100, Per Hurtig wrote: > >> +static u32 tcp_unsent_pkts(const struct sock *sk, u32 ulimit) >> +{ >> +struct sk_buff *skb = tcp_send_head(sk); >> +

Re: [RFC PATCHv2 net-next 1/2] tcp: RTO Restart (RTOR)

2015-12-08 Thread Per Hurtig
> On 08 Dec 2015, at 11:50, Ilpo Järvinen wrote: > > On Tue, 8 Dec 2015, Per Hurtig wrote: > >> This patch implements the RTO restart modification (RTOR). When data is >> ACKed, and the RTO timer is restarted, the time elapsed since the last >> outstanding segment

[RFC PATCHv2 net-next 1/2] tcp: RTO Restart (RTOR)

2015-12-08 Thread Per Hurtig
+ RTT [+ delACK] seconds. This patch also implements a new sysctl (tcp_timer_restart) that is used to control the timer restart behavior. Signed-off-by: Per Hurtig --- Documentation/networking/ip-sysctl.txt | 12 include/net/tcp.h | 6 ++ net/ipv4

[RFC PATCHv2 net-next 2/2] tcp: TLP restart (TLPR)

2015-12-08 Thread Per Hurtig
This patch implements the TLP restart modification (TLPR). When data is ACKed, and TLP's PTO timer is restarted, the time elapsed since the last outstanding segment was transmitted is subtracted from the calculated RTO value to not unnecessarily delay loss probes. Signed-off-by: Per H

[RFC PATCHv2 net-next 0/2] tcp: timer restart for tail loss

2015-12-08 Thread Per Hurtig
ct.eu/resources/rto-restart/ Per Hurtig (2): tcp: RTO Restart (RTOR) tcp: TLP restart (TLPR) Documentation/networking/ip-sysctl.txt | 12 include/net/tcp.h | 8 +++- net/ipv4/sysctl_net_ipv4.c | 10 ++ net/ipv4/tcp_input.c

Re: [RFC PATCH net-next 1/2] tcp: RTO Restart (RTOR)

2015-12-08 Thread Per Hurtig
> On 08 Dec 2015, at 03:05, Yuchung Cheng wrote: > > On Mon, Dec 7, 2015 at 1:00 AM, Per Hurtig wrote: >> This patch implements the RTO restart modification (RTOR). When data is >> ACKed, and the RTO timer is restarted, the time elapsed since the last >> outstanding

[RFC PATCH net-next 2/2] tcp: TLP restart (TLPR)

2015-12-07 Thread Per Hurtig
This patch implements the TLP restart modification (TLPR). When data is ACKed, and TLP's PTO timer is restarted, the time elapsed since the last outstanding segment was transmitted is subtracted from the calculated RTO value to not unnecessarily delay loss probes. Signed-off-by: Per H

[RFC PATCH net-next 1/2] tcp: RTO Restart (RTOR)

2015-12-07 Thread Per Hurtig
+ RTT [+ delACK] seconds. This patch also implements a new sysctl (tcp_timer_restart) that is used to control the timer restart behavior. Signed-off-by: Per Hurtig --- Documentation/networking/ip-sysctl.txt | 12 include/net/tcp.h | 4 net/ipv4

[RFC PATCH net-next 0/2] tcp: timer restart for tail loss

2015-12-07 Thread Per Hurtig
ct.eu/resources/rto-restart/ Per Hurtig (2): tcp: RTO Restart (RTOR) tcp: TLP restart (TLPR) Documentation/networking/ip-sysctl.txt | 12 include/net/tcp.h | 6 +- net/ipv4/sysctl_net_ipv4.c | 10 ++ net/ipv4/tcp_input.c