From owner-freebsd-net@FreeBSD.ORG Thu Jun 5 08:18:12 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 257F637B401 for ; Thu, 5 Jun 2003 08:18:12 -0700 (PDT) Received: from pyroxene.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFD4E43F93 for ; Thu, 5 Jun 2003 08:18:10 -0700 (PDT) (envelope-from damian@sentex.net) Received: from pegmatite.sentex.ca (pegmatite.sentex.ca [192.168.42.92]) by pyroxene.sentex.ca (8.12.9/8.12.8) with ESMTP id h55FIA8C036805 for ; Thu, 5 Jun 2003 11:18:10 -0400 (EDT) (envelope-from damian@sentex.net) Received: by pegmatite.sentex.ca (Postfix, from userid 1001) id CBA8E1706B; Thu, 5 Jun 2003 11:18:08 -0400 (EDT) Date: Thu, 5 Jun 2003 11:18:08 -0400 From: Damian Gerow To: net@freebsd.org Message-ID: <20030605151808.GJ727@sentex.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key-Id: 0xB841F142 X-GPG-Fingerprint: C7C1 E1D1 EC06 7C86 AF7C 57E6 173D 9CF6 B841 F142 X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i X-Virus-Scanned: By Sentex Communications (lava/20020517) Subject: Re: polling in 5.1-RC1 causes 100% CPU usage X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 15:18:12 -0000 Thus spake Damian Gerow (damian@sentex.net) [04/06/03 17:52]: > I just upgraded a home firewall from 4.8-STABLE to 5.1-RC1. In the process > of updating, I also brought in a new motherboard, CPU, and memory. However, > all the NICs in the box are the same. > > The problem is that with polling turned on, CPU usage sits at 100%. As soon > as I turn /off/ polling, it drops. This is very easily reproducible: > > # sysctl -w kern.polling.enable=1 > > Then do a 'systat -vm', and watch as the interrupt load jumps from about > 0.5% to 18-19%. Hmmmm.. Perhaps I could have included more details? The system /was/ a P100S, and is now a Via C3. The three network cards are one rl and two fxp.