Re: [linux-pm] Power Management framework proposal

2007-07-29 Thread david
sorry for the delay in responding On Wed, 25 Jul 2007, Jerome Glisse wrote: [EMAIL PROTECTED] wrote: On Wed, 25 Jul 2007, Jerome Glisse wrote: > On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > For instance on graphics card you could do the following (maybe > > more): > >

Re: [linux-pm] Power Management framework proposal

2007-07-27 Thread Pavel Machek
Hi! > > let me give you a real world example then, and the numbers I'm using are > > ballpark the same as you'll find in a (mobile) core 2 duo datasheet, I > > just rounded them a little so that the math works out nice. > > > > power at full speed: 34W > > power at half speed: 24W > > power at id

Re: [linux-pm] Power Management framework proposal

2007-07-25 Thread Jerome Glisse
[EMAIL PROTECTED] wrote: On Wed, 25 Jul 2007, Jerome Glisse wrote: On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: will each plugin have it's own interface? or will you have one interface to access the plugins and then the plugins do things behind the scenes? I'll bet that the A

Re: [linux-pm] Power Management framework proposal

2007-07-24 Thread david
On Wed, 25 Jul 2007, Jerome Glisse wrote: On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Tue, 24 Jul 2007, Jerome Glisse wrote: > On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Mon, 23 Jul 2007, Igor Stoppa wrote: > > > again, HAL / OHM / Mobilin > > > >

Re: [linux-pm] Power Management framework proposal

2007-07-24 Thread Jerome Glisse
On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Tue, 24 Jul 2007, Jerome Glisse wrote: > On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> On Mon, 23 Jul 2007, Igor Stoppa wrote: >> > again, HAL / OHM / Mobilin >> >> I was trying to define the lower level interfaces that

Re: [linux-pm] Power Management framework proposal

2007-07-24 Thread david
On Tue, 24 Jul 2007, Igor Stoppa wrote: On Tue, 2007-07-24 at 10:43 +0200, ext Jerome Glisse wrote: I believe a central place where user can set/change hw state to save power or to increase computational power is definitely a goal to pursue. But i truly think that the OHM approach is the best

Re: [linux-pm] Power Management framework proposal

2007-07-24 Thread david
On Tue, 24 Jul 2007, Jerome Glisse wrote: On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Mon, 23 Jul 2007, Igor Stoppa wrote: > again, HAL / OHM / Mobilin I was trying to define the lower level interfaces that these tools need. today they can only know what is possible by read

Re: [linux-pm] Power Management framework proposal

2007-07-24 Thread Igor Stoppa
On Tue, 2007-07-24 at 10:43 +0200, ext Jerome Glisse wrote: > I believe a central place where user can set/change hw state to save > power or to increase computational power is definitely a goal to pursue. > But i truly think that the OHM approach is the best one ie using plugins > so that one can

Re: [linux-pm] Power Management framework proposal

2007-07-24 Thread Jerome Glisse
On 7/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Mon, 23 Jul 2007, Igor Stoppa wrote: > again, HAL / OHM / Mobilin I was trying to define the lower level interfaces that these tools need. today they can only know what is possible by reading the source code for each driver and implemen

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread david
On Mon, 23 Jul 2007, Arjan van de Ven wrote: On Sun, 2007-07-22 at 22:25 -0700, [EMAIL PROTECTED] wrote: only if the transitions don't cost anything significant, these are second order effects though. On a pc, the transition costs are quite low (as I said, single or low double digit microsec

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread david
On Mon, 23 Jul 2007, Igor Stoppa wrote: On Sun, 2007-07-22 at 14:21 -0700, ext [EMAIL PROTECTED] wrote: [snip] this is another one. I'd be happy to get pointers to prior ones to learn from. https://lists.linux-foundation.org/pipermail/linux-pm/2007-March/011204.html This is probably one of

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread david
On Mon, 23 Jul 2007, Ondrej Zajicek wrote: On Sun, Jul 22, 2007 at 09:19:17PM -0700, Arjan van de Ven wrote: let me give you a real world example then, and the numbers I'm using are ballpark the same as you'll find in a (mobile) core 2 duo datasheet, I just rounded them a little so that the mat

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread Arjan van de Ven
On Sun, 2007-07-22 at 22:25 -0700, [EMAIL PROTECTED] wrote: > >> > >> only if the transitions don't cost anything significant, > > > > these are second order effects though. On a pc, the transition costs are > > quite low (as I said, single or low double digit microseconds). > > including pausing

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread Igor Stoppa
On Sun, 2007-07-22 at 14:21 -0700, ext [EMAIL PROTECTED] wrote: [snip] > this is another one. I'd be happy to get pointers to prior ones to learn > from. https://lists.linux-foundation.org/pipermail/linux-pm/2007-March/011204.html This is probably one of the latest. Previously there was some c

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread Ondrej Zajicek
On Sun, Jul 22, 2007 at 09:19:17PM -0700, Arjan van de Ven wrote: > let me give you a real world example then, and the numbers I'm using are > ballpark the same as you'll find in a (mobile) core 2 duo datasheet, I > just rounded them a little so that the math works out nice. > > power at full spee

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread david
On Sun, 22 Jul 2007, Arjan van de Ven wrote: On Sun, 2007-07-22 at 21:04 -0700, [EMAIL PROTECTED] wrote: this strategy should work well on the normal unpredictable workload that most people deal with, but there are some cases where the workload becomes pretty predictable (media players for exa

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread Arjan van de Ven
On Sun, 2007-07-22 at 21:04 -0700, [EMAIL PROTECTED] wrote: > >> the fact that you want to run at the max frequancy for a given voltage is > > > > no I want to run at the max frequency PERIOD. On just about any PC, it's > > more power efficient to go full speed when executing code, and then idle >

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread david
On Sun, 22 Jul 2007, Arjan van de Ven wrote: I disagree with you here. for each frequency setting you can say how much power the cpu/system is expected to use (especially as a percentage of the full power mode). creating this value requires you to take two things into account, the voltage you ar

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread Arjan van de Ven
> I disagree with you here. for each frequency setting you can say how much > power the cpu/system is expected to use (especially as a percentage of the > full power mode). creating this value requires you to take two things into > account, the voltage you are running things at (by far the bigg

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread david
On Sun, 22 Jul 2007, Arjan van de Ven wrote: son anyway) I don't think you have got it right: the only info being passed is the standard cpufreq list of frequencies; everything else is part of the cpufreq driver. to make the decisions the software makeing the decision needs to know how much

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread Arjan van de Ven
> >> son anyway) > > > > I don't think you have got it right: the only info being passed is the > > standard cpufreq list of frequencies; everything else is part of the > > cpufreq driver. > > to make the decisions the software makeing the decision needs to know how > much power would be used at

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread david
On Sun, 22 Jul 2007, Igor Stoppa wrote: On Sun, 2007-07-22 at 01:58 -0700, ext [EMAIL PROTECTED] wrote: On Sun, 22 Jul 2007, Igor Stoppa wrote: [snip] Could you elaborate on how your proposal is incompatible with enhancing the clock framework? It's not that I think it's incompatible with

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread Igor Stoppa
On Sun, 2007-07-22 at 01:58 -0700, ext [EMAIL PROTECTED] wrote: > On Sun, 22 Jul 2007, Igor Stoppa wrote: [snip] > > Could you elaborate on how your proposal is incompatible with enhancing > > the clock framework? > > It's not that I think it's incompatible with any existing powersaving > tools

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread david
On Sun, 22 Jul 2007, Igor Stoppa wrote: Hi, On Sat, 2007-07-21 at 23:49 -0700, ext [EMAIL PROTECTED] wrote: I'm deliberatly breaking the threading on this so that people who have tuned out the hibernation thread can take a look at this. below is the proposal that I made at the bottom of one of

Re: [linux-pm] Power Management framework proposal

2007-07-22 Thread Igor Stoppa
Hi, On Sat, 2007-07-21 at 23:49 -0700, ext [EMAIL PROTECTED] wrote: > I'm deliberatly breaking the threading on this so that people who have > tuned out the hibernation thread can take a look at this. > > below is the proposal that I made at the bottom of one of the posts on the > hibernation th