From owner-freebsd-net@FreeBSD.ORG Wed Jun 4 14:52:03 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 CC7C537B401 for ; Wed, 4 Jun 2003 14:52:03 -0700 (PDT) Received: from pyroxene.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A6CC43F85 for ; Wed, 4 Jun 2003 14:52:03 -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 h54Lq28C033598 for ; Wed, 4 Jun 2003 17:52:02 -0400 (EDT) (envelope-from damian@sentex.net) Received: by pegmatite.sentex.ca (Postfix, from userid 1001) id 1662B17077; Wed, 4 Jun 2003 17:52:02 -0400 (EDT) Date: Wed, 4 Jun 2003 17:52:01 -0400 From: Damian Gerow To: net@freebsd.org Message-ID: <20030604215201.GH727@sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 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: Wed, 04 Jun 2003 21:52:04 -0000 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%.