Re: ICMP benchmark?
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Tue, 22 Nov 2005 20:26:49 GMT
Dan Stromberg <strombrg@xxxxxxxxxxxxxxx> wrote:
> On Tue, 22 Nov 2005 18:38:11 +0000, Rick Jones wrote:
>> In comp.benchmarks Dan Stromberg <strombrg@xxxxxxxxxxxxxxx> wrote:
>>> We (at UCI) have a gigabit network we need to troubleshoot. It
>>> seems to be underperforming quite a lot - like it's performing about
>>> 1/10th of what it should.
>>
>> Have you looked in your local stats for the usual suspects of packet
>> loss and the like?
> We have good stats on the two endpoints, and on one of the routers, but
> not all of the routers. The things we've checked don't appear to be
> losing packets, and mtr thinks we aren't losing packets, endpoint to
> endpoint.
If your stats on the endpoints show _NO_ drops or retransmissions,
(zero, not simply seemingly low) then from _that_ aspect at least the
stats in the middle are a don't care. No drops/retrans recored on the
ends means no drops in the middle (well, as I type that I suppose a
retransmitting link-level.... sigh)
>> Compared TCP window sizes (min of receive, cwnd and send) to the RTT?
> I'm not familiar with these three attributes of a TCP window size.
> Do you perhaps have a moment to characterize them?
There are basically three "windows" for a TCP connection these days
(at least that I can think of :). First is the classic receive window
- the one that is carried in the window field of the TCP header.
The second is the congestion window (aka cwnd) - this is basically a
figment of the sender's imagination (as it were :) in that it does not
appear in a header field - it is the sender's best guesstimate of how
much data she can dump onto the network without triggering
congestion-induced packet loss.
The third is what I call the send window but that name isn't all that
good. TCP has to retain a reference to all data it sends, until the
ACK arrives. There are limits to how much TCP can track, often it is
based on what is set via the SO_SNDBUF size. This is why the sending
TCP has to set SO_SNDBUF size in addition to the receiving TCP setting
SO_RCVBUF size...
TCP will (should) never have more data outstanding at any one time
than the minimum of those three "window" sizes.
> Anyway, we've been jacking our TCP window sizes as large as they'll
> go, which has been about 1.2 megabytes so far. We've also looked at
> our RTT.
And what is your RTT? In particular, what happens when you plug that
and your assumed window size into the equation below?
> Do you have a moment to describe the relationship between the TCP
> window size and the RTT?
Throughput <= Window/RTT
rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- Follow-Ups:
- Re: ICMP benchmark?
- From: Dan Stromberg
- Re: ICMP benchmark?
- References:
- Re: ICMP benchmark?
- From: Rick Jones
- Re: ICMP benchmark?
- From: Dan Stromberg
- Re: ICMP benchmark?
- Prev by Date: Re: ICMP benchmark?
- Next by Date: Re: ICMP benchmark?
- Previous by thread: Re: ICMP benchmark?
- Next by thread: Re: ICMP benchmark?
- Index(es):
Relevant Pages
|