From owner-freebsd-smp Wed Dec 4 06:41:37 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA06382 for smp-outgoing; Wed, 4 Dec 1996 06:41:37 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA06357 for ; Wed, 4 Dec 1996 06:41:32 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.4/8.8.4) with ESMTP id WAA00398 for ; Wed, 4 Dec 1996 22:41:28 +0800 (WST) Message-Id: <199612041441.WAA00398@spinner.DIALix.COM> To: smp@freebsd.org Subject: Re: cvs commit: sys/i386/i386 mp_machdep.c In-reply-to: Your message of "Wed, 04 Dec 1996 06:20:15 PST." <199612041420.GAA01432@freefall.freebsd.org> Date: Wed, 04 Dec 1996 22:41:26 +0800 From: Peter Wemm Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > "borrow" the pci_ihandler_attach() code and adapt it for the ipi > routines. I have a modified version of config(8) which has 4 slots > reserved for the ipi interrupt stats. This allows "vmstat -i" and > "systat -vmstat 1" to be aware of the ipi counts when SMP_INVLTLB > is in use. If the user is not running a "smp aware" config(8), it'll > still append the counts to clk0 just like it did before. Incidently, directly after booting and logging in: interrupt total rate clk0 irq2 8568 129 rtc0 irq8 8498 128 ipi irq27 33284 504 sc0 irq1 280 4 sio0 irq4 9 0 lpt0 irq7 1 0 ed0 irq5 134 2 stray irq13 1 0 Total 50775 769 .. and then doing a 'cvs -q update -d -P -A' on the smp tree: interrupt total rate clk0 irq2 23125 138 rtc0 irq8 21474 128 ipi irq27 53146 318 sc0 irq1 415 2 sio0 irq4 9 0 lpt0 irq7 1 0 ed0 irq5 153 0 stray irq13 1 0 Total 98324 588 Note that my eisa disk irq's show up under clk0. (Sigh!) Still, that's a hell of a load of invltlb() calls... Cheers, -Peter