From owner-freebsd-current@FreeBSD.ORG Thu Mar 12 20:23:32 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1777F1065675 for ; Thu, 12 Mar 2009 20:23:32 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63901.mail.re1.yahoo.com (web63901.mail.re1.yahoo.com [69.147.97.116]) by mx1.freebsd.org (Postfix) with SMTP id B10968FC1B for ; Thu, 12 Mar 2009 20:23:31 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 20784 invoked by uid 60001); 12 Mar 2009 20:23:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1236889411; bh=mB/wBgGXlA+jrPyt8N+NaznI+v6K9qyd88/X5xjvNkk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=uu3sYC/JOVv0Ag4ydmu/rnKfGsw346opieCgYwIKQboyN/wZnKzuXI/9lYsWUF7tBCli5zoqYNnOOGxQvitNvfe/ZO7uBvPpyBktITBgqFDvppLJ9ePUiVlaJB0eJxW7Thq2JLauhfsuUXwYibo70Kab2EOuyC33ado/RCPU++0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=i2NlBcDzog9LQCUYkMrkcpOzf/LI1rIxjuS2wDg0p8jQzMnA61jVB4iyjYKaX3X31eyNmOiCjHZAIERjKk0XXg/fnBqgm8PaNUoQfGLP9/rYvfb40k4VEK0O6RRKdW1b0cLykK50PwN6o+9SNrUt7aw6+eQMSflKd+CcHwpb0+c=; Message-ID: <156527.19600.qm@web63901.mail.re1.yahoo.com> X-YMail-OSG: V4DBSQYVM1kBumAXhlbPXtc24_Hd2RGromSA9T83av0OdUfRoeePhjORwGRzMdzWHCnZDSaOubFODKU1uzQ6NhLzLcX7aydEkaECrw1kUV11cFJBPNiLZNfQn5eTNAVBU9r5viLgzMhMNOdzNd5qtRiA2.Btz4tXDtHDD1wtgcllzaKDAyHqZxEumgLRkoxATth00_XuRPjK9NQ- Received: from [98.242.222.229] by web63901.mail.re1.yahoo.com via HTTP; Thu, 12 Mar 2009 13:23:31 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Thu, 12 Mar 2009 13:23:31 -0700 (PDT) From: Barney Cordoba To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Interrupt routine usage not shown by top in 8.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 20:23:32 -0000 I'm fireing 400Kpps at a udp blackhole port. I'm getting 6000 interrupts per second on em3: testbox# vmstat -i; sleep 1; vmstat -i interrupt total rate irq1: atkbd0 1 0 irq6: fdc0 1 0 irq17: uhci1+ 2226 9 irq18: uhci2 ehci+ 9 0 cpu0: timer 470507 1993 irq256: em0 665 2 irq259: em3 1027684 4354 cpu1: timer 470272 1992 cpu3: timer 470273 1992 cpu2: timer 470273 1992 Total 2911911 12338 interrupt total rate irq1: atkbd0 1 0 irq6: fdc0 1 0 irq17: uhci1+ 2226 9 irq18: uhci2 ehci+ 9 0 cpu0: timer 472513 1993 irq256: em0 668 2 irq259: em3 1033703 4361 cpu1: timer 472278 1992 cpu3: timer 472279 1992 cpu2: timer 472279 1992 Total 2925957 12345 top -SH shows: PID STATE C TIME CPU COMMAND 10 CPU3 3 7:32 100.00% idle 10 CPU2 2 7:32 100.00% idle 10 RUN 0 7:31 100.00% idle 10 CPU1 1 7:31 100.00% idle This implies that CPU usage is substantially under-reported in general by the system. Note that I've modified em_irq_fast() to call em_handle_rxtx() directly rather than scheduling a task to illustrate the problem Barney