From owner-cvs-src@FreeBSD.ORG Tue Mar 20 13:51:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDD6D16A405; Tue, 20 Mar 2007 13:51:47 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.freebsd.org (Postfix) with ESMTP id 7093813C4D0; Tue, 20 Mar 2007 13:51:47 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id l2KDKQ2d028123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Mar 2007 16:20:26 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id l2KDKPIw028122; Tue, 20 Mar 2007 16:20:26 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 20 Mar 2007 16:20:25 +0300 From: Gleb Smirnoff To: Bruce M Simpson Message-ID: <20070320132025.GP2713@FreeBSD.org> References: <200703201315.l2KDFKd0065099@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200703201315.l2KDFKd0065099@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet raw_ip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 13:51:48 -0000 On Tue, Mar 20, 2007 at 01:15:20PM +0000, Bruce M Simpson wrote: B> bms 2007-03-20 13:15:20 UTC B> B> FreeBSD src repository B> B> Modified files: B> sys/netinet raw_ip.c B> Log: B> Increase default size of raw IP send and receive buffers to the same as B> udp_sendspace, to avoid a situation where jumbograms (datagrams > 9KB) B> are unnecessarily fragmented. B> B> A common use case for this is OSPF link-state database synchronization B> during adjacency bringup on a high speed network with a large MTU. B> B> It is not possible to auto-tune this setting until a socket is bound to B> a given interface, and because the laddr part of the inpcb tuple may be B> overridden, it makes no sense to do so. Applications may request a larger B> socket buffer size by using the SO_SENDBUF and SO_RECVBUF socket options. B> B> Certain applications such as Quagga ospfd do not probe for interface MTU B> and therefore do not increase SO_SENDBUF in this use case. B> XORP is not affected by this problem as it preemptively uses SO_SENDBUF B> and SO_RECVBUF to account for any possible additional latency in XRL IPC. B> -u_long rip_sendspace = RIPSNDQ; B> -u_long rip_recvspace = RIPRCVQ; B> +u_long rip_sendspace = 9216; B> +u_long rip_recvspace = 9216; We've got interfaces with even larger MTU. Why shouldn't we permit sending larger datagrams? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE