Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2008 10:44:23 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r185050 - head/usr.sbin/powerd
Message-ID:  <1227109463.16692.9.camel@squirrel.corp.cox.com>
In-Reply-To: <4923C939.2090003@FreeBSD.org>
References:  <200811181324.mAIDOcOc079096@svn.freebsd.org> <1227064379.1979.3.camel@wombat.2hip.net> <4923C939.2090003@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-BNVZO///OrJ41GgU8U3J
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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:
> >>  =20
> > 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.
>=20
> 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?
>=20
> 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@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 =3D "GenuineIntel"  Id =3D 0x6fd  Stepping =3D 13

Features=3D0xbfebfbff<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=3D0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=3D0x20100000<NX,LM>
  AMD Features2=3D0x1<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.


--=-BNVZO///OrJ41GgU8U3J
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEABECAAYFAkkkNFcACgkQM4TrQ4qfRON4egCfaFNd1wl2zhPwiUFa6xcmJXn+
txkAoIXNv6d+nQy/pwlqXUeRmrihF8XG
=KVbr
-----END PGP SIGNATURE-----

--=-BNVZO///OrJ41GgU8U3J--




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