Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 13:03:44 -0800
From:      George Hartzell <hartzell@kestrel.alerce.com>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        freebsd-stable@freebsd.org, hartzell@alerce.com
Subject:   Re: HEADS UP: Release schedule for 2006 
Message-ID:  <17321.49968.925101.499278@satchel.alerce.com>
In-Reply-To: <20051217235823.BADD15D07@ptavv.es.net>
References:  <17315.22111.426723.110802@satchel.alerce.com> <20051217235823.BADD15D07@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17321.49968.925101.499278>