From: "Leonid Grossman" <leonid.grossman@s2io.com>
To: "'Andi Kleen'" <ak@suse.de>
Cc: <hadi@cyberus.ca>, <netdev@oss.sgi.com>
Subject: RE: FW: Submission for S2io 10GbE driver
Date: Sun, 25 Jan 2004 09:56:47 -0800 [thread overview]
Message-ID: <009001c3e36c$9b6f1f70$0400a8c0@S2IOtech.com> (raw)
In-Reply-To: <20040124155809.15fe167e.ak@suse.de>
> > In Linux, there are couple performance issues that we see
> > - transmit performance is noticeably worse than in Windows
>
> In Linux 2.6 with TSO?
You are right, sorry.. It's TS0 not LSO in Linux and Unix. After doing
first ndis Send offload implementation back at Alteon, LSO acronym got
engraved into my brain :-)
>
> Other than that I would suggest to enable oprofile on 2.6 and post
> the profile numbers on the list.
Will do. Also - it's a bit embarrassing to admit but I suspect 2.6
installations that my test and development teams do are still more art
than science, I'm not sure we always end up with a trusted setup. Could
someone point me towards a good description of upgrading to 2.6 kernel,
either from RH AS 3.0 or from Suse distribution?
>
> > - checksum in 2.4 seems to be calculated by the host even if the
> > device enables checksum offload
>
> You have to use sendfile() for TX checksum off load. Without that the
> data needs to be copied anyways and a copy+csum is about the
> same cost as a simple copy.
We've done couple quick tests on this recently with benchmarking
software - Chariot has some scripts that use sendfile(), and also one of
nttcp versions has -f option. In both cases, using sendfile() did not
seem to improve the maximum send performance on 10GbE; we are planning
to do some more testing though...
>
> > - Large Send Offload in 2.6 (no LSO in 2.4) give much smaller boost
> > comparing to Windows; on some systems there is no gain from LSO at
> > all.
>
> You mean TSO? Are you sure the test programs submitted big enough
> buffers to the TCP stack?
The driver is definitely getting large send requests, if this is what
you are asking. Our testing with 2.6 up to date is pretty limited, but
on some server configurations we see some noticeable performance gain
from TSO (the gain is smaller than from LSO in Windows though), on other
setups performance with TSO enabled is the same or even less that
without TSO enabled.
Thanks for the advice, looks like we have couple things to try.
Regards, Leonid
>
>
> -Andi
>
next prev parent reply other threads:[~2004-01-25 17:56 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-23 21:22 FW: Submission for S2io 10GbE driver Leonid Grossman
2004-01-23 21:54 ` Stephen Hemminger
2004-01-23 21:58 ` Leonid Grossman
2004-01-23 22:22 ` FW: " Andi Kleen
2004-01-24 0:21 ` Stephen Hemminger
2004-01-27 5:32 ` Leonid Grossman
2004-01-27 6:08 ` Jeff Garzik
2004-01-27 6:19 ` Leonid Grossman
2004-02-04 20:44 ` FW: " Leonid Grossman
2004-02-05 0:49 ` Grant Grundler
2004-02-05 1:14 ` Leonid Grossman
2004-02-16 21:16 ` Leonid Grossman
2004-02-16 22:12 ` Jeff Garzik
2004-02-16 23:53 ` Leonid Grossman
2004-02-17 0:11 ` Christoph Hellwig
2004-02-17 0:16 ` Stephen Hemminger
2004-02-28 15:08 ` Submission #3 " Leonid Grossman
2004-02-28 20:21 ` Jeff Garzik
2004-03-12 21:55 ` ravinandan arakali
2004-03-13 2:30 ` Jeff Garzik
2004-03-20 4:35 ` Submission #4 " Leonid Grossman
2004-03-20 9:56 ` Jeff Garzik
2004-03-20 10:00 ` Jeff Garzik
2004-03-22 19:36 ` ravinandan arakali
2004-03-22 19:43 ` Jeff Garzik
2004-03-20 10:48 ` Christoph Hellwig
2004-02-05 1:32 ` FW: Submission " Andi Kleen
2004-02-05 1:51 ` Anton Blanchard
2004-02-05 2:46 ` Leonid Grossman
2004-02-05 3:25 ` Anton Blanchard
2004-02-05 9:27 ` Jeff Garzik
2004-02-05 9:29 ` Jeff Garzik
2004-02-05 22:09 ` Leonid Grossman
2004-02-05 22:34 ` Grant Grundler
2004-02-05 23:23 ` Jes Sorensen
2004-01-24 0:38 ` Francois Romieu
2004-01-24 3:14 ` jamal
2004-01-24 5:10 ` Leonid Grossman
2004-01-24 14:58 ` Andi Kleen
2004-01-24 17:54 ` jamal
2004-01-24 19:52 ` Leonid Grossman
2004-01-25 19:07 ` jamal
2004-01-25 17:56 ` Leonid Grossman [this message]
2004-01-24 18:00 ` jamal
2004-01-24 20:04 ` Leonid Grossman
2004-01-25 19:14 ` jamal
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='009001c3e36c$9b6f1f70$0400a8c0@S2IOtech.com' \
--to=leonid.grossman@s2io.com \
--cc=ak@suse.de \
--cc=hadi@cyberus.ca \
--cc=netdev@oss.sgi.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).