Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2006 00:23:49 -0500
From:      Miles Nordin <carton@Ivy.NET>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: Netra T1 105 (sparc64) optimization
Message-ID:  <oq8xht7biy.fsf@castrovalva.Ivy.NET>
In-Reply-To: <755cb9fc0611290724q127f006va84f3457c48443b6@mail.gmail.com> (Alexandre Vieira's message of "Wed, 29 Nov 2006 15:24:39 %2B0000")
References:  <755cb9fc0611290724q127f006va84f3457c48443b6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--pgp-sign-Multipart_Thu_Nov_30_00:23:38_2006-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "av" == Alexandre Vieira <nullpt@gmail.com> 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--



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