From owner-freebsd-stable Mon Nov 18 11:21:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142B137B401 for ; Mon, 18 Nov 2002 11:21:36 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2605D43E4A for ; Mon, 18 Nov 2002 11:21:34 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id gAIJLUTJ042352 for ; Mon, 18 Nov 2002 22:21:30 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Mon, 18 Nov 2002 22:21:30 +0300 (MSK) From: Dmitry Morozovsky To: stable@freebsd.org Subject: DEVICE_POLLING and kern.hz Message-ID: <20021118221514.I34951-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Colleagues, we have FreeBSD router with 4 fxp's and moderately high traffic (up to 15 Mbps at upstream port). There is about 2k5-3k5 interrupts per second, about 1k-1k5 of them are from fxp0. Would it be useful to turn on DEVICE_POLLING on this machine? (it's not high-end, Celeron 750/64M memory, acting as Zebra router and ipfw1) What is the recommended kern.hz value for such machine? What are the drawbacks? currently I have in loader.conf: kern.ipc.nmbclusters=16384 kern.ipc.nmbufs=32768 kern.hz=250 mbuf count usually does not exceed 5k For the reference, it is 4.7-RELEASE-p2-fxpfix (RELENG_4_7 + iedowse's fixes for fxp). Thanks in advance. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message