Re: [PATCH net-next 1/2] tcp: measure rwnd-limited time

2016-09-08 Thread Yuchung Cheng
On Wed, Sep 7, 2016 at 5:27 PM, David Miller wrote: > > From: "Francis Y. Yan" > Date: Tue, 6 Sep 2016 18:32:40 -0700 > > > diff --git a/include/linux/tcp.h b/include/linux/tcp.h > > index 7be9b12..f5b588e 100644 > > --- a/include/linux/tcp.h > > +++

Re: [PATCH net-next 1/2] tcp: measure rwnd-limited time

2016-09-07 Thread David Miller
From: "Francis Y. Yan" Date: Tue, 6 Sep 2016 18:32:40 -0700 > diff --git a/include/linux/tcp.h b/include/linux/tcp.h > index 7be9b12..f5b588e 100644 > --- a/include/linux/tcp.h > +++ b/include/linux/tcp.h > @@ -176,6 +176,7 @@ struct tcp_sock { >

Re: [PATCH net-next 1/2] tcp: measure rwnd-limited time

2016-09-07 Thread Eric Dumazet
On Tue, 2016-09-06 at 18:32 -0700, Francis Y. Yan wrote: > This patch measures the total time when TCP transmission is limited > by receiver's advertised window (rwnd), and exports it in tcp_info as > tcpi_rwnd_limited. > > The rwnd-limited time is defined as the period when the next segment > to

Re: [PATCH net-next 1/2] tcp: measure rwnd-limited time

2016-09-06 Thread Soheil Hassas Yeganeh
On Tue, Sep 6, 2016 at 9:32 PM, Francis Y. Yan wrote: > This patch measures the total time when TCP transmission is limited > by receiver's advertised window (rwnd), and exports it in tcp_info as > tcpi_rwnd_limited. > > The rwnd-limited time is defined as the period when

[PATCH net-next 1/2] tcp: measure rwnd-limited time

2016-09-06 Thread Francis Y. Yan
This patch measures the total time when TCP transmission is limited by receiver's advertised window (rwnd), and exports it in tcp_info as tcpi_rwnd_limited. The rwnd-limited time is defined as the period when the next segment to send by TCP cannot fit into rwnd. To measure it, we record the last