Re: [RFC][PATCH] sched: cpuacct: Track cpuusage per cpu frequency

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Chan
Date: Monday, April 5, 2010 - 2:02 pm

On Mon, Apr 5, 2010 at 12:52 PM, Paul Menage <menage@google.com> wrote:

Thanks for the input, I'll clarify in the commit and documentation.


The motivation is for power monitoring. Exporting an integral is an
interesting idea, but this gets tricky since we can't just take the
integral of the cpu speed, since each speed has different power
measurements, and these are not linear for each cpu speed. We could
export power values in the board files for various cpu-frequencies

This can also be useful for userspace developers / system admins so
they can optimized their cpu utilization and overall cpu speed usage
can give insight for cpu max / min speed capping.

I liked the integral idea, but I think we lose some useful information
that the original patch intended to show.

-- Mike

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH] sched: cpuacct: Track cpuusage per cpu fr ..., Mike Chan, (Mon Apr 5, 2:02 pm)