From owner-freebsd-stable Mon Nov 18 11:56: 4 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 A011937B401 for ; Mon, 18 Nov 2002 11:56:03 -0800 (PST) Received: from ACC.sumy.net (ACC.sumy.net [194.153.148.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E2143E42 for ; Mon, 18 Nov 2002 11:56:00 -0800 (PST) (envelope-from solik@sumy.net) Received: from sumy.net (radio-test.sumy.net [194.153.148.98]) by ACC.sumy.net (8.12.6/8.12.3) with ESMTP id gAIJtjWv004473; Mon, 18 Nov 2002 21:55:45 +0200 (EET) (envelope-from solik@sumy.net) Message-ID: <3DD945D4.2020104@sumy.net> Date: Mon, 18 Nov 2002 21:56:04 +0200 From: Sergey Solyanik Organization: NetDeeper User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: ru,uk,en MIME-Version: 1.0 To: Dmitry Morozovsky Cc: stable@freebsd.org Subject: Re: DEVICE_POLLING and kern.hz References: <20021118221514.I34951-100000@woozle.rinet.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Dmitry Morozovsky wrote: > 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? Wouldn't be useful just to load microcode into fxpX ? Try ifconfig fxpX link0 $ man 4 fxp [...] The fxp driver also supports a special link option: link0 Some chip revisions have loadable microcode which can be used to reduce the interrupt load on the host cpu. Not all boards have support microcode support. Setting the link0 flag with ifconfig(8) will download the microcode to the chip if it is available. [...] Good luck! -- [...] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message