svn commit: r185050 - head/usr.sbin/powerd

Robert Noland rnoland at FreeBSD.org
Wed Nov 19 07:44:31 PST 2008


On Wed, 2008-11-19 at 10:07 +0200, Alexander Motin wrote:
> Robert Noland wrote:
> > On Tue, 2008-11-18 at 13:24 +0000, Alexander Motin wrote:
> >> Log:
> >>   Set of powerd enchancements:
> >>   
> > Somehow this seems to be too sensitive.  My laptop previously idled at
> > 150Mhz... Occasionally bouncing up to maybe 450Mhz.  With the new algo,
> > it will sometimes drop to 900Mhz, but winds itself right back up to
> > 1.8Ghz.
> 
> Can you give me any details? How many CPUs do you have, which set of
> frequencies does it have? Are there any powerd options specified? Does
> powerd detects battery power? With AC or unknown power it will run in
> hiadaptive mode which keeps much higher frequencies. Can you run `powerd
> -v` and look what happens there?
> 
> powerd now drops/rises frequency exponentially, so lower frequency will
> be reached only after some period of idle. Rising is much faster to
> quickly restore system interactivity.

Right, what I expected, was a quicker ramp-up and a slower decay,
leading to more stable frequency while idling.

This is a Dell D630, Core2duo.  ACPI, line detection works and I was
testing with AC attached.  With AC attached, my concern isn't power, as
much as potential thermal impacts.  Idling at high frequency isn't
enough to kick my fans on high on this laptop, but I've had some that
would.

FreeBSD 8.0-CURRENT #1: Tue Nov 18 20:01:48 EST 2008
    root at wombat.2hip.net:/usr/obj/usr/src/sys/D630
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T7100  @ 1.80GHz (1795.00-MHz
686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2

dev.cpu.0.freq: 1800
dev.cpu.0.freq_levels: 1800/31000 1575/27125 1350/23250 1200/13000
1050/11375 900/9750 750/8125 600/6500 450/4875 300/3250 150/1625
dev.est.0.freq_settings: 1800/31000 1200/13000
dev.est.1.freq_settings: 1800/31000 1200/13000

dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1
3750/-1 2500/-1 1250/-1
dev.p4tcc.1.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1
3750/-1 2500/-1 1250/-1

robert.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20081119/c54367b8/attachment.pgp


More information about the svn-src-all mailing list