From: Kevin Nathan on
On Fri, 4 Dec 2009 17:34:03 +0100
houghi <houghi(a)houghi.org.invalid> wrote:

>The CPU is able to do 2.00GHz, 2.34GHz and 2.83GHz. Thos because it is
>configured 'ondemand' instead of 'conservative', 'powersave',
>'performance' or 'userspace'. So it all works. It is already doing the
>different speeds.
>

Where is it configured 'ondemand'? Change that to 'performance' and you
should have full CPU speed.


--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline)

Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.25.20-0.5-pae
9:53am up 4 days 1:10, 38 users, load average: 0.18, 0.17, 0.17

From: Kevin Nathan on
On Fri, 4 Dec 2009 19:36:10 +0100
houghi <houghi(a)houghi.org.invalid> wrote:

>Automagically configured. That is why I would like a program. I can see
>it but I can't change it.
>

Ok, did a little CLI hunting and have some ideas for you.

First, I grepped for 'ondemand' in the /etc directory (I'm on 11.0 so
there might be differences) and came up with the following (among
others):

init.d/haldaemon: *ondemand*)
init.d/haldaemon: modprobe -q cpufreq_ondemand >/dev/null 2>&1
init.d/haldaemon: [ $? != 0 ] && $LOGGER ondemand cpufreq
governor could not be loaded

So, this appears to be kernel modules. That led me to check source:

cd /usr/src/linux
find . -iname 'cpufreq*'

which gives (on my machine and some entries snipped):

../drivers/cpufreq
../drivers/cpufreq/cpufreq_powersave.c
../drivers/cpufreq/cpufreq.c
../drivers/cpufreq/cpufreq_ondemand.c
../drivers/cpufreq/cpufreq_conservative.c
../drivers/cpufreq/cpufreq_performance.c
../drivers/cpufreq/cpufreq_stats.c
../drivers/cpufreq/cpufreq_userspace.c

Digging more into /etc I found /etc/sysconfig/powersave/cpufreq which
appears to be where you can set how you want it to be handled (kernel,
HAL). A comment in that file seems to apply in your case:

# This setting will only be taken into account
# if no other policy manager, such as gnome-power-manager
# or kpowersave, is running

I hope you find this information of some use to you! Good luck! :-)


--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline)

Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.25.20-0.5-pae
11:53am up 4 days 3:09, 38 users, load average: 0.36, 0.24, 0.23

From: Paul J Gans on
houghi <houghi(a)houghi.org.invalid> wrote:
>Darklight wrote:
>> kpowersave

>Anything else? The above is not installed. I could install it obviously,
>but something more generic would be nice.

I often go to YAST -> Software Management and then put some
appropriate words in the "search" box. This usually brings
up a ton of programs, most not installed, but it is easy to
see which ones *are* installed.

A moment with man pages might then solve your problem.

--
--- Paul J. Gans
From: Baron on
houghi wrote:

> baron wrote:
>> Hi Houghi,
>> Its quite likely that the CPU speed is actually 2000 for a 2.8Ghz
>> cpu. I'm guessing that you have an intel cpu.
>
> It is 2.00Ghz when nothing is going on. It is 2.83Ghz when a lot is
> going on. It is different depending on the load. I want to be able to
> put it at 2.83Ghz all the time.
>
> I do see it change from time to time.
>
> houghi

Ah ! In that case I misunderstood your problem.

--
Best Regards:
Baron.
From: Baron on
houghi wrote:

> Ulick Magee wrote:
>> Presumably the reason you didn't want to install kpowersave was a
>> metric fuckton of KDE dependencies on a machine that doesn't have or
>> need KDE (knowing your desktop environment preferences :) )
>
> The reason is that something already does the changing of the CPU
> speed so I would not like to install another program if it isn't
> needed.
>
>> At least cpufrequtils would let you experiment and see if you could
>> get the frequency any higher (or maybe an error message that would be
>> helpful.)
>
> Something already makes the speed higher (up to 2.83) if it is needed.
>
> <snip a lot of stuff that would point in the direction of
> troubleshooting>
>
> The CPU is able to do 2.00GHz, 2.34GHz and 2.83GHz. Thos because it is
> configured 'ondemand' instead of 'conservative', 'powersave',
> 'performance' or 'userspace'. So it all works. It is already doing the
> different speeds.
>
> So there is nothing wrong with the CPU. Nothing on my side that I
> doubt there is an issue with the CPU. I just want to do the change
> myself instead of letting openSUSE do the change of speed as it does
> now.

Have you checked that its not a BIOS setting ? My Laptop
has "Speedstep" in the BIOS.

> Most likely there is nothing wrong with the computer and the issue I
> have is a software issue. However I want to be sure, so I want to
> force the PC at full speed with the ability to turn things back later.
>
> houghi

--
Best Regards:
Baron.