From owner-freebsd-current Thu Sep 7 21:17:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 37F2837B423 for ; Thu, 7 Sep 2000 21:17:49 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id VAA32639; Thu, 7 Sep 2000 21:17:14 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009080417.VAA32639@pike.osd.bsdi.com> Subject: Re: 'interrupt-level buffer overflows' for sio device? In-Reply-To: from Bruce Evans at "Sep 8, 2000 11:50:45 am" To: Bruce Evans Date: Thu, 7 Sep 2000 21:17:14 -0700 (PDT) Cc: Warner Losh , The Hermit Hacker , freebsd-current@FreeBSD.ORG, freebsd-smp@FreeBSD.ORGG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Thu, 7 Sep 2000, Warner Losh wrote: > > > In message The Hermit Hacker writes: > > : sio1: 32 more interrupt-level buffer overflows (total 32) > > > > >From the man page: > > sio%d: interrupt-level buffer overflow. Problem in the bottom half of > > the driver. > > > > This likely means that the bottom half of sio isn't running fast > > enough to harvest the characters in the interrupt level buffers. > > This means that fast interrupt handlers aren't actually fast. Especially > if it occurs for slow devices like mouses. Even slow interrupt handlers > had about 10 times lower latency than necessary for 1200 bps serial mouses. > > Bruce Well unfortunately this doesn't make sense since the sio interrupt _is_ still fast, and thus is not run as a thread as other interrupts, but is run just like old fast interrupts were. However, there is an issue with sio right now in that it's not getting any input (actually, on my test machines, I can't get the stupid hardware to set the actual DCD bit, so I can't even open the devices *sigh*). My guess then is that we aren't scheduling the soft interrupt to harvest the data in the top half from the bottom half. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message