Hi all,
My name is Jacob and I'm new in this group.
I agree with keean's idea about some kind of save and restore. For me, it's not 
so much about tweaking at boot time (I agree that should be done by the 
distribution), but rather for testing and evaluation and to be able to test 
multiple settings in  scripts.
All the best, Jacob

----- Original Message -----
From: Keean Schupke <ke...@fry-it.com>
Date: Tuesday, February 15, 2011 8:02 pm
Subject: Re: [Discuss] Powertop-2.0 background
To: Auke Kok <auke-jan.h....@intel.com>
Cc: "discuss@lesswatts.org" <discuss@lesswatts.org>

> How about allowing adding an option to dump the current settings 
> (good/bad)to a JSON file. There could be another option to read in 
> the settings from a
> JSON file, and an option that makes it apply the settings and quit.
> 
> We could then do:
> 
> powertop --write-tunables=tunables.txt --exit-immediately
> 
> edit the file to make change the good/bad settings then:
> 
> powertop --read-tunables=tunables.txt --exit-immediately
> 
> 
> Cheers,
> Keean.
> 
> 
> 
> On 14 February 2011 23:23, Auke Kok <auke-jan.h....@intel.com> wrote:
> 
> > On 02/08/11 03:59, Keean Schupke wrote:
> >
> >> Would it be possible to add a switch to the command line, that 
> would make
> >> powertop start, switch every possible tunable to "Good" and then 
> quit again?
> >>
> >> It would be really cool to include this in my boot scripts to 
> make sure
> >> all powersaving features are enabled.
> >>
> >> It would also allow people to automatically benefit from new
> >> recommendations added in future versions of powertop?
> >>
> >
> > This has been suggested with the 1.x version before, and, we're 
> really> reluctant to implement this.
> >
> > It's simple enough to break someone's machine with this ("oops, 
> we just
> > turned off your keyboard and mouse"), and, you don't want to do 
> this with
> > some fallback code etc. ("did this fail the last time? skip that 
> step from
> > now on then").
> >
> > That just makes this too complicated to safely do, especially at 
> startup.> Which is why we don't.
> >
> > Powertop is a diagnostics tool. The tool should be used by your
> > distribution to figure out default-good-out-of-the-box settings 
> and include
> > those in your distribution by default. That's really where you 
> need to go
> > and ask in the first place to tweak the knobs at boot time.
> >
> > Auke
> >
> >
> 
_______________________________________________
Discuss mailing list
Discuss@lesswatts.org
http://lists.lesswatts.org/listinfo/discuss

Reply via email to