LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-31-2008, 05:32 AM   #1
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
/proc/cpuinfo shows incorrect CPU frequency, even under load


I reinstalled both Slackware 12.1 and Debian Etch on my IBM ThinkPad T40 last night. All went well with the installations, and so far, everything seems to be working as expected, with one exception.

I've been fiddling around with the Debian install most so far (because it's new a shiny to me! ) and noticed that flash video performance was terrible compared with flash in Slackware. I checked my xorg settings, and glxgears showed me comparable output to that in Slackware, so all seemed well.

I noticed that when I added the CPU Frequency Scaling Monitor to the Gnome taskbar, I get an error telling me my CPU won't scale its frequency, and after clicking OK, I get a monitor which displays my CPU frequency as 598MHz. I've seen this before, so I tried stressing the CPU with dd if=/dev/urandom of=/dev/null, and CPU usage shot up to 99% for dd, but the output of cat /proc/cpuinfo showed CPU frequency was unchanged, at 598.080MHz.

I've googled around for why this might be, but all I've found are a lot of threads on how to scale your CPU frequency. This one seemed promising, but the diskdrake project seems to have vanished? There's no mention of it for Debian in Synaptic anyway.

Is there something simple I've overlooked? I haven't had a chance to check the corresponding output from Slackware (I'm at work connecting through ssh and a vnc session at the moment), but can do when I get home.

All thoughts welcome.
 
Old 07-31-2008, 07:54 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Check for what scaling governor is active:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
it should read: ondemand
or "userspace" - in that case I believe you need additional software - whereas "ondemand" just works (for me, that is)

You may have to load the kernel-module to be able to use this by echoing:
Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
I don't know the place where this is configured permanently in Debian - should this work at all.

HTH
 
  


Reply

Tags
cpu, cpuinfo, debian, frequency



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/cpuinfo shows cpu Mhz :0.000 apalkar Linux - Newbie 8 07-20-2007 12:39 PM
/proc/<pid>/stat shows zero cpu usage simchac Linux - Kernel 0 07-25-2006 07:26 AM
Looking for a Description of CPU Flags in cat /proc/cpuinfo Output weibullguy Linux - General 1 06-08-2006 08:14 AM
Missing CPU in /proc/cpuinfo xerophyte Linux - Hardware 0 03-03-2006 10:20 AM
CPU cache size /proc/cpuinfo is wrong? omg-ffs Linux - Hardware 9 10-13-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration