Re: The rc.d mess strikes back

2009-03-04 Thread Garrett Cooper
On Mon, Mar 2, 2009 at 3:32 PM, Andrew Reilly andrew-free...@areilly.bpc-users.org wrote: On Mon, Mar 02, 2009 at 01:25:22PM -0700, M. Warner Losh wrote: In message: 2fd864e0903020512i22b2c31fg487aaf37fed63...@mail.gmail.com             Astrodog astro...@gmail.com writes: : As unfortunate (and

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Hans Petter Selasky
Hi Steve, On Tuesday 03 March 2009, Steve Calfee wrote: I think the reduced performance can be explained by a clamp on the interrupt rate around 1000 interrupts per second instead of 8000. Maybe someone has an explanation for this? The EHCI is being programmed to interrupt at 125us

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Artyom Mirgorodsky
Repeat the same test using FreeBSD -current. a) On the machine where it is slow. vmstat -i ; sleep 1 ; vmstat -i interrupt total rate irq1: atkbd0 233 2 irq14: ata0 85 0 irq16: vgapci0

Knobs to reduce PCI interrupt latency [was: Low perfomance when read from usb flash drive]

2009-03-04 Thread Hans Petter Selasky
Hi, Do we have any knobs in FreeBSD to reduce the interrupt latency? I am currently seeing performance differences between 8.x and 7.x. Anyone have any ideas? --HPS On Wednesday 04 March 2009, Artyom Mirgorodsky wrote: Repeat the same test using FreeBSD -current. a) On the machine where

Re: Knobs to reduce PCI interrupt latency

2009-03-04 Thread M. Warner Losh
In message: 200903040942.39191.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net writes: : Do we have any knobs in FreeBSD to reduce the interrupt latency? I am : currently seeing performance differences between 8.x and 7.x. Anyone have any : ideas? If we did, don't you think

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Hans Petter Selasky
On Wednesday 04 March 2009, M. Warner Losh wrote: In message: 200903040922.48163.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net writes: : Hi Steve, : : On Tuesday 03 March 2009, Steve Calfee wrote: : I think the reduced performance can be explained by a clamp on the :

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Andrew Thompson
On Wed, Mar 04, 2009 at 10:01:36AM +0100, Hans Petter Selasky wrote: On Wednesday 04 March 2009, M. Warner Losh wrote: In message: 200903040922.48163.hsela...@c2i.net : I am looking at using FreeBSD in an embedded product. I have not : examined your ehci software, but I am aware of how

Re: The rc.d mess strikes back

2009-03-04 Thread Brooks Davis
On Wed, Mar 04, 2009 at 12:04:06AM -0800, Garrett Cooper wrote: On Tue, Mar 3, 2009 at 10:12 PM, Mike Telahun Makonnen mmakon...@gmail.com wrote: On Tue, Mar 3, 2009 at 9:03 PM, Brooks Davis bro...@freebsd.org wrote: I don't have much time to debug this, but I've not had problems with

usb/132312: Xorg 7.4 halts USB controller

2009-03-04 Thread Alexey Viziryakin
Number: 132312 Category: usb Synopsis: Xorg 7.4 halts USB controller Confidential: no Severity: critical Priority: high Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id:

usb touchpad not working properly on CURRENT with usb2

2009-03-04 Thread Boris Kotzev
Hi, The touchpad of my laptop is not responding properly to input anymore. It used to work fine with the old usb stack. The laptop is running CURRENT from yesterday: FreeBSD zembla.universe 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Mar 4 17:30:05 EET 2009

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Hans Petter Selasky
On Wednesday 04 March 2009, Andrew Thompson wrote: On Wed, Mar 04, 2009 at 10:01:36AM +0100, Hans Petter Selasky wrote: On Wednesday 04 March 2009, M. Warner Losh wrote: In message: 200903040922.48163.hsela...@c2i.net : I am looking at using FreeBSD in an embedded product. I have not

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: 200903041910.58446.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net writes: : On Wednesday 04 March 2009, Andrew Thompson wrote: : On Wed, Mar 04, 2009 at 10:01:36AM +0100, Hans Petter Selasky wrote: : On Wednesday 04 March 2009, M. Warner Losh wrote: :In

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Hans Petter Selasky
On Wednesday 04 March 2009, M. Warner Losh wrote: : : If you do change to filters then this is much easier with taskqueues as : it has a fast variant, otherwise you would need an intermediate step in : order to signal the existing usb threading scheme. The taskqueue : changeover will be

Re: usb touchpad not working properly on CURRENT with usb2

2009-03-04 Thread Boris Kotzev
On Wednesday 04 March 2009, Boris Kotzev wrote: Hi, The touchpad of my laptop is not responding properly to input anymore. It used to work fine with the old usb stack. The laptop is running CURRENT from yesterday: FreeBSD zembla.universe 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Mar

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Hans Petter Selasky
On Wednesday 04 March 2009, Artyom Mirgorodsky wrote: I forgot to write, that a similar problem was observed in FreeBSD 7 with usb4bsd patches. Here is a patch which I think will address your problem. It is EHCI hardware related. Different models behave differently. Try this:

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Steve Calfee
On Wed, Mar 4, 2009 at 2:10 PM, Hans Petter Selasky hsela...@c2i.net wrote: On Wednesday 04 March 2009, Artyom Mirgorodsky wrote: I forgot to write, that a similar problem was observed in FreeBSD 7 with usb4bsd patches. Here is a patch which I think will address your problem. It is EHCI

TODO

2009-03-04 Thread Andrew Thompson
Hi, I have started a page to track USB tasks, please update with any items and feel free to work on any. Any discussion about the items should happen on the usb@ mailing list. http://wiki.freebsd.org/USBTODO cheers, Andrew ___