From owner-freebsd-smp Fri Apr 25 08:50:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA23581 for smp-outgoing; Fri, 25 Apr 1997 08:50:05 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA23550 for ; Fri, 25 Apr 1997 08:49:57 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id XAA25776; Fri, 25 Apr 1997 23:47:07 +0800 (WST) Message-Id: <199704251547.XAA25776@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: NISHIO Shuichi , freebsd-smp@freebsd.org Subject: Re: Tyan ATX1668 problem -- success In-reply-to: Your message of "Fri, 25 Apr 1997 09:18:41 CST." <199704251518.JAA07978@Ilsa.StevesCafe.com> Date: Fri, 25 Apr 1997 23:47:06 +0800 From: Peter Wemm Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Passe wrote: > As to the improved performance, this is because we are taking a big hit on > all those TLB invalidations (has to be done), and the old method was competin g > for the kernel lock each time. The new method goes right for it without the > lock. No.. The old method wasn't fetching the kernel lock either.. I suspect that the speedup was because the old method was using the generic IPI_INTR() handler which was set up for calling C code, while the new one is a cut down version that doesn't have as much overhead. (Incidently, the new one doesn't show up on the vmstat interrupt counts) Cheers, -Peter