netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glen Turner <glen.turner@aarnet.edu.au>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: netdev@oss.sgi.com
Subject: Re: IPsec and Path MTU
Date: Fri, 18 Jun 2004 17:05:29 +0930	[thread overview]
Message-ID: <1087544129.9044.27.camel@andromache> (raw)
In-Reply-To: <32703.1087311037@marajade.sandelman.ottawa.on.ca>

On Wed, 2004-06-16 at 00:20, Michael Richardson wrote:

>   The pmtu WG is considering changing how PMTU is done. You may want to 
> look at draft-richardson-ipsec-fragment-XX.txt. This has not yet been
> adopted as a WG draft, because nobody is sure which WG should adopt it:-)

As well as longer term efforts you might note that altering
the RFC1191 plateau table in the kernel to add 9000 would
result in 10% less jumbo frames.

The large absolute packet sizes are going to doom the plateau
table approach at the next increase in MTU size. Hopefully
Matt and your efforts we see deployment before then.

Cheers,
Glen


diff -Nru a/net/ipv4/route.c b/net/ipv4/route.c
--- a/net/ipv4/route.c	Fri Oct 24 13:23:50 2003
+++ b/net/ipv4/route.c	Fri Oct 24 13:23:50 2003
@@ -1222,10 +1222,14 @@
 /*
  *	The last two values are not from the RFC but
  *	are needed for AMPRnet AX.25 paths.
+ *      The RFC has written before ethernet jumbo frames.
+ *      Since these are the dominant large MTU we add them
+ *      as using 8166 would lead to 10% more packets (a lot
+ *      of CPU at 1Gbps).
  */
 
 static unsigned short mtu_plateau[] =
-{32000, 17914, 8166, 4352, 2002, 1492, 576, 296, 216, 128 };
+{32000, 17914, 9000, 8166, 4352, 2002, 1492, 576, 296, 216, 128 };
 
 static __inline__ unsigned short guess_mtu(unsigned short old_mtu)
 {

  parent reply	other threads:[~2004-06-18  7:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15 12:43 IPsec and Path MTU Herbert Xu
2004-06-15 14:50 ` Michael Richardson
2004-06-16 11:43   ` Herbert Xu
2004-06-16 14:43     ` Michael Richardson
2004-06-18  7:35   ` Glen Turner [this message]
2004-06-16 12:10 ` Herbert Xu
2004-06-16 14:12   ` James Morris
2004-06-16 20:23   ` Alexey Kuznetsov
2004-06-16 20:49     ` David S. Miller
2004-06-16 23:11     ` Herbert Xu
2004-06-17 17:58       ` David S. Miller
2004-06-17 21:31         ` Herbert Xu
2004-06-17 22:22           ` David S. Miller
2004-06-17 23:09             ` Herbert Xu
2004-06-16 19:56 ` Alexey Kuznetsov
2004-06-16 23:13   ` Herbert Xu
2004-06-17 19:01     ` Alexey Kuznetsov
2004-06-17 21:38       ` Herbert Xu
2004-06-17 22:29         ` David S. Miller
2004-06-17 23:12           ` Herbert Xu
2004-06-17 23:14             ` David S. Miller
2004-06-17 23:18               ` Herbert Xu
     [not found]         ` <20040618202551.GA2733@ms2.inr.ac.ru>
2004-06-18 22:21           ` Herbert Xu

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=1087544129.9044.27.camel@andromache \
    --to=glen.turner@aarnet.edu.au \
    --cc=mcr@sandelman.ottawa.on.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).