You are not logged in.

#1 2008-01-05 07:10:13

keerthi
Member
Registered: 2007-11-18
Posts: 95

[SOLVED]CPU underutilization

My CPU can handle upto 2.13 Ghz. But I've been noticing that arch is throttling down to 1.8Ghz max even while encoding video. The CPU is being utilized 100% but not running at max clock speed.
I'm posting the output while the video encoding is running. Any clue? Thanks.

keerthi ~  $  uname -a
Linux DELL-XPS-G2 2.6.23-ARCH #1 SMP PREEMPT Fri Dec 21 19:39:35 UTC 2007 i686 Intel(R) Pentium(R) M processor 2.13GHz GenuineIntel GNU/Linux
keerthi ~  $  cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.13 GHz
  available frequency steps: 2.13 GHz, 1.87 GHz, 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
  available cpufreq governors: userspace, ondemand, performance
  current policy: frequency should be within 800 MHz and 2.13 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.87 GHz.
keerthi ~  $  cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 2.13GHz
stepping        : 8
cpu MHz         : 1867.000
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips        : 3729.33
clflush size    : 64
keerthi ~  $  cat /etc/conf.d/cpufreq
#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="ondemand"
#governor="performance"

Last edited by keerthi (2008-01-05 13:22:30)

Offline

#2 2008-01-05 07:37:08

keerthi
Member
Registered: 2007-11-18
Posts: 95

Re: [SOLVED]CPU underutilization

LOL!... I set max_freq  to 2.4 Ghz (something which my cpu is not capable of) in /etc/conf.d/cpufreq. Now it is maxing to 2.13 Ghz depending on load. Is there any cleaner fix?

keerthi ~  $  cpufreq-info 
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 2.13 GHz
  available frequency steps: 2.13 GHz, 1.87 GHz, 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
  available cpufreq governors: userspace, ondemand, performance
  current policy: frequency should be within 800 MHz and 2.13 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 2.13 GHz.

Last edited by keerthi (2008-01-05 07:37:30)

Offline

#3 2008-01-05 07:57:26

gothmog.todi
Member
From: Austria
Registered: 2007-07-18
Posts: 120

Re: [SOLVED]CPU underutilization

why are you not setting it to 2.13GHz? It wasn't set at all before, was it?

Offline

#4 2008-01-05 08:45:52

Djon
Member
Registered: 2007-12-21
Posts: 17

Re: [SOLVED]CPU underutilization

Hi!

There are 2133MHz and not 2.13GHz. I've got Pentium M 725, but with pinmod I've got 2133MHz now smile

Regards

Djon

Offline

#5 2008-01-05 13:09:22

keerthi
Member
Registered: 2007-11-18
Posts: 95

Re: [SOLVED]CPU underutilization

gothmog.todi wrote:

why are you not setting it to 2.13GHz? It wasn't set at all before, was it?

Yes. I did set max_freq to 2.13GHz. The clock speed was still capped at 1.89 Ghz. Then I changed it to 2.4Ghz and now caps at 2.13Ghz max.

Offline

#6 2008-01-05 13:16:59

keerthi
Member
Registered: 2007-11-18
Posts: 95

Re: [SOLVED]CPU underutilization

Djon wrote:

Hi!

There are 2133MHz and not 2.13GHz. I've got Pentium M 725, but with pinmod I've got 2133MHz now smile

Regards

Djon

Thanks Djon. That did the trick.

Offline

#7 2008-01-06 10:05:38

Djon
Member
Registered: 2007-12-21
Posts: 17

Re: [SOLVED]CPU underutilization

Hi!

My pleasure! big_smile

Best Regards

Djon

Offline

Board footer

Powered by FluxBB