All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
To: "Atchley, Scott" <atchleyes-1Heg1YXhbW8@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: IPoIB performance
Date: Wed, 5 Sep 2012 18:20:09 +0000	[thread overview]
Message-ID: <0000013997a928ab-36ad5a02-3c82-4daf-8e8a-a86c65e92376-000000@email.amazonses.com> (raw)
In-Reply-To: <3F476926-8618-4233-A150-C5D487B55C68-1Heg1YXhbW8@public.gmane.org>

On Wed, 5 Sep 2012, Atchley, Scott wrote:

> # ethtool -k ib0
> Offload parameters for ib0:
> rx-checksumming: off
> tx-checksumming: off
> scatter-gather: off
> tcp segmentation offload: off
> udp fragmentation offload: off
> generic segmentation offload: on
> generic-receive-offload: off
>
> There is no checksum support which I would expect to lower performance.
> Since checksums need to be calculated in the host, I would expect faster
> processors to help performance some.

K that is a major problem. Both are on by default here. What NIC is this?

> > A) increase the block size handled by the socket layer
>
> Do you mean altering sysctl with something like:

Nope increase mtu. Connected mode supports up to 64k mtu size I believe.

> or something increasing the SO_SNFBUF and SO_RCVBUF sizes or something else?

That does nothing for performance. The problem is that the handling of the
data by the kernel causes too much latency so that you cannot reach the
full bw of the hardware.

> We actually want to test the socket stack and not bypass it.

AFAICT the network stack is useful up to 1Gbps and
after that more and more band-aid comes into play.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-09-05 18:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 19:35 IPoIB performance Atchley, Scott
     [not found] ` <FFD82983-4A73-4A52-B6BE-C63DA16A507C-1Heg1YXhbW8@public.gmane.org>
2012-09-05 15:51   ` Christoph Lameter
     [not found]     ` <0000013997217ec3-f6e2593f-2ff8-408d-814e-0345582b31ca-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org>
2012-09-05 17:09       ` Atchley, Scott
     [not found]         ` <3F476926-8618-4233-A150-C5D487B55C68-1Heg1YXhbW8@public.gmane.org>
2012-09-05 18:20           ` Christoph Lameter [this message]
     [not found]             ` <0000013997a928ab-36ad5a02-3c82-4daf-8e8a-a86c65e92376-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org>
2012-09-05 18:30               ` Atchley, Scott
     [not found]                 ` <78D8717C-0505-408B-8625-A9124AB33C9E-1Heg1YXhbW8@public.gmane.org>
2012-09-05 19:06                   ` Christoph Lameter
     [not found]                     ` <0000013997d35848-57319f33-839b-4480-a075-53b36f67bfe2-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org>
2012-09-05 19:48                       ` Atchley, Scott
     [not found]                         ` <E88DEA9F-416B-4663-A292-5780DFF9B641-1Heg1YXhbW8@public.gmane.org>
2012-09-05 19:53                           ` Christoph Lameter
2012-09-05 20:12                           ` Ezra Kissel
     [not found]                             ` <5047B23C.6080604-GZvvpLG7cYSVc3sceRu5cw@public.gmane.org>
2012-09-05 20:32                               ` Atchley, Scott
2012-09-05 19:13                   ` Christoph Lameter
     [not found]                     ` <0000013997da4014-44dda0e8-01f3-48b8-b0cd-fe41164d590c-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org>
2012-09-05 19:52                       ` Atchley, Scott
     [not found]                         ` <F90894CF-B55C-4AF7-845C-279FDF44351E-1Heg1YXhbW8@public.gmane.org>
2012-09-05 20:26                           ` Christoph Lameter
2012-09-05 17:52       ` Reeted
2012-09-05 17:50   ` Reeted
     [not found]     ` <504790D8.7010307-9AbUPqfR1/2XDw4h08c5KA@public.gmane.org>
2012-09-05 17:59       ` Atchley, Scott
     [not found]         ` <64A9A0CD-00E0-4455-A641-324FA9BB8BC2-1Heg1YXhbW8@public.gmane.org>
2012-09-05 19:04           ` Reeted
     [not found]             ` <5047A233.2040602-9AbUPqfR1/2XDw4h08c5KA@public.gmane.org>
2012-09-05 19:46               ` Atchley, Scott

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=0000013997a928ab-36ad5a02-3c82-4daf-8e8a-a86c65e92376-000000@email.amazonses.com \
    --to=cl-vytec60ixjuavxtiumwx3w@public.gmane.org \
    --cc=atchleyes-1Heg1YXhbW8@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.