Re: The rc.d mess strikes back

2009-03-04 Thread Garrett Cooper
On Tue, Mar 3, 2009 at 10:12 PM, Mike Telahun Makonnen wrote: > On Tue, Mar 3, 2009 at 9:03 PM, Brooks Davis wrote: >> >> I don't have much time to debug this, but I've not had problems with >> services starting too early on the systems I've been running with async >> dhcp.  If there is a problem

Re: The rc.d mess strikes back

2009-03-04 Thread Garrett Cooper
On Mon, Mar 2, 2009 at 3:32 PM, Andrew Reilly wrote: > On Mon, Mar 02, 2009 at 01:25:22PM -0700, M. Warner Losh wrote: >> In message: <2fd864e0903020512i22b2c31fg487aaf37fed63...@mail.gmail.com> >>             Astrodog writes: >> : As unfortunate (and annoying) as that delay was, your system was

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 1

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 wh

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Artyom Mirgorodsky
I forgot to write, that a similar problem was observed in FreeBSD 7 with usb4bsd patches. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: <200903040922.48163.hsela...@c2i.net> Hans Petter Selasky writes: : 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.

Re: Knobs to reduce PCI interrupt latency

2009-03-04 Thread M. Warner Losh
In message: <200903040942.39191.hsela...@c2i.net> Hans Petter Selasky 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 they would be ena

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 writes: > : Hi Steve, > : > : On Tuesday 03 March 2009, Steve Calfee wrote: > : > > I think the reduced performance can be explained by a clamp on the > : > > i

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: <200903041001.37376.hsela...@c2i.net> Hans Petter Selasky writes: : On Wednesday 04 March 2009, M. Warner Losh wrote: : > In message: <200903040922.48163.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : Hi Steve, : > : : > : On Tuesday 03 March 2009,

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 a

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 > wrote: > > On Tue, Mar 3, 2009 at 9:03 PM, Brooks Davis wrote: > >> > >> I don't have much time to debug this, but I've not had problems with > >> services starting too early

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-

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 u...@zembla.universe:/usr/obj/usr/src/s

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 produc

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 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 message: <20090

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

Re: usb/132312: Xorg 7.4 halts USB controller

2009-03-04 Thread Hans Petter Selasky
On Wednesday 04 March 2009, Alexey Viziryakin wrote: > >Number: 132312 > >Category: usb > >Synopsis: Xorg 7.4 halts USB controller > >Confidential: no > >Severity: critical > >Priority: high > >Responsible:freebsd-usb > >State: open > >Quarter: > >Keyw

Re: usb touchpad not working properly on CURRENT with usb2

2009-03-04 Thread Hans Petter Selasky
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 M. Warner Losh
In message: <200903042031.37578.hsela...@c2i.net> Hans Petter Selasky writes: : 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 intermedi

Re: usb/132312: Xorg 7.4 halts USB controller

2009-03-04 Thread Hans Petter Selasky
The following reply was made to PR usb/132312; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Alexey Viziryakin , freebsd-gnats-sub...@freebsd.org Subject: Re: usb/132312: Xorg 7.4 halts USB controller Date: Wed, 4 Mar 2009 20:38:56 +0100 On Wednesday 04

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-CUR

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: http://perforce

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Steve Calfee
On Wed, Mar 4, 2009 at 12:22 AM, Hans Petter Selasky wrote: > 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 explana

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 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 hardware > rela

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Artyom Mirgorodsky
> Here is a patch which I think will address your problem. It is EHCI hardware > related. Different models behave differently. Try this: > > http://perforce.freebsd.org/chv.cgi?CH=158692 Much better: dd if=/dev/da0 of=/dev/null bs=64k count=5000 5000+0 records in 5000+0 records out 32768 by

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Hans Petter Selasky
On Wednesday 04 March 2009, Steve Calfee wrote: > On Wed, Mar 4, 2009 at 2:10 PM, Hans Petter Selasky 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

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 ___ freebsd-usb@freebsd.or

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread Wilkinson, Alex
Excuse my ignorance, but what is meant by "doorbell" ? -aW 0n Thu, Mar 05, 2009 at 12:09:47AM +0100, Hans Petter Selasky wrote: >The new USB stack _is_ doing things faster than the old one. I have gone >through a large range of tests before I landed on the doorbell trick. >Ac

Re: TODO

2009-03-04 Thread pluknet
2009/3/5 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 > Please, add the DDB support. This is now im