#1 CPU Load

closed
nobody
None
4
2003-05-13
2003-04-11
Christian Berg
No

Is it possible that ACPID also watches the CPU Load?
This would be nice for the SpeedStep Processors.
Less then 10% load average = throttle down the CPU and
save some battery.

Discussion

  • Tim Hockin
    Tim Hockin
    2003-05-13

    • status: open --> closed
     
  • Tim Hockin
    Tim Hockin
    2003-05-13

    • priority: 5 --> 4
     
  • Tim Hockin
    Tim Hockin
    2003-05-13

    Logged In: YES
    user_id=293704

    ACPId just handles ACPI events. for now. The right way to
    add things like load monitoring would be to have ACPId
    monitor other event files, also. For example, monitor a
    named pipe at /var/run/cpuload. You can then make a small
    script that has threshholds defined, and when the CPUload
    crosses a threshhold, send an event on the cpuload pipe.
    ACPId will get the event and distribute it as normal.

    HOWEVER: this requires adding a main config file to acpid
    to define the various monitored files, as well a some pretty
    major infrastructural changes. I'll put this in teh TODO,
    but it's pretty low priority. Patches gladly accepted.

     
  • Christian Berg
    Christian Berg
    2003-05-14

    Logged In: YES
    user_id=546590

    On http://sourceforge.net/projects/cpufreqd/ you find a
    daemon for this. I thought it is pretty useless to write 5
    Daemons for all Powersave Functions (like Windows) so i
    asked for CPUFreq Support. ;).

     
  • Tim Hockin
    Tim Hockin
    2003-05-14

    Logged In: YES
    user_id=293704

    It's perfectly reasonable to me, and I would include such
    functionality in acpid, I just don't have resources to
    develop it or test systems. I certainly have ideas about
    how I'd like to see it done. It's not hard - a day or two
    of work at most.

    Again, patches are gladly accepted