View previous topic :: View next topic |
Author |
Message |
MarioMaster100 Tux's lil' helper


Joined: 25 Jul 2014 Posts: 86
|
Posted: Tue Jul 29, 2014 5:54 pm Post subject: An hour less of battery life on and off intel_pstate? |
|
|
I was on battery life with the intel_pstate enabled on the laptop and I had at least an hour of battery life or more less that I should have. Then I recompiled the kernel without the intel_pstate driver and the battery life looked about the same. Any tips or tricks to get that battery life back up to where it should be? |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3723 Location: Hamburg
|
Posted: Tue Jul 29, 2014 6:08 pm Post subject: |
|
|
Maybe OT, but do you want to play with the pstate or just want to save power? B/C there are well established other alternatives in the kernel IMO, eg. ondemand is a stable and working governor.
And the last time I looked at pstate it was flaky and buggy and not usable here at a x86 Gentoo at a ThinkPad (with just internal i915 graphic). |
|
Back to top |
|
 |
MarioMaster100 Tux's lil' helper


Joined: 25 Jul 2014 Posts: 86
|
Posted: Tue Jul 29, 2014 6:17 pm Post subject: |
|
|
Whatever works best is what I'm going with Currently I have the pstate not on the kernel, need to figure out how to set the default governor. |
|
Back to top |
|
 |
john_deaux n00b

Joined: 16 Sep 2013 Posts: 56 Location: On the banks of the Pontchartrain
|
Posted: Tue Jul 29, 2014 6:57 pm Post subject: |
|
|
You can set the default governor here:
Code: | CPU Frequency scaling --->
Default CPUFreq governor (performance)
<*> 'performance' governor
x86 CPU frequency scaling drivers --->
[*] Intel P state control |
j_d |
|
Back to top |
|
 |
shazeal Apprentice


Joined: 03 May 2006 Posts: 198 Location: New Zealand
|
Posted: Tue Jul 29, 2014 7:35 pm Post subject: |
|
|
Quote: | CONFIG_X86_INTEL_PSTATE: │
│ │
│ This driver provides a P state for Intel core processors. │
│ The driver implements an internal governor and will become │
│ the scaling driver and governor for Sandy bridge processors. │
│ │
│ When this driver is enabled it will become the perferred │
│ scaling driver for Sandy bridge processors. │
│ │
│ If in doubt, say N. |
Do you have a Sandy bridge cpu? _________________ CFLAGS="-OmgWTFR1CE --fun-lol-loops --march=asmx86go" |
|
Back to top |
|
 |
MarioMaster100 Tux's lil' helper


Joined: 25 Jul 2014 Posts: 86
|
Posted: Tue Jul 29, 2014 8:03 pm Post subject: |
|
|
shazeal wrote: | Quote: | CONFIG_X86_INTEL_PSTATE: │
│ │
│ This driver provides a P state for Intel core processors. │
│ The driver implements an internal governor and will become │
│ the scaling driver and governor for Sandy bridge processors. │
│ │
│ When this driver is enabled it will become the perferred │
│ scaling driver for Sandy bridge processors. │
│ │
│ If in doubt, say N. |
Do you have a Sandy bridge cpu? |
I believe so.
john_deaux wrote: | You can set the default governor here:
Code: | CPU Frequency scaling --->
Default CPUFreq governor (performance)
<*> 'performance' governor
x86 CPU frequency scaling drivers --->
[*] Intel P state control |
j_d | Ok, is that the only location to manually set it? |
|
Back to top |
|
 |
john_deaux n00b

Joined: 16 Sep 2013 Posts: 56 Location: On the banks of the Pontchartrain
|
Posted: Tue Jul 29, 2014 8:50 pm Post subject: |
|
|
MarioMaster100 wrote: | shazeal wrote: | Quote: | CONFIG_X86_INTEL_PSTATE: │
│ │
│ This driver provides a P state for Intel core processors. │
│ The driver implements an internal governor and will become │
│ the scaling driver and governor for Sandy bridge processors. │
│ │
│ When this driver is enabled it will become the perferred │
│ scaling driver for Sandy bridge processors. │
│ │
│ If in doubt, say N. |
Do you have a Sandy bridge cpu? |
I believe so.
john_deaux wrote: | You can set the default governor here:
Code: | CPU Frequency scaling --->
Default CPUFreq governor (performance)
<*> 'performance' governor
x86 CPU frequency scaling drivers --->
[*] Intel P state control |
j_d | Ok, is that the only location to manually set it? |
Not sure, I set mine to performance in the kernel. I think the default was "powersave" or something like that.
You can easily modify the kernel to change this.
j_d |
|
Back to top |
|
 |
MarioMaster100 Tux's lil' helper


Joined: 25 Jul 2014 Posts: 86
|
Posted: Wed Jul 30, 2014 8:25 pm Post subject: |
|
|
I think I forgot to set cpupower to powersave when I took off intel_pstate, looks about right with pstate not in the kernel and powersave governor >_< Maybe I'll check with intel_pstate again and set the cpu governor and see.
Edit: nope problem not solved
Last edited by MarioMaster100 on Wed Jul 30, 2014 11:07 pm; edited 1 time in total |
|
Back to top |
|
 |
MarioMaster100 Tux's lil' helper


Joined: 25 Jul 2014 Posts: 86
|
Posted: Wed Jul 30, 2014 10:56 pm Post subject: |
|
|
Alright I don't know what to believe anymore. I'm starting to think battery_time for conky is wildly inaccurate... Is there a more accurate way to measure battery time remaining preferably a conky method that I can just add a variable to my dzen2 script? |
|
Back to top |
|
 |
MarioMaster100 Tux's lil' helper


Joined: 25 Jul 2014 Posts: 86
|
Posted: Fri Aug 01, 2014 3:23 am Post subject: |
|
|
Well both conky and acpi are flipping battery life remaining a bit more than they should be... |
|
Back to top |
|
 |
|