![]() Registered Member ![]()
|
Hi, I am trying to save power during low-load times on a dual quad-core 64-bit workstation by using CPU hotplugging. I recently switched to 64-bit Kubuntu Intrepid (2.6.27-11-generic, KDE 4.2), and this is one of the last few things I can't get to work.
All CPUs (except cpu0) do have an "online" entry under /sys/devices/system/cpu/cpu*/, but Powerdevil says there's no "CPU can be turned off" capability. The command-line way works,
but I'd like to get it working in Powerdevil so I can create a 2-cpu profile to use when I don't need all 8. I'm not sure how to troubleshoot this and haven't found anything yet by searching. Thanks much for any help. |
![]() Administrator ![]()
|
Powerdevil uses Solid to get information about your system, which in turn uses HAL I believe. Please check that HAL returns the information needed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes, you're right. I'm a novice with HAL, but I think it doesn't do CPU hotplug yet, based on:
Also, from the KDE 4.2 source:
Looks to me like the "turn off CPU" UI in Powerdevil is just a placeholder. Can anyone disable CPUs from the KDE Power Management UI? I know for sure that my kernel supports CPU hotplug and it works from the commandline (offlined CPU disappears from /proc/interrupts). Maybe I'll try a script workaround, unless someone tells me that I'm way off base. Thanks for your help! |
![]() Administrator ![]()
|
At this time it certainly looks like that. You will probably need to implement a script based method unforunately.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]