From: Darklight on
houghi wrote:

> I noticed that my CPU is now not running at full speed. Where can I set
> the speed to full? It is running at 2GHz while the mobo clearly states
> in the bios that it is 2.83.
>
> So something slows it down. Probably rightfully to save energy. It is
> stated as "ondemand" now.
>
> However I have some small issues with watching tv with mplayer where the
> first 15-20 seconds are very slugish, while the sound comes out right
> away. Movies give no problem at all.
>
> This leads to extreme out of sync sound and music (16-20 seconds). I
> tried many possible things, but would like to exclude the CPU issue
> before I go any further.
>
> houghi

kpowersave
From: Ulick Magee on
houghi wrote:
> Darklight wrote:
>> kpowersave
>
> Anything else? The above is not installed. I could install it obviously,
> but something more generic would be nice.

Houghi, is your google/scroogle broken? :-P

First result for:

configure cpu speed linux

gives cpufreq. First result for cpufreq is:

http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufreq.html

which links to:

http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html

cpufrequtils is in the main repo.


HTH, HAND and remember, GIYF :-;




--

Ulick Magee

Free software and free formats for free information for free people.
Open Office for Windows/OSX/Linux: http://www.openoffice.org
openSUSE Linux: http://en.opensuse.org
From: baron on
houghi Inscribed thus:

> Ulick Magee wrote:
>> houghi wrote:
>>> Darklight wrote:
>>>> kpowersave
>>>
>>> Anything else? The above is not installed. I could install it
>>> obviously, but something more generic would be nice.
>>
>> Houghi, is your google/scroogle broken? :-P
>
> No, it is not. I just am unable to find what program is already
> installed on my machine that already does the changes and either
> disable or reconfigure it.
>
>> First result for:
>>
>> configure cpu speed linux
>>
>> gives cpufreq. First result for cpufreq is:
>
> cpufreq is not installed
>
>> http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufreq.html
>>
>> which links to:
>>
>>
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
>>
>> cpufrequtils is in the main repo.
>
> Also not installed, just like kpowersave. ;-)
>
>>
>> HTH, HAND and remember, GIYF :-;
>
> Ah, so the best alternative not to install something is to install
> something? And yet something must be already installed on my machine
> that let it go from 2.83 to 2.00. Or something must have set it to
> 'ondemand'. I would like to have it as performance.
>
> So some setting somewhere does some changes and I would like to know
> how and how I can change it.
>
> houghi

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.

--
Best Regards:
Baron.
From: Ulick Magee on
houghi wrote:
>
> cpufreq is not installed

It and cpufrequtils are not installed on my system either (although
kpowersave is, the system has KDE3.5 and 4.something installed -it's 11.1)


> Ah, so the best alternative not to install something is to install
> something?

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 :) )

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.)


> And yet something must be already installed on my machine
> that let it go from 2.83 to 2.00. Or something must have set it to
> 'ondemand'. I would like to have it as performance.

What does dmesg say about CPU speed, and ACPI and APM?
Have you tried booting with noacpi or noapm option?
Is there any other OS on the machine? What speed does it report?
Have you tried booting a live CD of another linux to see what it reports?


> So some setting somewhere does some changes and I would like to know how
> and how I can change it.

What does cat /proc/cpuinfo show? Here's mine :

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
stepping : 6
cpu MHz : 2167.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : 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 ht tm pbe
syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4322.48
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1 [*snip* same as above]


That's a laptop on AC power, on battery the CPU MHz value goes down to
1000MHz (as set in kpowersave) but the model name still shows the CPU is
capable of 2.16GHz.

It would be interesting to find out how and why your CPU speed is being
throttled.

I wonder is it possible the CPU is doing it itself to manage power/heat?
The latest Intels can overclock one or more cores automatically when
under heavy load, provided the heat dissipation is within limits. Is
there any change in the reported MHz value if you put the system under
very heavy load?



--

Ulick Magee

Free software and free formats for free information for free people.
Open Office for Windows/OSX/Linux: http://www.openoffice.org
openSUSE Linux: http://en.opensuse.org
From: Ulick Magee on
baron wrote:

> Its quite likely that the CPU speed is actually 2000 for a 2.8Ghz cpu.
> I'm guessing that you have an intel cpu.

AMD used to name CPUs as something like 2500+ where they claimed it was
equivalent to an Intel running at 2500MHz, but the actual clock speed of
the AMD would be something like 2000.

Calling a CPU 2500+ or whatever is OK as it's a marketing number not a
clock speed.

Saying it was 2.5GHz when it was only running at 2.0GHz would be misleading.

Both AMD and Intel use pretty much meaningless numbers for CPUs now, not
clock speeds, there is a lot more than clock speed that determines
actual performance.



--

Ulick Magee

Free software and free formats for free information for free people.
Open Office for Windows/OSX/Linux: http://www.openoffice.org
openSUSE Linux: http://en.opensuse.org