Re: git: powerd - Initial load monitor and cpu frequency adjust
"Sepherosa Ziehau" <sepherosa@gmail.com> wrote:
>Heh, finally the p-state stuffs are used :D
>
sysutils/estd also uses your ACPI work.
I have added support for ACPI P-states some time ago.
Cheers,
Johannes
>Since the freq of a cpu domain could be changed independent of the
>other cpu domains, we could calculate the avg cpu load within one cpu
>domain, instead of calculating the avg load of all cpus, and only
>change the freq of that specific cpu domain.
>
>Best Regards,
>sephe
>
>On Tue, Jun 29, 2010 at 5:38 AM, Matthew Dillon
><dillon@crater.dragonflybsd.org> wrote:
>>
>> commit cc537f99eefe3e1190b0d2388ead346180e9ea24
>> Author: Matthew Dillon <dillon@apollo.backplane.com>
>> Date: 슠 Mon Jun 28 14:36:24 2010 -0700
>>
>> 슠 슠powerd - Initial load monitor and cpu frequency adjustment daemon
>>
>> 슠 슠This daemon uses the hw.acpi.cpu.px_dom* sysctls to adjust the fre
quency
>> 슠 슠for all cpus based on the system cpu load.
>>
>> 슠 슠For this initial implementation the daemon simply sets cpus to the
maximum
>> 슠 슠frequency when the 1-second load exceeds 25% of one cpu and sets t
he cpus
>> 슠 슠to the minimum frequency when the 10-second load drops below 12%.
>>
>> Summary of changes:
>> 슠usr.sbin/powerd/Makefile | 슠 10 ++
>> 슠usr.sbin/powerd/powerd.8 | 슠 36 +++++++
>> 슠usr.sbin/powerd/powerd.c | 슠255 ++++++++++++++++++++++++++++++++++++
++++++++++
>> 슠3 files changed, 301 insertions(+), 0 deletions(-)
>> 슠create mode 100644 usr.sbin/powerd/Makefile
>> 슠create mode 100644 usr.sbin/powerd/powerd.8
>> 슠create mode 100644 usr.sbin/powerd/powerd.c
>>
>> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc537f99eefe3
e1190b0d2388ead346180e9ea24
>>
>>
>> --
>> DragonFly BSD source repository
>>
>
>
>
>--
>Live Free or Die
>