From owner-freebsd-sparc64@FreeBSD.ORG Thu Nov 30 05:23:52 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1045A16A40F for ; Thu, 30 Nov 2006 05:23:52 +0000 (UTC) (envelope-from carton@Ivy.NET) Received: from sakima.Ivy.NET (sakima.Ivy.NET [69.31.131.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id B520D43CA8 for ; Thu, 30 Nov 2006 05:23:45 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from castrovalva.Ivy.NET (castrovalva.Ivy.NET [69.31.131.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sakima.Ivy.NET (Postfix) with ESMTP id AB2732FF63 for ; Thu, 30 Nov 2006 00:23:50 -0500 (EST) Received: by castrovalva.Ivy.NET (Postfix, from userid 405) id D9E2612FB03; Thu, 30 Nov 2006 00:23:49 -0500 (EST) To: freebsd-sparc64@freebsd.org References: <755cb9fc0611290724q127f006va84f3457c48443b6@mail.gmail.com> From: Miles Nordin MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Nov_30_00:23:38_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 30 Nov 2006 00:23:49 -0500 In-Reply-To: <755cb9fc0611290724q127f006va84f3457c48443b6@mail.gmail.com> (Alexandre Vieira's message of "Wed, 29 Nov 2006 15:24:39 +0000") Message-ID: User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.4 (alpha--netbsd) MULE/5.0 (SAKAKI) Subject: Re: Netra T1 105 (sparc64) optimization X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 05:23:52 -0000 --pgp-sign-Multipart_Thu_Nov_30_00:23:38_2006-1 Content-Type: text/plain; charset=US-ASCII >>>>> "av" == Alexandre Vieira writes: av> kernel/tunables recommendations, I suggest device polling. This will increase the pps you can forward, and optimistically cause the machine to drop packets rather than go into livelock if the pps exceeds its ability. IMHO it should be used on any router. and IIRC it does work with the hme driver. add to your kernel config and rebuild the kernel: options DEVICE_POLLING options HZ=1000 then add to /etc/sysctl.conf: kern.polling.enable=1 I think there is some ``deprecated'' message saying you are now supposed to enable device polling through ifconfig, which I never fully understood because I thought the device polling framework was originally meant to someday include more devices than just network cards. Anyway, the above is what I do and works for me on 6.0. --pgp-sign-Multipart_Thu_Nov_30_00:23:38_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (NetBSD) iQCVAwUARW5q5YnCBbTaW/4dAQK4hwP+MXO5MabevK5ELNmekydzbiUCmAHwlwcF nWX8lo4rG4b8rqQhquF97RpZm/ICtnflXQ5n9cz4bFu79wM/O0zhovkHmRwuqOwm +Lj/m11jR1D+lVO+02tUR9dQcn1i4o5dokrV62UHveJ2DqD0WoN4aXWEMo5v7mIR L051qYtOoKY= =Xru+ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Nov_30_00:23:38_2006-1--