From owner-freebsd-smp@FreeBSD.ORG Wed Jan 30 18:11:23 2008 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4EA516A418 for ; Wed, 30 Jan 2008 18:11:23 +0000 (UTC) (envelope-from tech@liveoaksf.org) Received: from assassin.liveoaksf.org (mail.liveoaksf.org [216.31.235.91]) by mx1.freebsd.org (Postfix) with SMTP id 868A213C455 for ; Wed, 30 Jan 2008 18:11:23 +0000 (UTC) (envelope-from tech@liveoaksf.org) Received: (qmail 13644 invoked by uid 1004); 30 Jan 2008 17:45:27 -0000 Received: from 192.168.1.45 by assassin.liveoaksf.org (envelope-from , uid 1002) with qmail-scanner-1.25-st-qms (clamdscan: 0.92/5575. spamassassin: 3.2.4. perlscan: 1.25-st-qms. Clear:RC:0(192.168.1.45):SA:0(-4.3/4.5):. Processed in 2.339664 secs); 30 Jan 2008 17:45:27 -0000 X-Spam-Status: No, hits=-4.3 required=4.5 X-Antivirus-LIVEOAKSF-Mail-From: tech@liveoaksf.org via assassin.liveoaksf.org X-Antivirus-LIVEOAKSF: 1.25-st-qms (Clear:RC:0(192.168.1.45):SA:0(-4.3/4.5):. Processed in 2.339664 secs Process 13637) Received: from unknown (HELO ?192.168.1.45?) (tech@liveoaksf.org@192.168.1.45) by assassin.liveoaksf.org with SMTP; 30 Jan 2008 17:45:25 -0000 Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: 7bit Message-Id: <7D3DA805-4C15-48D1-939C-ECC6D80A014E@liveoaksf.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-smp@freebsd.org From: Tech Lab Manager Date: Wed, 30 Jan 2008 09:44:38 -0800 X-Mailer: Apple Mail (2.753) Subject: SMP and interrupt storm X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 18:11:23 -0000 Hello, Sorry for the semi-cross-post from freebsd-questions but I didn't get any bites there. Building 6.3-RELEASE on dual Xeon (4 CPU) boxes: options SMP device apic SMP kernel builds fine, all 4 CPUs launch on reboot. But I get a TON of interrupts from acpi0 -- about 67,000 per second according to vmstat -i. With system at idle with almost no services running, here is output of top -S: last pid: 877; load averages: 1.18, 0.48, 0.19 75 processes: 6 running, 54 sleeping, 15 waiting CPU states: 0.0% user, 0.0% nice, 0.2% system, 22.4% interrupt, 77.4% idle Mem: 31M Active, 12M Inact, 28M Wired, 16K Cache, 15M Buf, 3822M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 1 171 52 0K 8K RUN 3 1:11 99.18% idle: cpu3 13 root 1 171 52 0K 8K CPU0 0 1:10 98.88% idle: cpu0 12 root 1 171 52 0K 8K CPU1 1 1:09 98.78% idle: cpu1 21 root 1 -52 -171 0K 8K CPU2 2 0:54 87.24% irq9: acpi0 11 root 1 171 52 0K 8K RUN 2 0:17 11.19% idle: cpu2 Notice high load and interrupt %. Same thing happened with 7.0-RELEASE_BETA4. If turn off ACPI (set hint.apic.0.disabled=1 in /boot/loader.conf), the interrupt storm ceases, but then I'm only running on one CPU. The BIOS ACPI settings are all Enabled. Hyperthreading is Enabled. These machines have been running RedHat Enterprise 5.0 with full multiprocessor support. Any pointers? TIA. -- John -- John Berliner Live Oak School http://www.liveoaksf.org