lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 5 Jul 2008 22:04:34 +0200
From:	Björn Steinbrink <B.Steinbrink@....de>
To:	Arjan van de Ven <arjan@...radead.org>
Cc:	Pavel Machek <pavel@...e.cz>, auke-jan.h.kok@...el.com,
	linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
	len.brown@...el.com, cpufreq@...ts.linux.org.uk,
	davej@...emonkey.org.uk
Subject: Re: bug? acpi p-state + ondemand keeps dropping max freq

On 2008.07.05 21:49:08 +0200, Björn Steinbrink wrote:
> On 2008.06.16 07:43:37 -0700, Arjan van de Ven wrote:
> > On Mon, 16 Jun 2008 12:42:00 +0200
> > Pavel Machek <pavel@...e.cz> wrote:
> > 
> > > On Sat 2008-06-07 14:54:35, Arjan van de Ven wrote:
> > > > On Sat, 7 Jun 2008 23:39:18 +0200
> > > > Pavel Machek <pavel@...e.cz> wrote:
> > > > 
> > > > > > # echo 1866000 > scaling_max_freq ; cat scaling_max_freq
> > > > > > 800000
> > > > > > # echo 1866000 > scaling_max_freq ; cat scaling_max_freq
> > > > > > 800000
> > > > > > 
> > > > > > 
> > > > > > This renders my Dothan to utterly poor speeds. (standard T43)
> > > > > > 
> > > > > > performance cpufreq governor makes no difference - I still can't
> > > > > > change the frequency upper/lower values.
> > > > > 
> > > > > Hmm, I have similar problem in Novell bugzilla, on very different
> > > > > hw:
> > > > > 
> > > > > https://bugzilla.novell.com/show_bug.cgi?id=396311
> > > 
> > > > are either of you running gnome-power-manager or kpowersaved ?
> > > > sometimes these programs (and more likely, the patches added by a
> > > > distro maintainer who doesn't fully realize how power works) tend to
> > > > muck with kernel settings around CPU frequency that they have
> > > > absolutely no business touching...
> > > 
> > > In novel bugzilla case ignore_ppc=1 helped, so it seems to be BIOS
> > > problem, not userland's...
> > 
> > well as long as the user doesn't use this for production use... the
> > BIOS often reduces frequencies available to deal with thermal
> > situations, so it's not a good idea to ignore that.
> 
> Yep, seems to be a thermal thing. I managed to find some time to play
> around with it a bit, and running a cpu hog for a short period of time,
> while watching temperature and scaling_max_freq showed this:
> 
[snip]
> 
> 
> So upon reaching 54°C some throttling kicks in and only when going back
> to less then 50°C, that limit is lifted again. Too bad that with Linux,
> this T43 already runs at about 47°C when idle, so as soon as there's any
> load on the cpu, it will scale up for a few seconds and then get
> throttled :-(

OK, a stop at thinkwiki[1] later, I know what's happening now. The BIOS
has a few settings regarding CPU speed on AC/battery. One is about
balancing power and noise. The above throttling does no longer kick in
if that option is set to "Maximum Power".

Björn

[1] http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling#Troubleshooting
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ