From: David Miller <davem@davemloft.net>
To: krkumar2@in.ibm.com
Cc: gaagaan@gmail.com, general@lists.openfabrics.org,
hadi@cyberus.ca, herbert@gondor.apana.org.au, jagana@us.ibm.com,
jeff@garzik.org, johnpol@2ka.mipt.ru, kaber@trash.net,
kumarkr@linux.ibm.com, mcarlson@broadcom.com, mchan@broadcom.com,
netdev@vger.kernel.org, peter.p.waskiewicz.jr@intel.com,
rdreier@cisco.com, rick.jones2@hp.com, Robert.Olsson@data.slu.se,
shemminger@linux-foundation.org, sri@us.ibm.com, tgraf@suug.ch,
xma@us.ibm.com
Subject: Re: [PATCH 0/9 Rev3] Implement batching skb API and support in IPoIB
Date: Tue, 21 Aug 2007 00:18:24 -0700 (PDT) [thread overview]
Message-ID: <20070821.001824.105429474.davem@davemloft.net> (raw)
In-Reply-To: <OFFFECFAD7.CF3FF115-ON6525733A.0020AE37-6525733A.00218365@in.ibm.com>
From: Krishna Kumar2 <krkumar2@in.ibm.com>
Date: Fri, 17 Aug 2007 11:36:03 +0530
> > I ran 3 iterations of 45 sec tests (total 1 hour 16 min, but I will
> > run a longer one tonight). The results are (results in KB/s, and %):
>
> I ran a 8.5 hours run with no batching + another 8.5 hours run with
> batching (Buffer sizes: "32 128 512 4096 16384", Threads: "1 8 32",
> Each test run time: 3 minutes, Iterations to average: 5). TCP seems
> to get a small improvement.
Using 16K buffer size really isn't going to keep the pipe full enough
for TSO. And realistically applications queue much more data at a
time. Also, with smaller buffer sizes can have negative effects for
the dynamic receive and send buffer growth algorithm the kernel uses,
it might consider the connection application limited for too long.
I would really prefer to see numbers that use buffer sizes more in
line with the amount of data that is typically inflight on a 1G
connection on a local network.
Do a tcpdump during the height of the transfer to see about what this
value is. When an ACK comes in, compare the sequence number it's
ACK'ing with the sequence number of the most recently sent frame.
The difference is approximately the pipe size at maximum congestion
window assuming a loss free local network.
next prev parent reply other threads:[~2007-08-21 7:18 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 6:06 [PATCH 0/9 Rev3] Implement batching skb API and support in IPoIB Krishna Kumar2
2007-08-21 7:18 ` David Miller [this message]
2007-08-21 12:30 ` [ofa-general] " jamal
2007-08-21 18:51 ` David Miller
2007-08-21 21:09 ` jamal
2007-08-21 22:50 ` David Miller
2007-08-22 4:11 ` [ofa-general] " Krishna Kumar2
2007-08-22 4:22 ` David Miller
2007-08-22 7:03 ` Krishna Kumar2
2007-08-22 9:14 ` David Miller
2007-08-23 2:43 ` Krishna Kumar2
2007-08-22 17:09 ` [ofa-general] " Rick Jones
2007-08-22 20:21 ` David Miller
2007-08-23 22:04 ` [ofa-general] " jamal
2007-08-23 22:25 ` jamal
2007-08-23 22:35 ` [ofa-general] " Rick Jones
2007-08-23 22:41 ` jamal
2007-08-24 3:18 ` Bill Fink
2007-08-24 12:14 ` jamal
2007-08-24 18:08 ` Bill Fink
2007-08-24 21:25 ` David Miller
2007-08-24 23:11 ` Herbert Xu
2007-08-25 23:45 ` Bill Fink
2007-08-24 18:46 ` [ofa-general] " Rick Jones
2007-08-25 0:42 ` John Heffner
2007-08-26 8:41 ` [ofa-general] " Bill Fink
2007-08-27 1:32 ` John Heffner
2007-08-27 2:04 ` David Miller
2007-08-27 23:23 ` jamal
2007-09-14 7:20 ` [ofa-general] " Bill Fink
2007-09-14 13:44 ` TSO, TCP Cong control etc jamal
2007-09-14 17:24 ` [PATCH 0/9 Rev3] Implement batching skb API and support in IPoIB David Miller
2007-08-23 22:30 ` David Miller
2007-08-23 22:38 ` [ofa-general] " jamal
2007-08-24 3:34 ` Stephen Hemminger
2007-08-24 12:36 ` jamal
2007-08-24 16:25 ` Rick Jones
[not found] <20070828.215150.98552996.davem@davemloft.net>
[not found] ` <OF46DAD75A.5ADE5863-ON65257346.001C9AA3-65257346.001CB0F4@in.ibm.com>
[not found] ` <20070828.221448.123919361.davem@davemloft.net>
2007-08-29 16:43 ` Waskiewicz Jr, Peter P
2007-09-03 9:21 ` Krishna Kumar2
-- strict thread matches above, loose matches on Subject: below --
2007-08-14 9:39 Krishna Kumar2
2007-08-08 22:01 [ofa-general] " David Miller
2007-08-09 4:19 ` Krishna Kumar2
2007-08-09 4:27 ` David Miller
2007-08-09 6:26 ` Krishna Kumar2
2007-08-08 13:42 [ofa-general] " Herbert Xu
2007-08-09 0:06 ` Shirley Ma
2007-08-08 10:49 [ofa-general] " David Miller
2007-08-08 11:09 ` Krishna Kumar2
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=20070821.001824.105429474.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Robert.Olsson@data.slu.se \
--cc=gaagaan@gmail.com \
--cc=general@lists.openfabrics.org \
--cc=hadi@cyberus.ca \
--cc=herbert@gondor.apana.org.au \
--cc=jagana@us.ibm.com \
--cc=jeff@garzik.org \
--cc=johnpol@2ka.mipt.ru \
--cc=kaber@trash.net \
--cc=krkumar2@in.ibm.com \
--cc=kumarkr@linux.ibm.com \
--cc=mcarlson@broadcom.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=peter.p.waskiewicz.jr@intel.com \
--cc=rdreier@cisco.com \
--cc=rick.jones2@hp.com \
--cc=shemminger@linux-foundation.org \
--cc=sri@us.ibm.com \
--cc=tgraf@suug.ch \
--cc=xma@us.ibm.com \
/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).