Re: Event based scheduling and USB.

2010-10-27 Thread Hans Petter Selasky
By default USB devices are not suspended. You can use usbconfig power_save to enable automatic power save for all devices. --HPS ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any

Re: Event based scheduling and USB.

2010-10-27 Thread Takanori Watanabe
In message 4cc732c7.50...@freebsd.org, Alexander Motin wrote: Takanori Watanabe wrote: Is this behavior expected, or something wrong? I noticed one of usb host controller device shares HPET irq. When I implement interrupt filter in uhci driver, the load average goes to 0 as before.

Re: Event based scheduling and USB.

2010-10-27 Thread Alexander Motin
Nate Lawson wrote: On 10/26/2010 12:57 PM, Alexander Motin wrote: Takanori Watanabe wrote: I updated my FreeBSD tree on laptop, to the current as of 18 Oct.2010, it works fine with CPU C3 state enabled, I think this is your achievement of event time scheduler, thanks! Ah, so mav@

Re: Event based scheduling and USB.

2010-10-27 Thread Alexander Motin
Takanori Watanabe wrote: In message 4cc732c7.50...@freebsd.org, Alexander Motin wrote: Most likely you should be able to avoid interrupt sharing using some additional HPET options, described at hpet(4). Try to disable using shared IRQ with uhci, the IRQ used by HPET become cpu: interrupt

Re: Event based scheduling and USB.

2010-10-27 Thread Alexander Leidinger
Quoting Alexander Motin m...@freebsd.org (from Tue, 26 Oct 2010 22:57:59 +0300): Takanori Watanabe wrote: It's time to implement powertop for freebsd, isn't it? Surely it is. I was even thinking about possibility to port one from OpenSolaris, but other work distracted me. You may take

Re: Event based scheduling and USB.

2010-10-27 Thread Hans Petter Selasky
On Wednesday 27 October 2010 10:14:18 Alexander Motin wrote: As I understand, if respective USB port is not used, USB stack should put it into power_save mode not poll so often to deny entering C3 state. USB will stop the hardware from polling RAM, but still a 4 second root HUB software

Re: Event based scheduling and USB.

2010-10-27 Thread Takanori Watanabe
In message 4cc7db2a.2090...@freebsd.org, Alexander Motin wrote: Takanori Watanabe wrote: In message 4cc732c7.50...@freebsd.org, Alexander Motin wrote: Most likely you should be able to avoid interrupt sharing using some additional HPET options, described at hpet(4). Try to disable using

Re: Event based scheduling and USB.

2010-10-26 Thread Alexander Motin
Takanori Watanabe wrote: I updated my FreeBSD tree on laptop, to the current as of 18 Oct.2010, it works fine with CPU C3 state enabled, I think this is your achievement of event time scheduler, thanks! But when USB driver is enabled, the load average is considerablly high (0.6 to 1.0)