Date: Fri, 25 Feb 2005 21:55:10 +0100 From: Morten Rodal <morten@rodal.no> To: Nate Lawson <nate@root.org> Cc: current@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed Message-ID: <200502252155.17111.morten@rodal.no> In-Reply-To: <421E403E.7040804@root.org> References: <42068A5C.1030300@root.org> <200502241710.44321.morten@rodal.no> <421E403E.7040804@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart25241362.XJvuVZW8iM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 24 February 2005 21:59, Nate Lawson wrote: > Morten Rodal wrote: > > On Wednesday 23 February 2005 20:24, Nate Lawson wrote: > > The issue is partly fixed. I now see the following frequency levels > > if, and only if, I booted the laptop on battery power: > > > > # sysctl dev.cpu.0.freq_levels > > dev.cpu.0.freq_levels: 1200/0 1050/0 900/0 787/0 750/0 656/0 600/0 > > 562/0 525/0 450/0 393/0 337/0 300/0 262/0 225/0 187/0 150/0 112/0 > > 75/0 37/0 > > > > Note that the native processor speed (1700 MHz) is not listed, and > > setting the speed below 150 hard-hangs/freezes the laptop. > > Not sure we can fix this one. It appears some very low clock rates > hang some systems. Can you test with SCHED_4BSD? > This is with SCHED_4BSD. I have been using that since it became the=20 default again in -CURRENT. > > When booting with AC-power the laptop does not report any > > freq{,_levels}. It does not matter if I remove the AC-power once the > > computer is up and running, I always get this: > > > > # sysctl dev.cpu.0.freq > > dev.cpu.0.freq: -1 > > I just committed a fix for this. With sources from 18:56 CET I get this list: # sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 1700/0 1487/0 1301/0 1275/0 1200/0 1115/0 1062/0=20 956/0 920/0 900/0 850/0 796/0 750/0 663/0 637/0 600/0 557/0 531/0 478/0=20 450/0 425/0 398/0 371/0 337/0 300/0 265/0 238/0 212/0 185/0 150/0 112/0=20 79/0 53/0 26/0 If I boot the computer using battery power I get the same frequencies as=20 posted earlier. I did however remember one thing about the ACPI support=20 on this Dell Inspiron (or maybe a bad hardware design), and that was=20 people complained that the CPU was stuck at a maximum of 1200 MHz if it=20 was started using battery power and then later have the power connected=20 again. So that might explain why I do not see 1700 MHz as a choice=20 unless I start it with the AC-power connected. Rebooting the computer=20 does solve the problem, so it might just be a minor problem with the=20 frequency levels only being read once (at boot). =2D-=20 Morten Rodal "A supercomputer is a device for turning compute-bound problems into I/O bound problems." -- Ken Batcher (Goodyear Aerospace) --nextPart25241362.XJvuVZW8iM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCH5C1bWe1Cy11WVsRAsHlAKDP4JXNaXD5wXPUVdIqlzw/esL1qQCg3ztU GBkZMb3lfiaDS6q59flIpTs= =jmgK -----END PGP SIGNATURE----- --nextPart25241362.XJvuVZW8iM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502252155.17111.morten>