From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 23 03:30:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C525106564A for ; Tue, 23 Dec 2008 03:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E78FD8FC1C for ; Tue, 23 Dec 2008 03:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBN3U4mH014563 for ; Tue, 23 Dec 2008 03:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBN3U48o014560; Tue, 23 Dec 2008 03:30:04 GMT (envelope-from gnats) Date: Tue, 23 Dec 2008 03:30:04 GMT Message-Id: <200812230330.mBN3U48o014560@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Sean Bruno Cc: Subject: Re: kern/118093: firewire bus reset hogs CPU, causing data to be lost X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sean Bruno List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 03:30:05 -0000 The following reply was made to PR kern/118093; it has been noted by GNATS. From: Sean Bruno To: Dieter Cc: freebsd-firewire@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/118093: firewire bus reset hogs CPU, causing data to be lost Date: Mon, 22 Dec 2008 19:21:49 -0800 Dieter wrote: > In message <494DAEB1.1070909@miralink.com>, Sean Bruno writes: > > >> I setup my system to execute a bus reset every 1 second, simultaneously, >> I started copying a large >> file onto the system see if anything would happen. >> >> I saw no change to copy speed reported by SCP during the entire >> transaction. I also see no change >> to the system load while this is occurring. >> > > Does your system have a RS-232 console or VGA console? > The problem might be specific to RS-232. > > I have both. I disabled my serial console to test, no change when using the VGA console only. >> This seems indicative of "something else" going on. >> > > Any idea what this "something else" might be? > > Does anyone have a clue why my spl calls are returning 0 ? > > I confirmed that spl's are complete no-ops since rel 5. So, you want to ignore them as they are just markers now where locking should be implemented. I went back in your original submission and I can see a significant drop in I/O when resetting the F/W bus. If I have the following running: dd if=/dev/zero of=/dev/ad6 bs=64k Then I see about 64MB/S normally. When I reset any firewire bus, I see the throughput drop as reported by iostat by a significant amount(2-4 MB/s). I am assuming that the firewire driver is holding a very heavy lock here that is cascading down to the printf(). At least, that would be my ASSumption. :) I will continue to poke around. You are not crazy Dieter. Sean