From: Rick Jones <rick.jones2@hp.com>
To: Felix von Leitner <felix-linuxkernel@fefe.de>
Cc: Chuck Ebbert <cebbert@redhat.com>,
linux-kernel@vger.kernel.org, Netdev <netdev@vger.kernel.org>
Subject: Re: bizarre network timing problem
Date: Thu, 18 Oct 2007 10:22:18 -0700 [thread overview]
Message-ID: <4717964A.8080100@hp.com> (raw)
In-Reply-To: <20071018094230.GA2978@codeblau.de>
Felix von Leitner wrote:
>>the packet trace was a bit too cooked perhaps, but there were indications
>>that at times the TCP window was going to zero - perhaps something with
>>window updates or persist timers?
>
>
> Does TCP use different window sizes on loopback? Why is this not
> happening on ethernet?
I don't think it uses different window sizes on loopback, but with the
autotuning it can be difficult to say a priori what the window size will be.
What one can say with confidence is that the MTU and thus the MSS will be
different between loopback and ethernet.
>
> How could I test this theory?
Can you take another trace that isn't so "cooked?" One that just sticks with
TCP-level and below stuff?
If SMB is a one-request-at-a-time protocol (I can never remember), you could
simulate it with a netperf TCP_RR test by passing suitable values to the
test-specific -r option:
netperf -H <remote> -t TCP_RR -- -r <req>,<rsp>
If that shows similar behaviour then you can ass-u-me it isn't your application.
One caveat though is that TCP_CORK mode in netperf is very primitive and may
not match what you are doing, however, that may be a good thing.
http://www.netperf.org/svn/netperf2/tags/netperf-2.4.4/ or
ftp://ftp.netperf.org/netperf/
to get the current netperf bits. It is also possible to get multiple
transactions in flight at one time if you configure netperf with --enable-burst,
which will then enable a test-specific -b option. With the latest netperf you
cna also switch the output of a TCP_RR test to bits or bytes per second a la the
_STREAM tests.
rick jones
>
> My initial idea was that it has something todo with the different MTU on
> loopback. My initial block size was 16k, but the problem stayed when I
> changed it to 64k.
>
> Felix
next prev parent reply other threads:[~2007-10-18 17:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20071017205127.GA21334@codeblau.de>
2007-10-17 21:17 ` bizarre network timing problem Chuck Ebbert
2007-10-17 22:00 ` Felix von Leitner
2007-10-17 22:16 ` Rick Jones
2007-10-18 9:42 ` Felix von Leitner
2007-10-18 17:22 ` Rick Jones [this message]
2007-11-02 22:11 ` Felix von Leitner
2007-11-02 22:33 ` Rick Jones
2007-11-02 22:38 ` Felix von Leitner
2007-11-02 22:58 ` Rick Jones
2007-11-02 23:23 ` Felix von Leitner
2007-11-06 21:12 ` Rick Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4717964A.8080100@hp.com \
--to=rick.jones2@hp.com \
--cc=cebbert@redhat.com \
--cc=felix-linuxkernel@fefe.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).