Mailinglist Archive: opensuse (4634 mails)

< Previous Next >
Re: [opensuse] CPU speed halved for no reason?
  • From: Martin Mielke <m_mlk@xxxxxxxxx>
  • Date: Sun, 17 Dec 2006 17:42:48 -0800 (PST)
  • Message-id: <20061218014248.51250.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi there Thibaut,

I faced a similar situation some days ago with my CPU(s)... both cores seemed to be just relaxing and watching the life go by... I made some tests and I saw them working at full-speed... so my worries no longer exits (by now).

Currently I don't use KPowersave as my box isn't a laptop and the system is plugged to the socket on the wall (actually to the UPS).

You can test how your CPU is acting by compiling whatever you feel like and taking a look at /proc/cpuinfo like this:

$ cat /proc/cpuinfo (I'm only showing info for one core)
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping : 1
cpu MHz : 1000.000
.
.
.

as you can see, it's quite relaxed...

But when a compilation takes place...

cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping : 1
cpu MHz : 2200.000
.
.
.

they throttle to full speed ahead :-)

The clock frequency may vary as well depending on the system load.


HTH,
Martin



----- Original Message ----
From: Thibaut Cousin <linux@xxxxxxxxxxxxxxxxxx>
To: opensuse@xxxxxxxxxxxx
Sent: Monday, December 18, 2006 2:07:13 AM
Subject: [opensuse] CPU speed halved for no reason?

Hello,

My computer is an AMD64 3200 MHz (real speed 2000 MHz) running OpenSUSE 10.2
x86_64.
Everything is fine, but I noticed a strange detail, I don't know how to
understand it.

At first I had a KPowersave icon in the KDE systray. By default, it seemed
to choose a "Dynamic" management of the CPU. Then, the result of the
cpufreq-info told me that the processor's frequency was free to vary between
1 and 2 GHz, and that it was currently running at 1000 MHz.
Since my computer is not a laptop, I don't care about autonomy, so I want it
to run at 2000 MHz all the time. I selected "Performance" in KPowersave, and
it worked as expected: the speed reported by cpufreq-info jumped to 2000 MHz.

But after the next reboot, I was back to "Dynamic". I went to the
appropriate YaST2 module, but everything was already set as I wanted:
Performance in all cases.

So I selected "Performance" in KPowersave again, and then quit KPowersave.
In case KPowersave was responsible for the problem. To no avail. After the
next reboot, no KPowersave, but I was still down to 1000 MHz.

My final question is: how do I tell my stupid CPU that it's not running on a
laptop, and that it should be at full speed all the time?
Thanks for your attention,

--
Thibaut Cousin
http://www.thibaut-cousin.net




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups