From owner-freebsd-net@FreeBSD.ORG Mon Jul 26 20:27:30 2004 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 AA89716A4CE for ; Mon, 26 Jul 2004 20:27:30 +0000 (GMT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12BB943D2D for ; Mon, 26 Jul 2004 20:27:28 +0000 (GMT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Mon, 26 Jul 2004 16:27:27 -0400 Message-ID: From: Don Bowman To: 'James' , Don Bowman Date: Mon, 26 Jul 2004 16:27:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-net@freebsd.org Subject: RE: device polling takes more CPU hits?? 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: Mon, 26 Jul 2004 20:27:30 -0000 From: James [mailto:haesu@towardex.com] > > I have two boxes behind em0 that I can use to generate > 250kpps to another vlan > within em0 card as a test, so that bge0 is not involved in > the stress test. > Even when doing so, CPU load climbs higher with device > polling turned on. > Opened up systat, etc to check the interrupts, and em0 is > generating 0 > interrupts with device polling on (as obvious), but general > interrupt load > climbs rock high.. so I don't know what's causing it to > climb. Cleared the > firewall rules as well as a test... no difference :( > > Oh also, just FYI, each vlan interface has link0 set, since > em(4) supports > hardware 802.1q tag/detagging. > The CPU time during the 'polling' is charged to interrupt, even though it occurs during softclock. That's why you see 0 interrupts, but high CPU usage in interrupt. Did u try lowering the 'register' access? --don