RE: Cpu frequency scaling DL360 G5 Dual Xeon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the OS to control cpu scaling, change the BIOS setting under 
Power Regulator to "OS Control". You should then see the "cpufreq" 
directory created under cpuN in sysfs.
 
- naga -

>-----Original Message-----
>From: cpufreq-owner@xxxxxxxxxxxxxxx 
>[mailto:cpufreq-owner@xxxxxxxxxxxxxxx] On Behalf Of Stephen Carr
>Sent: Wednesday, December 23, 2009 8:52 PM
>To: cpufreq@xxxxxxxxxxxxxxx
>Subject: Cpu frequency scaling DL360 G5 Dual Xeon
>
>Dear List
>
>I am try tot enable cpu scaling on a dual Xeon E5540 with all coes 
>active (8) and hyperthreading giving a total of 16 cores.
>
>Kernel is 2.6.32.2 base on Slackware 13 64 bit.
>
>It seems the problem is in the sysfs structure which is
>
>ls -l /sys/devices/system/cpu/
>
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu0/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu1/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu10/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu11/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu12/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu13/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu14/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu15/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu2/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu3/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu4/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu5/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu6/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu7/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu8/
>drwxr-xr-x 6 root root    0 2009-12-24 23:18 cpu9/
>drwxr-xr-x 2 root root    0 2009-12-24 13:04 cpufreq/
>drwxr-xr-x 2 root root    0 2009-12-24 13:04 cpuidle/
>-r--r--r-- 1 root root 4096 2009-12-24 13:04 kernel_max
>-r--r--r-- 1 root root 4096 2009-12-24 13:04 offline
>-r--r--r-- 1 root root 4096 2009-12-24 13:04 online
>drwxr-xr-x 2 root root    0 2009-12-24 13:04 perf_events/
>-r--r--r-- 1 root root 4096 2009-12-24 13:04 possible
>-r--r--r-- 1 root root 4096 2009-12-24 13:04 present
>-rw-r--r-- 1 root root 4096 2009-12-24 13:04 sched_mc_power_savings
>-rw-r--r-- 1 root root 4096 2009-12-24 13:04 sched_smt_power_savings
>
>Note cpufreq is not below cpuN (n=0-15)
>
>For cpu0 it is similar for all others
>
>ls -l /sys/devices/system/cpu/cpu0
>
>drwxr-xr-x 6 root root 0 2009-12-24 13:04 cache/
>drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpuidle/
>drwxr-xr-x 2 root root 0 2009-12-24 13:04 thermal_throttle/
>drwxr-xr-x 2 root root 0 2009-12-24 13:04 topology/
>
>With debug set to cpufreq.debug=7
>
>The  the output in /var/log/debug is attached cpu_debug.txt
>
>It seems nothing can be initialised.
>
>Also there is no ACPI throttle messages in dmesg aka /var/log/messages
>
>The BIOS seems to have CPU scaling enabled ie dynamic power.
>
>Any ideas?
>
>On my Thinkpad the sysfs structure similar kernel also based on 64 bit 
>Slackware 13 kernel 2.6.31.6  CPU Intel(R) Core(TM)2 Duo CPU T5450  @ 
>1.66GHz
>
>ls -l  /sys/devices/system/cpu
>
>drwxr-xr-x 7 root root    0 2009-12-24 06:56 cpu0/
>drwxr-xr-x 7 root root    0 2009-12-24 12:09 cpu1/
>drwxr-xr-x 2 root root    0 2009-12-24 12:09 cpuidle/
>-r--r--r-- 1 root root 4096 2009-12-24 12:09 kernel_max
>-r--r--r-- 1 root root 4096 2009-12-24 12:09 offline
>-r--r--r-- 1 root root 4096 2009-12-24 12:09 online
>drwxr-xr-x 2 root root    0 2009-12-24 12:09 perf_counters/
>-r--r--r-- 1 root root 4096 2009-12-24 12:09 possible
>-r--r--r-- 1 root root 4096 2009-12-24 12:09 present
>
>
>ls -l /sys/devices/system/cpu/cpu0/
>
>drwxr-xr-x 7 root root 0 2009-12-24 06:56 ./
>drwxr-xr-x 6 root root 0 2009-12-24 06:56 ../
>drwxr-xr-x 5 root root 0 2009-12-24 12:09 cache/
>drwxr-xr-x 3 root root 0 2009-12-24 06:56 cpufreq/
>drwxr-xr-x 6 root root 0 2009-12-24 12:09 cpuidle/
>drwxr-xr-x 2 root root 0 2009-12-24 12:09 thermal_throttle/
>drwxr-xr-x 2 root root 0 2009-12-24 12:09 topology/
>
>Thanks
>Stephen Carr
>-- 
>Stephen Carr
>School of Civil, Environmental & Mining Engineering
>The University of Adelaide
>Adelaide, South Australia, 5005
>Australia
>Tel +618-8303-4313
>Fax +618-8303-4359
>
>Email sgcarr@xxxxxxxxxxxxxxxxxxxxxx
>
>CRICOS Provider Number 00123M
>-----------------------------------------------------------
>This email message is intended only for the addressee(s) and
>contains information that may be confidential and/or copyright.
>If you are not the intended recipient please notify the sender
>by reply email and immediately delete this email. Use, disclosure
>or reproduction of this email by anyone other than the intended
>recipient(s) is strictly prohibited. No representation is made
>that this email or any attachments are free of viruses. Virus
>scanning is recommended and is the responsibility of the recipient.
>
>--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux