[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1377399129.8828.87.camel@edumazet-glaptop>
Date: Sat, 24 Aug 2013 19:52:09 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, ncardwell@...gle.com, ycheng@...gle.com,
vanj@...gle.com, therbert@...gle.com
Subject: Re: [PATCH net-next] tcp: TSO packets automatic sizing
On Sat, 2013-08-24 at 22:46 -0400, David Miller wrote:
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Fri, 23 Aug 2013 17:29:52 -0700
>
> > After hearing many people over past years complaining against TSO being
> > bursty or even buggy, we are proud to present automatic sizing of TSO
> > packets.
>
> Looks great.
>
> > + pr_debug("cwnd %u packets_out %u srtt %u -> rate = %llu bits\n",
> > + tp->snd_cwnd, tp->packets_out,
> > + jiffies_to_usecs(tp->srtt) >> 3, rate << 3);
>
> I'd suggest you remove this though.
>
Sure, but I found this very useful while debugging sch_fq.
CTRL=/sys/kernel/debug/dynamic_debug/control
echo "func tcp_rtt_estimator +p" >$CTRL
./netperf -l -1000000 -H lpq84
echo "func tcp_rtt_estimator -p" >$CTRL
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists