Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 12:30:36 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
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
Message-ID:  <20050709103036.GY46538@darkness.comp.waw.pl>
In-Reply-To: <200507082128.j68LSQlp096358@repoman.freebsd.org>
References:  <200507082128.j68LSQlp096358@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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