From owner-freebsd-questions@FreeBSD.ORG Sat Jan 15 05:04:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEB09106566C; Sat, 15 Jan 2011 05:04:51 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-mb01.mx.aol.com (imr-mb01.mx.aol.com [64.12.207.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED358FC12; Sat, 15 Jan 2011 05:04:50 +0000 (UTC) Received: from imo-ma04.mx.aol.com (imo-ma04.mx.aol.com [64.12.78.139]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id p0F54Z0L007209; Sat, 15 Jan 2011 00:04:35 -0500 Received: from dieterbsd@engineer.com by imo-ma04.mx.aol.com (mail_out_v42.9.) id n.d23.5a065243 (45074); Sat, 15 Jan 2011 00:04:31 -0500 (EST) Received: from smtprly-de02.mx.aol.com (smtprly-de02.mx.aol.com [205.188.249.169]) by cia-mc02.mx.aol.com (v129.7) with ESMTP id MAILCIAMC026-b2364d312add20f; Sat, 15 Jan 2011 00:04:31 -0500 Received: from web-mmc-m06 (web-mmc-m06.sim.aol.com [64.12.224.139]) by smtprly-de02.mx.aol.com (v129.5) with ESMTP id MAILSMTPRLYDE023-b2364d312add20f; Sat, 15 Jan 2011 00:04:29 -0500 To: hselasky@c2i.net, freebsd-questions@freebsd.org, freebsd-usb@freebsd.org, freebsd-firewire@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Sat, 15 Jan 2011 00:04:29 -0500 X-AOL-IP: 67.206.164.20 X-MB-Message-Source: WebUI Received: from 67.206.164.20 by web-mmc-m06.sysops.aol.com (64.12.224.139) with HTTP (WebMailUI); Sat, 15 Jan 2011 00:04:29 -0500 MIME-Version: 1.0 From: dieterbsd@engineer.com X-MB-Message-Type: User Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: Mail.com Webmail 33069-STANDARD Message-Id: <8CD8288D3167A65-FC4-3504F@web-mmc-m06.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Cc: freebsd@sopwith.solgatos.com Subject: Re: lock contention problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2011 05:04:52 -0000 > It might be a hardware resource starvation problem. It is possible to=20 nice > umass by simply adding a line like: > > .interval =3D 2, /* 2 milliseconds */ Thanks, but it didn't help. Also tried setting it to 1, 4, and 20. > http://svn.freebsd.org/changeset/base/217350 Is this supposed to work for 8.0? Is there more to it than a couple line change in a .h file? /usr/src/sys/dev/usb/controller/usb_controller.c: In function=20 'usb_attach_sub': /usr/src/sys/dev/usb/controller/usb_controller.c:434: warning: implicit=20 declaration of function 'PI_SWI' /usr/src/sys/dev/usb/controller/usb_controller.c:434: warning: nested=20 extern declaration of 'PI_SWI' I'm feeding "fwcontrol -u 1 -S /dev/stdin" from a pipe. The write() to the pipe took over a second. Perhaps connected to the lock=20 contention of over a second? The EAGAIN comes from the writev() roughly 20 lines from the end of /usr/src/usr.sbin/fwcontrol/fwdv.c. CPU is 98% idle. Data rate is only 3.4 MiB/second.