From owner-cvs-src@FreeBSD.ORG Sat Jul 9 10:30:38 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C22EC16A41C; Sat, 9 Jul 2005 10:30:38 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E4243D45; Sat, 9 Jul 2005 10:30:38 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id C6F96ACBCF; Sat, 9 Jul 2005 12:30:36 +0200 (CEST) Date: Sat, 9 Jul 2005 12:30:36 +0200 From: Pawel Jakub Dawidek To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20050709103036.GY46538@darkness.comp.waw.pl> References: <200507082128.j68LSQlp096358@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Tcb1KvpfnM4LxW2s" Content-Disposition: inline In-Reply-To: <200507082128.j68LSQlp096358@repoman.freebsd.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Cc: Subject: Re: cvs commit: src/sbin/ggate/ggatec Makefile ggatec.c src/sbin/ggate/ggated Makefile ggated.c src/sbin/ggate/shared ggate.c ggate.h 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: Sat, 09 Jul 2005 10:30:39 -0000 --Tcb1KvpfnM4LxW2s Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 08, 2005 at 09:28:26PM +0000, Pawel Jakub Dawidek wrote: +> For Gbit networks some buffers need to be increased. I use those setti= ngs: +> kern.ipc.maxsockbuf=3D16777216 +> net.inet.tcp.sendspace=3D8388608 +> net.inet.tcp.recvspace=3D8388608 +> and I use '-S 4194304 -R 4194304' options for both, ggatec and ggated. As andre@ pointed out, increasing net.inet.tcp.(send|recv)space is a very bad idea and is not needing for increasing socket buffers, so increasing kern.ipc.maxsockbuf and using -S/-R options will be enough. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Tcb1KvpfnM4LxW2s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCz6dMForvXbEpPzQRAnsaAKCVWTF/dUjoVGW01FI1qH3C28Z/rgCgspWd Wv08d4+DvMtKqsBaTketnOw= =ie/+ -----END PGP SIGNATURE----- --Tcb1KvpfnM4LxW2s--