Frequency scaling survey
Lucio M Nicolosi
lmnicolosi at gmail.com
Mon Feb 9 21:38:49 UTC 2009
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
--
Lucio M. Nicolosi, Eng.
São Paulo - Brazil
Lat.: 23°34'4.79"S
Long.: 46°39'59.53"W
email: lmnicolosi at gmail.com
skype: lmnicolosi1
Linux Registered User #481505
http://counter.li.org/
More information about the ubuntu-users
mailing list