Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2007 11:52:03 +0000
From:      "Bruce M. Simpson" <bms@FreeBSD.org>
To:        Vladimir Ivanov <wawa@yandex-team.ru>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/108375: net.inet.raw.maxdgram shouldn't be less than MTU size.
Message-ID:  <45FFCAE3.4060104@FreeBSD.org>
In-Reply-To: <45FFC0D6.4040503@yandex-team.ru>
References:  <200703200129.l2K1Tl2W085103@freefall.freebsd.org> <45FFC0D6.4040503@yandex-team.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Ivanov wrote:
> Hi,
>
> Increasing default buffer size from 8k upto 16k seems to be more 
> essential way.
> Isn't it?
> I've never seen jumbo packets more than 9k still.
Sorry the penny dropped after I sent that reply!

In -CURRENT, the default socket send buffer size for UDP is 9216 bytes.

The default send and receive socket buffer size for raw sockets is 8192 
bytes. A 9000 byte mtu jumbogram is going to be fragmented with this.

It would seem reasonable to increase the raw size. An 8192 byte buffer 
is going to fit into more than 2 i386 pages anyway when using clusters, 
so this is no big deal and seems like the right change.

Regards,
BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FFCAE3.4060104>