Re: Power consumption with Fedora

2014-12-15 Thread Jaroslav Skarvada
- Original Message -
> 
> 
> - Original Message -
> > On Tue, 02 Dec 2014 14:44:59 -0700
> > "Nathanael D. Noblet"  wrote:
> > 
> > > On Tue, 2014-12-02 at 21:47 +0100, Jan Kratochvil wrote:
> > > > On Tue, 02 Dec 2014 06:30:57 +0100, Nathanael d. Noblet wrote:
> > > > > I don't know much about it but I hate how bad my battery life is
> > > > > on my laptop...
> > > > 
> > > > My 3 years old Lenovo X220 lasts for 12 hours (powertop reports so)
> > > > on Fedora 20 x86_64 with powertop --auto-tune.  According to
> > > > powertop approx. 5.5W is display backlight and 1W is the rest of
> > > > system.
> > > > 
> > > > Just to give a reply that Fedora is not bad on all configs/hardware.
> > > 
> > > Well until yesterday I didn't know that Fedora didn't install /
> > > configure any of these packages. I've installed tlp and powertop, I
> > > didn't know powertop did anything other than monitor. I'll see what
> > > powertop --auto-tune does. I don't even know if the tlp package has
> > > enabled anything either. I wonder if having tlp installed and running
> > > powertop --auto-tune will conflict / fight each other...
> > > 
> > > Time to try stuff out.
> > 
> > You might also look at tuned...
> > 
> > (I think it was mentioned early in the thread).
> > 
> > tuned-adm profile powersave
> 
> I've probably said this before, but I wouldn't trust tuned one bit, after I
> was
> told that 1) no measurements were ever taken

Well, it's not easy to objectively measure this, results depends
heavily on HW, SW, configuration used and things like moon phase -
today's HW manage a lot of on its own in FW by utilizing factory
algorithms/optimizations, but attempts were made
to evaluate efficiency of the powersave profile regularly accross
different HW:

http://fedoraproject.org/wiki/Test_Day:2013-11-14_Power_management#Basic_2
http://fedoraproject.org/wiki/Test_Day:2013-04-17_Power_Management#Basic_2
http://fedoraproject.org/wiki/Test_Day:2012-10-11_Power_Management#Test_Results
http://fedoraproject.org/wiki/Test_Day:2012-04-04_Power_Management#Test_Results
https://fedoraproject.org/wiki/Test_Day:2011-09-29_PowerManagement#Test_Results

These numbers are not bad at all.

The powersave profile is targeted for lowest power consumption.
I.e. it throttle down your machine - it sets most of the kernel
knobs to "powersave" policy. This can increase you
online time if your machine is mostly idle, but it will also
increase latency and lowers throughput, so generally balanced
profile is better choice for laptop.

Patches are welcome, so feel free to do your our measurements/
experiments/scientific research or whatever and provide patches.


2) no attempts to make
> beneficial
> configurations the defaults were made (which is probably right, given that
> they'd
> have no data to back it up).
> 

Tuned is tool/framework to ease management of tunings and also provides
dbase of well known tunings. You can use it to e.g. fine tune your system
for high throughput, then roll-back and re-tune for e.g. low latency.
Tunings are also applied to newly added devices. You can use inheritance
when constructing your own profiles for your own workloads/scenarios.
Great for benchmarking, experiments, for cases when "auto" is simply not
good enough and you know what you are doing. Currently the project is receiving
mostly patches for performance tuning, but patches for other profiles are
also welcome. The goal is to be non distro specific upstream. The goal
isn't to press anything to distros defaults

regards

Jaroslav
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-05 Thread Bastien Nocera


- Original Message -
> On Tue, 02 Dec 2014 14:44:59 -0700
> "Nathanael D. Noblet"  wrote:
> 
> > On Tue, 2014-12-02 at 21:47 +0100, Jan Kratochvil wrote:
> > > On Tue, 02 Dec 2014 06:30:57 +0100, Nathanael d. Noblet wrote:
> > > > I don't know much about it but I hate how bad my battery life is
> > > > on my laptop...
> > > 
> > > My 3 years old Lenovo X220 lasts for 12 hours (powertop reports so)
> > > on Fedora 20 x86_64 with powertop --auto-tune.  According to
> > > powertop approx. 5.5W is display backlight and 1W is the rest of
> > > system.
> > > 
> > > Just to give a reply that Fedora is not bad on all configs/hardware.
> > 
> > Well until yesterday I didn't know that Fedora didn't install /
> > configure any of these packages. I've installed tlp and powertop, I
> > didn't know powertop did anything other than monitor. I'll see what
> > powertop --auto-tune does. I don't even know if the tlp package has
> > enabled anything either. I wonder if having tlp installed and running
> > powertop --auto-tune will conflict / fight each other...
> > 
> > Time to try stuff out.
> 
> You might also look at tuned...
> 
> (I think it was mentioned early in the thread).
> 
> tuned-adm profile powersave

I've probably said this before, but I wouldn't trust tuned one bit, after I was
told that 1) no measurements were ever taken 2) no attempts to make beneficial
configurations the defaults were made (which is probably right, given that 
they'd
have no data to back it up).

Probably a good source of tunables if you don't want to read distro forums
yourself, but light on the scientific method.

> Also:
> 
> https://docs.fedoraproject.org/en-US/Fedora/20/html-single/Power_Management_Guide/index.html
> 
> Of course it would be nice if this stuff just did the right thing and
> you didn't have to run any commands or read any guides.

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Orcan Ogetbil
On 2 December 2014 at 10:06, Adam Jackson  wrote:
> On Mon, 2014-12-01 at 22:36 -0500, Orcan Ogetbil wrote:
>
>> One related issue is suspend. It stopped working for me (on the same
>> machine) at around Fedora 12. Just stays on the black screen on
>> resume.
>
> 12?  Five years ago?
>

Yeah pretty much. I still use the same hardware. From time to time I
try suspend just out of curiosity with different kernels, different
Fedoras. It suspends (I think), but never gets back. Never had a real
reason to get it working so...

>> Not that I need the feature often, but there might be people who do.
>> Is suspend supposed to work under normal circumstances?
>
> Of course it is.
>

Great, it's good to know I am an isolated case.

Best,
Orcan
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Nathanael D. Noblet
On Tue, 2014-12-02 at 15:23 -0700, Kevin Fenzi wrote:
> On Tue, 02 Dec 2014 14:44:59 -0700
> "Nathanael D. Noblet"  wrote:
> 
> > On Tue, 2014-12-02 at 21:47 +0100, Jan Kratochvil wrote:
> > > On Tue, 02 Dec 2014 06:30:57 +0100, Nathanael d. Noblet wrote:
> > > > I don't know much about it but I hate how bad my battery life is
> > > > on my laptop...
> > > 
> > > My 3 years old Lenovo X220 lasts for 12 hours (powertop reports so)
> > > on Fedora 20 x86_64 with powertop --auto-tune.  According to
> > > powertop approx. 5.5W is display backlight and 1W is the rest of
> > > system.
> > > 
> > > Just to give a reply that Fedora is not bad on all configs/hardware.
> > 
> > Well until yesterday I didn't know that Fedora didn't install /
> > configure any of these packages. I've installed tlp and powertop, I
> > didn't know powertop did anything other than monitor. I'll see what
> > powertop --auto-tune does. I don't even know if the tlp package has
> > enabled anything either. I wonder if having tlp installed and running
> > powertop --auto-tune will conflict / fight each other...
> > 
> > Time to try stuff out.
> 
> You might also look at tuned... 
> 
> (I think it was mentioned early in the thread). 
> 
> tuned-adm profile powersave
> 
> Also: 
> 
> https://docs.fedoraproject.org/en-US/Fedora/20/html-single/Power_Management_Guide/index.html
> 
> Of course it would be nice if this stuff just did the right thing and
> you didn't have to run any commands or read any guides. 

Oh my I've barely started readind the above and its great... I wish I
knew of this long ago. Thanks for the pointers and mention of tuned.

-- 
Nathanael

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Kevin Fenzi
On Tue, 02 Dec 2014 14:44:59 -0700
"Nathanael D. Noblet"  wrote:

> On Tue, 2014-12-02 at 21:47 +0100, Jan Kratochvil wrote:
> > On Tue, 02 Dec 2014 06:30:57 +0100, Nathanael d. Noblet wrote:
> > > I don't know much about it but I hate how bad my battery life is
> > > on my laptop...
> > 
> > My 3 years old Lenovo X220 lasts for 12 hours (powertop reports so)
> > on Fedora 20 x86_64 with powertop --auto-tune.  According to
> > powertop approx. 5.5W is display backlight and 1W is the rest of
> > system.
> > 
> > Just to give a reply that Fedora is not bad on all configs/hardware.
> 
> Well until yesterday I didn't know that Fedora didn't install /
> configure any of these packages. I've installed tlp and powertop, I
> didn't know powertop did anything other than monitor. I'll see what
> powertop --auto-tune does. I don't even know if the tlp package has
> enabled anything either. I wonder if having tlp installed and running
> powertop --auto-tune will conflict / fight each other...
> 
> Time to try stuff out.

You might also look at tuned... 

(I think it was mentioned early in the thread). 

tuned-adm profile powersave

Also: 

https://docs.fedoraproject.org/en-US/Fedora/20/html-single/Power_Management_Guide/index.html

Of course it would be nice if this stuff just did the right thing and
you didn't have to run any commands or read any guides. 

kevin


pgp6QNfK0Xc6e.pgp
Description: OpenPGP digital signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Josh Stone
On 12/02/2014 12:05 PM, Chris Murphy wrote:
> Question: Shouldn't the evaluation and fix be targeted at Rawhide
> first, and then see about "backporting" demonstrated fixes to Fedora

Beware of things like debug-enabled kernels though.  Rawhide runs a bit
slower for this, and more work means more power too, although I'm not
sure how significant that is in the long run.  Maybe compare with to the
nodebug kernels if you think you've found something.
https://fedoraproject.org/wiki/RawhideKernelNodebug
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Nathanael D. Noblet
On Tue, 2014-12-02 at 21:47 +0100, Jan Kratochvil wrote:
> On Tue, 02 Dec 2014 06:30:57 +0100, Nathanael d. Noblet wrote:
> > I don't know much about it but I hate how bad my battery life is on my
> > laptop...
> 
> My 3 years old Lenovo X220 lasts for 12 hours (powertop reports so) on Fedora 
> 20
> x86_64 with powertop --auto-tune.  According to powertop approx. 5.5W is
> display backlight and 1W is the rest of system.
> 
> Just to give a reply that Fedora is not bad on all configs/hardware.

Well until yesterday I didn't know that Fedora didn't install /
configure any of these packages. I've installed tlp and powertop, I
didn't know powertop did anything other than monitor. I'll see what
powertop --auto-tune does. I don't even know if the tlp package has
enabled anything either. I wonder if having tlp installed and running
powertop --auto-tune will conflict / fight each other...

Time to try stuff out.

-- 
Nathanael



-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Stephen John Smoogen
On 2 December 2014 at 13:05, Chris Murphy  wrote:

> On Mon, Dec 1, 2014 at 6:17 PM, Stephen John Smoogen 
> wrote:
>
> > 1) A problem is identified.
> > 2) Profile the problem and show where it might be happening.
> > 3) Some amount on fixing the problem is done.
> > 4) Find that the problem isn't there and there is no quick fix.
> > 5) Throw away that solution and implement another one.
> > 6) Deal with flame wars about any and all changes during this from people
> > the problem doesn't occur to.
> >
> > Projects which use words like "we" before 3 or 4 usually never get to 3
> or 4
> > due to the amount of "why is your problem now my work?" response from
> > everyone from developers to random people on the lists.
> >
> > Currently you are at 1, and you have tried to jump to 3 with the Arch
> > solution. You need to profile the Arch solution to see if it really
> works or
> > if it only works if you run an X11/twm and nothing fancier than Mosaic
> from
> > 1997. [Or without X11 at all.. that is the usual way to get a large power
> > improvement on a laptop.]
>
> Question: Shouldn't the evaluation and fix be targeted at Rawhide
> first, and then see about "backporting" demonstrated fixes to Fedora
>

It should always be in rawhide. I doubt that it would be ready anytime near
Fedora 22 or 23.

-- 
Stephen J Smoogen.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread drago01
On Tue, Dec 2, 2014 at 5:33 PM, Owen Taylor  wrote:
> Hi John,
>
> Power consumption is definitely an area that Fedora can improve, and an
> area where we've begun to do some investigation.
>
> Measuring battery life is hard, because when power saving is working,
> battery life depends so much on what the user is doing. Many
> manufacturers don't even provide battery life in their specifications
> or at most, provide a rough figure like "battery lasts up to 10 hours".
> Doing what?
>
> I've begun writing a test suite that will simulate events of "typical
> user activity" (web browsing, word processing), so that we can at least
> know machine-to-machine or Fedora-version to Fedora-version how well we
> are doing with battery life. Comparing with a different operating system
> is hard, since we typically have no idea how claimed numbers are
> measured.
>
> The second part of trying to improve power management is getting an
> understanding of what actually uses power. powertop is impressive, but
> can't always be taken at face value. I have some idea that we could
> build up a database (or at least a wiki page or two) with detailed
> information on power usage for a few representative models so that we
> can get an idea about how we need to modify the system software.
>
> On my laptop (ASUS ux301la), various things surprised me:
>
>  * The backlight eats a ton of battery - 4W for the display backlight
> and 1W for the keyboard backlight. If you are getting poor battery life,
> turn off the keyboard backlight and turn the screen down. But how do we
> fix this for all users? We used to be much more aggressive about screen
> dimming in GNOME, and it was really annoying. Can we find some happy
> medium?
>
>  * Although most of the "tunables" in powertop did little that could be
> measured, the "Enable SATA link power management" tunable saves 2W(!) We
> need to consider whether this should be enabled by default, at least on
> battery.

This is like with most of those options a tradeoff between power
consumption and performance. Last time I tested it caused a large hit
on disk throughput but I didn't measure real world workloads. We
should do that for each of those options and decide between:

1) Performance impact is almost non existent -> always enable
2) Impact small but affects some workloads -> only battery
3) Like 2 but affects more workload or a bit more -> only enable when
battery is beyond a threshold like android does with the "power saving
mode" in lollipop
4) It hurts to much its not worth bothering

So we need both performance and power usage measurements and draw and
pick one of the above options for each.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Jan Kratochvil
On Tue, 02 Dec 2014 06:30:57 +0100, Nathanael d. Noblet wrote:
> I don't know much about it but I hate how bad my battery life is on my
> laptop...

My 3 years old Lenovo X220 lasts for 12 hours (powertop reports so) on Fedora 20
x86_64 with powertop --auto-tune.  According to powertop approx. 5.5W is
display backlight and 1W is the rest of system.

Just to give a reply that Fedora is not bad on all configs/hardware.


Jan
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Chris Murphy
On Mon, Dec 1, 2014 at 6:17 PM, Stephen John Smoogen  wrote:

> 1) A problem is identified.
> 2) Profile the problem and show where it might be happening.
> 3) Some amount on fixing the problem is done.
> 4) Find that the problem isn't there and there is no quick fix.
> 5) Throw away that solution and implement another one.
> 6) Deal with flame wars about any and all changes during this from people
> the problem doesn't occur to.
>
> Projects which use words like "we" before 3 or 4 usually never get to 3 or 4
> due to the amount of "why is your problem now my work?" response from
> everyone from developers to random people on the lists.
>
> Currently you are at 1, and you have tried to jump to 3 with the Arch
> solution. You need to profile the Arch solution to see if it really works or
> if it only works if you run an X11/twm and nothing fancier than Mosaic from
> 1997. [Or without X11 at all.. that is the usual way to get a large power
> improvement on a laptop.]

Question: Shouldn't the evaluation and fix be targeted at Rawhide
first, and then see about "backporting" demonstrated fixes to Fedora
21? For all we know now, these could be significant new features. Or
alternatively a lot of work may have to be repeated if it turns out
the problems don't occur, or the solutions are radically different, if
Wayland is being used instead of X11.

Further, the sample size is two models. Identifying a common source
problem probably means looking at more hardware.

-- 
Chris Murphy
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Matthias Clasen
On Tue, 2014-12-02 at 11:33 -0500, Owen Taylor wrote:

> 
>  * The backlight eats a ton of battery - 4W for the display backlight
> and 1W for the keyboard backlight. If you are getting poor battery life,
> turn off the keyboard backlight and turn the screen down. But how do we
> fix this for all users? We used to be much more aggressive about screen
> dimming in GNOME, and it was really annoying. Can we find some happy
> medium?

Did we ever do a close comparison to OS X' backlight handling ?


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Owen Taylor
Hi John, 

Power consumption is definitely an area that Fedora can improve, and an
area where we've begun to do some investigation.

Measuring battery life is hard, because when power saving is working,
battery life depends so much on what the user is doing. Many
manufacturers don't even provide battery life in their specifications
or at most, provide a rough figure like "battery lasts up to 10 hours".
Doing what?

I've begun writing a test suite that will simulate events of "typical
user activity" (web browsing, word processing), so that we can at least
know machine-to-machine or Fedora-version to Fedora-version how well we
are doing with battery life. Comparing with a different operating system
is hard, since we typically have no idea how claimed numbers are
measured.

The second part of trying to improve power management is getting an
understanding of what actually uses power. powertop is impressive, but
can't always be taken at face value. I have some idea that we could
build up a database (or at least a wiki page or two) with detailed
information on power usage for a few representative models so that we
can get an idea about how we need to modify the system software.

On my laptop (ASUS ux301la), various things surprised me:

 * The backlight eats a ton of battery - 4W for the display backlight
and 1W for the keyboard backlight. If you are getting poor battery life,
turn off the keyboard backlight and turn the screen down. But how do we
fix this for all users? We used to be much more aggressive about screen
dimming in GNOME, and it was really annoying. Can we find some happy
medium?

 * Although most of the "tunables" in powertop did little that could be
measured, the "Enable SATA link power management" tunable saves 2W(!) We
need to consider whether this should be enabled by default, at least on
battery.

 * The next big offender on my system was inactive tabs with Flash ads
in them. If I have nytimes.com open on my system, that's another 2W. How
do we fix this for all users? Can we suspend plugins if there's no audio
playing?

This topline stuff is huge for battery life - on my laptop it makes a
difference between around 3 hours and around 7 hours. The rest is hard -
many small things that individually contribute just a little bit. Plus a
baseline of things like DRAM refresh that are fixed.

Having detailed data for multiple laptops (and definitely Macbooks are a
interesting target) would help us make sure that Fedora does a good job
out of the box. I don't think literally just including a set of scripts
that tweak a bunch of things is something we'd want to do, but
understanding what they are tweaking and how that affects power usage
would be incredibly useful.

- Owen


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Adam Jackson
On Mon, 2014-12-01 at 22:36 -0500, Orcan Ogetbil wrote:

> One related issue is suspend. It stopped working for me (on the same
> machine) at around Fedora 12. Just stays on the black screen on
> resume.

12?  Five years ago?

> Not that I need the feature often, but there might be people who do.
> Is suspend supposed to work under normal circumstances?

Of course it is.

- ajax

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread William


> On 2 Dec 2014, at 11:27, john.tiger  wrote:
> 
> Obviously priority is now on F21 bugs but looking beyond that
> 
> I want to work with someone more knowledgeable on power consumption - it 
> stinks on Fedora 20.
> 
> OSX on mac air gets 11-12 hrs  Fedora gets 4
> Chrome OS on Chromebook gets 9-10  Fedora gets about 6
> 
> Tried powertop - see slight improvement.
> 
> Guys at ARCH claim with powerdown scripts they get close to 11 on Mac Air - 
> that's good
> 
> So we need to get the powerdown scripts to work well with Fedora.  I have no 
> idea how much conversion, if any is needed for Fedora - just don't have the 
> knowledge of processes, Fedora scripts, etc.  But willing to help out, test, 
> etc.  (I want 11 hrs on my Mac Air !).

Try installing tlp. Helps my macbook to get more battery. It seems to fix up 
issues with scaling governors etc.

If your laptop is dual gpu you're facing an uphill battle though.




> -- 
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-02 Thread Ivan Chavero


- Mensaje original -
> De: "john.tiger" 
> Para: devel@lists.fedoraproject.org
> Enviados: Lunes, 1 de Diciembre 2014 17:57:43
> Asunto: Power consumption with Fedora
> 
> Obviously priority is now on F21 bugs but looking beyond that
> 
> I want to work with someone more knowledgeable on power consumption - it
> stinks on Fedora 20.
> 
> OSX on mac air gets 11-12 hrs  Fedora gets 4
> Chrome OS on Chromebook gets 9-10  Fedora gets about 6
> 
> Tried powertop - see slight improvement.
> 
> Guys at ARCH claim with powerdown scripts they get close to 11 on Mac
> Air - that's good
> 
> So we need to get the powerdown scripts to work well with Fedora.  I
> have no idea how much conversion, if any is needed for Fedora - just
> don't have the knowledge of processes, Fedora scripts, etc.  But willing
> to help out, test, etc.  (I want 11 hrs on my Mac Air !).

i have the same problem, i'm willing to help developing and testing. if
someone has some work done as a starting point i think we can solve this
in a reasonable time.

Cheers,
Ivan
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-01 Thread Nathanael d. Noblet
On Mon, 2014-12-01 at 17:57 -0700, john.tiger wrote:
> Obviously priority is now on F21 bugs but looking beyond that
> 
> I want to work with someone more knowledgeable on power consumption - it 
> stinks on Fedora 20.
> 
> OSX on mac air gets 11-12 hrs  Fedora gets 4
> Chrome OS on Chromebook gets 9-10  Fedora gets about 6
> 
> Tried powertop - see slight improvement.
> 
> Guys at ARCH claim with powerdown scripts they get close to 11 on Mac 
> Air - that's good
> 
> So we need to get the powerdown scripts to work well with Fedora.  I 
> have no idea how much conversion, if any is needed for Fedora - just 
> don't have the knowledge of processes, Fedora scripts, etc.  But willing 
> to help out, test, etc.  (I want 11 hrs on my Mac Air !).

I don't know much about it but I hate how bad my battery life is on my
laptop... I've been considering buying a mac because I thought it was
the size of battery etc (granted that could still be a factor). It truly
is miserable. I'd be willing to work to try to test / package stuff.

-- 
Nathanael


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-01 Thread Orcan Ogetbil
On 1 December 2014 at 19:57, john.tiger wrote:
> Obviously priority is now on F21 bugs but looking beyond that
>
> I want to work with someone more knowledgeable on power consumption - it
> stinks on Fedora 20.
>
> OSX on mac air gets 11-12 hrs  Fedora gets 4
> Chrome OS on Chromebook gets 9-10  Fedora gets about 6
>
> Tried powertop - see slight improvement.
>
> Guys at ARCH claim with powerdown scripts they get close to 11 on Mac Air -
> that's good
>
> So we need to get the powerdown scripts to work well with Fedora.  I have no
> idea how much conversion, if any is needed for Fedora - just don't have the
> knowledge of processes, Fedora scripts, etc.  But willing to help out, test,
> etc.  (I want 11 hrs on my Mac Air !).

One related issue is suspend. It stopped working for me (on the same
machine) at around Fedora 12. Just stays on the black screen on
resume.
Not that I need the feature often, but there might be people who do.
Is suspend supposed to work under normal circumstances?

Orcan
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Power consumption with Fedora

2014-12-01 Thread Stephen John Smoogen
On 1 December 2014 at 17:57, john.tiger  wrote:

> Obviously priority is now on F21 bugs but looking beyond that
>
> I want to work with someone more knowledgeable on power consumption - it
> stinks on Fedora 20.
>
> OSX on mac air gets 11-12 hrs  Fedora gets 4
> Chrome OS on Chromebook gets 9-10  Fedora gets about 6
>
> Tried powertop - see slight improvement.
>
> Guys at ARCH claim with powerdown scripts they get close to 11 on Mac Air
> - that's good
>
>
I would test it first before you go by their word. There are a lot of
things which can be done to make power consumption better.



> So we need to get the powerdown scripts to work well with Fedora.  I have
> no idea how much conversion, if any is needed for Fedora - just don't have
> the knowledge of processes, Fedora scripts, etc.  But willing to help out,
> test, etc.  (I want 11 hrs on my Mac Air !).


OK, a couple of things. Fedora sub-projects work well when the following
happens:

1) A problem is identified.
2) Profile the problem and show where it might be happening.
3) Some amount on fixing the problem is done.
4) Find that the problem isn't there and there is no quick fix.
5) Throw away that solution and implement another one.
6) Deal with flame wars about any and all changes during this from people
the problem doesn't occur to.

Projects which use words like "we" before 3 or 4 usually never get to 3 or
4 due to the amount of "why is your problem now my work?" response from
everyone from developers to random people on the lists.

Currently you are at 1, and you have tried to jump to 3 with the Arch
solution. You need to profile the Arch solution to see if it really works
or if it only works if you run an X11/twm and nothing fancier than Mosaic
from 1997. [Or without X11 at all.. that is the usual way to get a large
power improvement on a laptop.] From that you can say "Yes it actually
fixed things and I was doing what I was doing in regular Fedora but the
laptop lasted 11 hours versus 4." Then you can start working on seeing if
the scripts can be implemented in Fedora somewhere.



-- 
Stephen J Smoogen.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Power consumption with Fedora

2014-12-01 Thread john.tiger

Obviously priority is now on F21 bugs but looking beyond that

I want to work with someone more knowledgeable on power consumption - it 
stinks on Fedora 20.


OSX on mac air gets 11-12 hrs  Fedora gets 4
Chrome OS on Chromebook gets 9-10  Fedora gets about 6

Tried powertop - see slight improvement.

Guys at ARCH claim with powerdown scripts they get close to 11 on Mac 
Air - that's good


So we need to get the powerdown scripts to work well with Fedora.  I 
have no idea how much conversion, if any is needed for Fedora - just 
don't have the knowledge of processes, Fedora scripts, etc.  But willing 
to help out, test, etc.  (I want 11 hrs on my Mac Air !).

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct