From owner-freebsd-current Wed Mar 4 19:27:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA09761 for freebsd-current-outgoing; Wed, 4 Mar 1998 19:27:12 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA09740 for ; Wed, 4 Mar 1998 19:27:05 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id TAA23786; Wed, 4 Mar 1998 19:23:54 -0800 (PST) Message-Id: <199803050323.TAA23786@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: shimon@simon-shapiro.org cc: Evan Champion , current@FreeBSD.ORG, Mike Smith , Matthew Thyer Subject: Re: silo overflows (Was Re: 3.0-RELEASE?) In-reply-to: Your message of "Wed, 04 Mar 1998 18:58:44 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Mar 1998 19:23:52 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > I have a Pentium Pro 200 with 16650's (and the 16650's are detected) and > > during a full install of FreeBSD over 128kbps ISDN (230.4kbps port speed) > > I > > would get around 700 FIFO overflows. Someone would have to do a lot of > > convincing to get me to believe the driver is working properly when a > > machine like that can't handle a 128kbps datastream in single user > > mode... > > Assume you are doing something like FTP of packages-current. > You are reading about 16 kilobytes per second, which is just about 1,142 > interrupts per second (assuming a 16 myte FIFO and 14 byte treshold. Interrupt rate is less significant in this issue than interrupt latency. At 230kbps you have about 43us/character. Without a 16650 datasheet I can't confirm whether the standard FIFO trigger levels are doubled or not; if they are, you have 4 bytes or about 170us between when the interrupt is generated and "too late". Because of the way the sio driver handles interrupts, you want to look for code sections bracketed with disable_intr/enable_intr calls to find possible culprits. > Every > 1KB, you write to disk, so now we have 1,160 interrupts per second. There's no guarantee of this; particularly not if I/O clustering, async or soft updates are enabled. Filesystems are mounted async during an install. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message