HEADS UP: Release schedule for 2006

George Hartzell hartzell at kestrel.alerce.com
Wed Dec 21 13:03:58 PST 2005


Kevin Oberman writes:
 > [discussion of USB/Cx level interactions clipped out...]
 > 
 > If you unload the drivers, you should be to lower levels. Take a look at
 > sysctl hw.acpi.cpu for detail and to see how much time is spent in each
 > sleep state.
 > 
 > I assume that you can unload the drivers, but my kernel has USB at this
 > time. I do plan on building a kernel without USB and see if unloading is
 > a workable solution. I think it should be.

I was spending all of my time in C1.  After I added

  performance_cx_lowest="LOW"
  economy_cx_lowest="LOW"

to my /etc/rc.conf, I found I spent all of my time in C2.

I built a kernel w/ all of the usb devices commented out (and
eventually remembered to set usbd_enable="NO" in /etc/rc.conf, else
the modules just get kloaded...), and now I have:

hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/85
hw.acpi.cpu.cx_lowest: C3
hw.acpi.cpu.cx_usage: 0.00% 15.21% 84.78%

If I start usbd by hand the system starts spending time in C2.  If I
stop usbd and kldunload usb, the system starts spending time in C3
again.

g.



More information about the freebsd-stable mailing list