From owner-freebsd-current@FreeBSD.ORG Sun Nov 21 17:27:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCDEF16A4CE; Sun, 21 Nov 2004 17:27:31 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94F6543D31; Sun, 21 Nov 2004 17:27:31 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 3C3BBF20E4; Sun, 21 Nov 2004 09:27:31 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11614-01; Sun, 21 Nov 2004 09:27:29 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 88FBDF20A3; Sun, 21 Nov 2004 09:27:29 -0800 (PST) From: Sean McNeil To: Shunsuke SHINOMIYA In-Reply-To: <20041121205158.45CE.SHINO@fornext.org> References: <20041119185315.C43D.SHINO@fornext.org> <20041119120102.GM69710@obiwan.tataz.chchile.org> <20041121205158.45CE.SHINO@fornext.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+MwiF7b73TDd4FXZ8OfL" Date: Sun, 21 Nov 2004 09:27:29 -0800 Message-Id: <1101058049.12022.5.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-stable@freebsd.org cc: freebsd-current@freebsd.org cc: Jeremie Le Hen Subject: Re: Re[2]: serious networking (em) performance (ggate and NFS) problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 17:27:31 -0000 --=-+MwiF7b73TDd4FXZ8OfL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-11-21 at 21:27 +0900, Shunsuke SHINOMIYA wrote: > Jeremie, thank you for your comment. >=20 > I did simple benchmark at some settings. >=20 > I used two boxes which are single Xeon 2.4GHz with on-boarded em. > I measured a TCP throughput by iperf. >=20 > These results show that the throughput of TCP increased if Interrupt > Moderation is turned OFF. At least, adjusting these parameters affected > TCP performance. Other appropriate combination of parameter may exist. I have found interrupt moderation to seriously kill gigE performance. Another test you can make is to have the driver always defrag packets in em_encap(). Something like m_head =3D m_defrag(*m_headp, M_DONTWAIT); if (m_head =3D=3D NULL) return ENOBUFS; --=-+MwiF7b73TDd4FXZ8OfL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBoNAByQsGN30uGE4RAhSXAKDEgYADxq+/EmcCYap8FGRlCgI8/ACeLxz/ w7l/SkoYwwZfQMVn4w/KTpI= =CGLu -----END PGP SIGNATURE----- --=-+MwiF7b73TDd4FXZ8OfL--