From owner-freebsd-bugs@FreeBSD.ORG Fri May 9 00:30:16 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A605D37B401 for ; Fri, 9 May 2003 00:30:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C4DC43F75 for ; Fri, 9 May 2003 00:30:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h497UFUp013461 for ; Fri, 9 May 2003 00:30:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h497UF9h013460; Fri, 9 May 2003 00:30:15 -0700 (PDT) Date: Fri, 9 May 2003 00:30:15 -0700 (PDT) Message-Id: <200305090730.h497UF9h013460@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Ian Freislich" Subject: Re: kern/51982: sio1: interrupt-level buffer overflows X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ian Freislich List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 07:30:17 -0000 The following reply was made to PR kern/51982; it has been noted by GNATS. From: "Ian Freislich" To: Bruce Evans Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: kern/51982: sio1: interrupt-level buffer overflows Date: Fri, 09 May 2003 09:29:53 +0200 Bruce Evans wrote: > On Mon, 5 May 2003, Ian Freislich wrote: > > > >Description: > > Transferring data at "high" speed 115200bps over the serial > > line (even though the actual incoming line stream is about > > 37000bps according to the modem LCD panel) results in the > > following messages on the console at a rate of about 1 log > > line every 10 to 15 seconds. > > > > These buffer overruns have gradually become more frequent > > from about 3 lines and 24 overruns a day around September > > 2002 (when I started running Current - 4.x does not suffer > > from this) to the current flurry. > > -current has excessive interrupt latency caused by Giant locking almost > everything. > > Try changing this line in sio.c: > > cp4ticks = speed / 10 / hz * 4; > > to something like: > > cp4ticks = speed / 10 / hz * 40; Thanks. Making this change seems to have fixed the problem. Will this be committed or do I need to maintain this privately until the larger interrupt latency problem is fixed? > Transient interrupt latency problems are supposed to be made harmless > by using rts flow control. There is a PR (maybe from you?) about rts > flow control apparently not working for one modem. Not me. Ian