[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071203163217.27e4df3f@freepuppy.rosehill>
Date: Mon, 3 Dec 2007 16:32:17 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: <shaoliu@...nceton.EDU>
Cc: "'Lachlan Andrew'" <lachlan.andrew@...il.com>,
"'David S. Miller'" <davem@...emloft.net>,
"'Herbert Xu'" <herbert@...dor.apana.org.au>,
"'Douglas Leith'" <doug.leith@...m.ie>,
"'Robert Shorten'" <robert.shorten@...m.ie>,
<netdev@...r.kernel.org>
Subject: Re: [RFC] TCP illinois max rtt aging
On Mon, 3 Dec 2007 15:59:23 -0800
"Shao Liu" <shaoliu@...nceton.EDU> wrote:
> Hi Stephen and Lachlan,
>
> Thanks for the discussion. The gradual aging is surely an option. And
> another possibility is that, we compute the RTT just before congestion
> notification, which ideally, represent the full queueing delay + propagation
> delay. We can compute the average of the last M such values, and either use
> the average as maxRTT, or use it as a benchmark to judge whether a sample is
> outlier. How do you think of this idea?
The problem with an average like that would be storing enough values
to be useful and choosing how many to store. Perhaps some form of
weighted sliding average which favors recent values heavily would work
best. Remember that RTT's have a huge noise component and you are
fighting against the long tail distribution trying to see the queue
effects.
>
> And also a question, why the samples when SACK is active are outliers?
Any sample with SACK is going to mean a loss or reordering has occurred.
So shouldn't the SACK values be useful, but RTT values from retransmits
are not useful.
>
> For the accuracy of time stamping, I am not very familiar with the
> implementation details. But I can think of two ways, 1) do time stamp in as
> low layer as possible; 2) use as high priority thread to do it as possible.
> For 2), we can use separate threads to do time stamp and to process packets.
Right now the resolution is in microseconds using the hardware clock.
The clock usage costs a little bit, but makes the math more accurate.
It would be worth exploring sensitivity by taking out RTT_STAMP from
the flags field and varying HZ.
--
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