Frequency scaling survey

Dave Woyciesjes woyciesjes at sbcglobal.net
Mon Feb 9 21:53:09 UTC 2009


Lucio M Nicolosi wrote:
> Dave Woyciesjes wrote:
>> 	Maybe I need to re-phrase. As seen below, I tried to offer info on my 
>> workstation. The first command returned info as expected, but the second 
>> command came back with nothing.
>> 	Given my lack of knowledge in the kernel/cpu arena, I haven't been able 
>> to find an explanation, or fix. Anybody got any tips?
>>
>> Dave Woyciesjes wrote:
>>   
>>> $ cat /proc/cpuinfo | grep 'model name'
>>> model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
>>> model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
>>>
>>> $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
>>> cat: /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies: 
>>> No such file or directory
>>>
>>> $ cd /sys/devices/system/cpu/
>>> /sys/devices/system/cpu$ ls -al
>>> total 0
>>> drwxr-xr-x  5 root root    0 2009-02-05 12:54 .
>>> drwxr-xr-x 10 root root    0 2009-02-05 12:54 ..
>>> drwxr-xr-x  4 root root    0 2009-02-05 12:54 cpu0
>>> drwxr-xr-x  4 root root    0 2009-02-05 12:54 cpu1
>>> drwxr-xr-x  2 root root    0 2009-02-05 12:54 cpuidle
>>> -rw-r--r--  1 root root 4096 2009-02-05 12:55 sched_mc_power_savings
>>>     
>>  >
>>   
>>> /sys/devices/system/cpu$ cd cpu0
>>> /sys/devices/system/cpu/cpu0$ ls -al
>>> total 0
>>> drwxr-xr-x 4 root root    0 2009-02-05 12:54 .
>>> drwxr-xr-x 5 root root    0 2009-02-05 12:54 ..
>>> drwxr-xr-x 5 root root    0 2009-02-05 12:55 cache
>>> -r-------- 1 root root 4096 2009-02-05 12:55 crash_notes
>>> drwxr-xr-x 2 root root    0 2009-02-05 12:55 topology
>>>     
>>  >
>>   
>>> /sys/devices/system/cpu/cpu0$
>>>
>>> No I'm not a programmer. Now what?
> Dave,
> 
> For me it looks pretty much the same, but I'm probably missing something:
> 
> L.
> 
> @-xfx:~$ cd /sys/devices/system/cpu/
> 
> @-xfx:/sys/devices/system/cpu$ ls -al
> 
> total 0
> drwxr-xr-x  5 root root    0 2009-02-08 11:32 .
> drwxr-xr-x 10 root root    0 2009-02-08 11:32 ..
> drwxr-xr-x  5 root root    0 2009-02-08 11:32 cpu0
> drwxr-xr-x  4 root root    0 2009-02-08 13:33 cpu1
> drwxr-xr-x  2 root root    0 2009-02-08 13:34 cpuidle
> -r--r--r--  1 root root 4096 2009-02-08 13:34 online
> -r--r--r--  1 root root 4096 2009-02-08 13:34 possible
> -r--r--r--  1 root root 4096 2009-02-08 13:34 present
> -rw-r--r--  1 root root 4096 2009-02-08 13:34 sched_mc_power_savings
> 
> @xfx:/sys/devices/system/cpu$ cat  
> /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
> 
> 2400000 2200000 2000000 1800000 1000000
> 2400000 2200000 2000000 1800000 1000000
> 
> @-xfx:/sys/devices/system/cpu$ cd cpu0
> @-xfx:/sys/devices/system/cpu/cpu0$ ls -al
> total 0
> drwxr-xr-x 5 root root    0 2009-02-08 11:32 .
> drwxr-xr-x 5 root root    0 2009-02-08 11:32 ..
> drwxr-xr-x 5 root root    0 2009-02-08 13:34 cache
> drwxr-xr-x 4 root root    0 2009-02-08 13:41 cpufreq
> -r-------- 1 root root 4096 2009-02-08 13:34 crash_notes
> drwxr-xr-x 2 root root    0 2009-02-08 13:34 topology
> 
> 

	I do spot some entries in the ls -al listings you have, that I don't:
 From CPU - online, possible, present
 From cpu0 - cpufreq

Hmmmm.....


-- 
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/

"From there to here,
 From here to there,
Funny things
are everywhere."
--- Dr. Seuss




More information about the ubuntu-users mailing list