From owner-freebsd-current Sun Sep 24 11:30:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 8A73E37B422; Sun, 24 Sep 2000 11:30:20 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e8OIU8e29105; Sun, 24 Sep 2000 11:30:08 -0700 (PDT) Date: Sun, 24 Sep 2000 11:30:08 -0700 From: Alfred Perlstein To: Dag-Erling Smorgrav Cc: Warner Losh , The Hermit Hacker , Bruce Evans , freebsd-current@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: 'interrupt-level buffer overflows' for sio device? Message-ID: <20000924113008.N9141@fw.wintelcom.net> References: <200009080314.VAA50701@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from des@ofug.org on Sun, Sep 24, 2000 at 08:26:58PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dag-Erling Smorgrav [000924 11:27] wrote: > Warner Losh writes: > > In message The Hermit Hacker writes: > > : Okay, I'm a little confused here ... from what I'm reading/following, this > > : isn't a new problem ... or is it? If not, why has it suddenly manifested > > : itself with the new SMP code? > > It seems to be new with the SMP code. At least that's what my reading > > of the original message is. > > I'm seeing the same thing as Marc, but I have a little more info: > > 1) it started after the SMPng commit. > > 2) it's not just sio, it's everything: > > - interactive response is markedly slower. > > - the keyboard autorepeats slower than it used to (even with > kbdcontrol -r fast). > > - I/O bound processes such as mpg123 or cvsup will pause briefly > when there is other I/O going on (moving the mouse, typing fast, > holding down a key on the keyboard), which they didn't use to. This is basically a result of the entire kernel running at the equivelant of splhigh, all interrupts are blocked until a context switch in kernel land. There's work in progress to mpsafe the drivers (at least for ethernet, more will arrive later). -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message