From owner-freebsd-net@FreeBSD.ORG Tue Dec 30 16:18:12 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F12C106564A for ; Tue, 30 Dec 2008 16:18:12 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFC98FC08 for ; Tue, 30 Dec 2008 16:18:12 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LHgzi-0007NY-9C for freebsd-net@freebsd.org; Tue, 30 Dec 2008 07:58:58 -0800 Message-ID: <21218952.post@talk.nabble.com> Date: Tue, 30 Dec 2008 07:58:58 -0800 (PST) From: ibmed To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ibmed@mail.ru Subject: em driver problems? taskq em goes up to 100% CPU X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 16:18:12 -0000 Hi, I seem to have the following problem: Preamble: There's two FreeBSD boxes that do ipfw nat. Both worked with natd until some time ago, when it became clear that we need a better solution. So I upgraded sources and recompiled to kernel to include ipfw nat features. The boxes have onboard msk-net cards that worked fine under natd. After moving to ipfw nat the overall load of the boxes has significantly reduced. But: when the traffic load increased, the boxes started to print the following messages: kernel: msk0: Rx FIFO overrun! kernel: msk1: Rx FIFO overrun! and after some time just hang up. I assumed that there's a problem with msk driver urgently buy two Intel cards (Intel PRO/1000 PT Quad Port (OEM) PCI-E x4 10/100/1000Mbps) - one for each box. It solved to FIFO problem, BUT: there's now a problem with spontaneous peaks of system load: irrelatively to anything I can guess the system processes taskq em0, em1, em2 begin to eat 100% of CPU (and stay like that for about 1 or 2 minutes). And when that happens, traffic stops to pass through the box. The problem is there on both boxes. I tried upgrading both of them to RELENG_7_0, RELENG_7_1 (RC2 currently), RELENG_7 - the problem remains. Any suggestions on what can I do to solve the problem? I have just no idea on what causes that and what to do to fix it. I would really appreciate your help.. And just to be thorough, here's my kernel options: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=400 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD options IPFIREWALL_NAT options LIBALIAS options DUMMYNET options IPDIVERT fastforwarding is on, polling is off: net.inet.ip.fastforwarding: 1 em0: flags=8843 metric 0 mtu 1500 options=19b ether 00:00:10:01:1:01 inet 10.1.1.1 netmask 0xffffff00 broadcast 10.1.1.255 media: Ethernet autoselect (1000baseTX ) status: active -- View this message in context: http://www.nabble.com/em-driver-problems--taskq-em-goes-up-to-100--CPU-tp21218952p21218952.html Sent from the freebsd-net mailing list archive at Nabble.com.