public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jiang, Dave" <dave.jiang@intel.com>
To: "bhelgaas@google.com" <bhelgaas@google.com>
Cc: "Allen.Hubbe@emc.com" <Allen.Hubbe@emc.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"jdmason@kudzu.us" <jdmason@kudzu.us>,
	"linux-ntb@googlegroups.com" <linux-ntb@googlegroups.com>
Subject: Re: [PATCH v3 18/18] NTB: Increase transport MTU to 64k from 16k
Date: Tue, 9 Jun 2015 16:45:36 +0000	[thread overview]
Message-ID: <1433868335.38406.111.camel@intel.com> (raw)
In-Reply-To: <CAErSpo7B8qP34ZObkzjZ-r7bCnG6A0KG3Rorw+TajP4XU43wFg@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1931 bytes --]

On Tue, 2015-06-09 at 11:04 -0500, 'Bjorn Helgaas' via linux-ntb wrote:
> On Tue, Jun 9, 2015 at 4:44 AM, Allen Hubbe <Allen.Hubbe@emc.com> 
> wrote:
> > From: Dave Jiang <dave.jiang@intel.com>
> > 
> > Benchmarking showed significant performance increase going from MTU 
> > size
> > of 64k from 16k.  Changing the default.
> 
> This changelog doesn't parse.  I think you mean "going from MTU size
> 16k to 64k."

Yes. Sorry about the confusion.

> 
> The original value was 0x401e (16k + 0x1e), and the new value is
> exactly 64k.  Please include a note about what that extra 0x1e was 
> for
> and why it isn't needed in the new value.

Jon, can you comment on why there's the additional 30 bytes on top of
16k in the previous value? 

> 
> > Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> > ---
> >  drivers/ntb/ntb_transport.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/ntb/ntb_transport.c 
> > b/drivers/ntb/ntb_transport.c
> > index ea237aeca28c..c87bc0cbd607 100644
> > --- a/drivers/ntb/ntb_transport.c
> > +++ b/drivers/ntb/ntb_transport.c
> > @@ -76,7 +76,7 @@ static unsigned long max_mw_size;
> >  module_param(max_mw_size, ulong, 0644);
> >  MODULE_PARM_DESC(max_mw_size, "Limit size of large memory 
> > windows");
> > 
> > -static unsigned int transport_mtu = 0x401E;
> > +static unsigned int transport_mtu = 0x10000;
> >  module_param(transport_mtu, uint, 0644);
> >  MODULE_PARM_DESC(transport_mtu, "Maximum size of NTB transport 
> > packets");
> > 
> > --
> > 2.4.0.rc0.43.gcf8a8c6
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux
> > -pci" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

      reply	other threads:[~2015-06-09 16:45 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09  9:44 [PATCH v3 00/18] NTB: Add NTB hardware abstraction layer Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 01/18] NTB: Move files in preparation for NTB abstraction Allen Hubbe
2015-06-09 16:16   ` Bjorn Helgaas
2015-06-09 16:42     ` Hubbe, Allen
2015-06-09  9:44 ` [PATCH v3 02/18] NTB: Add NTB hardware abstraction layer Allen Hubbe
2015-06-09 16:23   ` Bjorn Helgaas
2015-06-09 16:43     ` Hubbe, Allen
2015-06-09 16:53   ` Bjorn Helgaas
2015-06-09 17:32     ` Hubbe, Allen
2015-06-09  9:44 ` [PATCH v3 03/18] NTB: Read peer info from local SPAD in transport Allen Hubbe
2015-06-09 16:24   ` Bjorn Helgaas
2015-06-09  9:44 ` [PATCH v3 04/18] NTB: Enable link for Intel root port mode in probe Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 05/18] NTB: Check the device ID to set errata flags Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 06/18] NTB: Differentiate transport link down messages Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 07/18] NTB: Do not advance transport RX on link down Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 08/18] NTB: Reset transport QP link stats on down Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 09/18] NTB: Add parameters for Intel SNB B2B addresses Allen Hubbe
2015-06-09 16:42   ` Bjorn Helgaas
2015-06-09 16:59     ` Hubbe, Allen
2015-06-09  9:44 ` [PATCH v3 10/18] NTB: Add ping pong test client Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 11/18] NTB: Add tool " Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 12/18] NTB: Rate limit ntb_qp_link_work Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 13/18] NTB: Use NUMA memory and DMA chan in transport Allen Hubbe
2015-06-09 16:43   ` Bjorn Helgaas
2015-06-09  9:44 ` [PATCH v3 14/18] NTB: Use NUMA memory in Intel driver Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 15/18] NTB: Improve performance with write combining Allen Hubbe
2015-06-09 16:46   ` Bjorn Helgaas
2015-06-09  9:44 ` [PATCH v3 16/18] NTB: Default to CPU memcpy for performance Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 17/18] NTB: Rename intel hw to proper platform names Allen Hubbe
2015-06-09  9:44 ` [PATCH v3 18/18] NTB: Increase transport MTU to 64k from 16k Allen Hubbe
2015-06-09 16:04   ` Bjorn Helgaas
2015-06-09 16:45     ` Jiang, Dave [this message]

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=1433868335.38406.111.camel@intel.com \
    --to=dave.jiang@intel.com \
    --cc=Allen.Hubbe@emc.com \
    --cc=bhelgaas@google.com \
    --cc=jdmason@kudzu.us \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ntb@googlegroups.com \
    --cc=linux-pci@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