PowerManagementASPM
1404
Comment:
|
6854
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
[[http://zinc.canonical.com/~cking/powermanagement/mjgaspmfix/oneiric|Oneiric Kernels]] [[http://zinc.canonical.com/~cking/powermanagement/mjgaspmfix/precise|Precise Kernels]] |
* [[http://zinc.canonical.com/~cking/powermanagement/mjgaspmfix/oneiric|Ubuntu Oneiric 11.10 Kernels]] * [[http://zinc.canonical.com/~cking/powermanagement/mjgaspmfix/precise|Ubuntu Precise 12.04 Kernels]] For power measurement, we currently recommend using the older version of powertop 1.13 as this clearly displays the ACPI estimated power consumption. A .deb for powertop-1 can be found [[https://launchpad.net/~lool/+archive/ppa/+sourcepub/2073115/+listing-archive-extra|here]]. We recommend running powertop as follows: * Boot the machine, start powertop-1 * Wait until you get an ACPI estimated power consumption value. * Gather 15 measurements (it is updated regularly). * Discard the first 5 results. * Take average of the last 10 results (total/10) |
Line 16: | Line 24: |
* Run powertop for 10 minutes on an idle system and note power consumption | * Run powertop-1 on an idle system and note power consumption |
Line 19: | Line 27: |
* Restart laptop and choose the new kernel | |
Line 21: | Line 30: |
* Run powertop for 10 minutes on an idle system and note power consumption | * Run powertop-1 on an idle system and note power consumption |
Line 25: | Line 34: |
||Machine||BIOS||32/64 bit kernel||Original Kernel||Original Kernel Power||ASPM fix Kernel||ASPM fix Power|| ||Example||68ET27WW||64||3.1.0-2-generic||23W||3.1.0-2-generic||19W|| |
Please try and keep table in sorted order on the machine name. Thanks! ||Machine||BIOS||32/64 bit kernel||Original Kernel||Original Kernel Power||ASPM fix Kernel||ASPM fix Power||Notes||Desktop|| ||Acer Aspire AO722||JE10BZ V1.04||64||3.0.0-12-generic||11.43W ± 0.39||3.0.0-13-generic||11.25W ± 0.26||3|||| ||Acer Aspire One 533||V1.05||32||3.0.0-13-generic||7.58W||3.0.0-13-generic||7.7W||2|||| ||Acer Aspire One AOA110||v0.3310||32||3.0.0-13-generic||11.23||3.0.0-13-generic||11.13|||||| ||Apple MacBook Pro 7,1||MBP81.88Z.0039.B0B.1006012305||64||3.0.0-13-generic||16.76||3.0.0-13-generic||15.84||7 ||Unity 3D|| ||Asus W5F||307||32||3.0.0-12-generic||12.69W||3.0.0-13-generic||12.47W|||||| ||Dell Latitude D620||OTD761 A02||32||3.0.0-12-generic||22.27W ± 1.13||3.0.0-13-generic||21.31W ± 0.20||3|||| ||Dell Latitude E6510||A03||32||3.0.0-13-generic-pae||18.06 ± 1.13||3.0.0-13-generic-pae||16.92 ± 0.99|||||| ||Dell Vostro 3450||A07||32||3.0.0-12-generic-pae||20.45||3.0.0-13-generic-pae||19.55|||||| ||Dell Inspiron 6400||A13||64||3.1.0-2-generic||23.3W||3.1.0-2-generic||23.2W||||Unity 3D|| ||Dell Inspiron N4010||A13||64||3.1.0-2-generic||1.21W||3.1.0-2-generic||0.95W||1|||| ||Dell Studio 1558||A12||64||3.0.0-13-generic||2.22W||3.0.0-13-generic||1.8W||1|||| ||HP Mini 210||F0.2||64||3.0.0-12-generic||14.3W||3.0.0-13-generic||8.7W||||Unity 3D|| ||HP Mini 210||F0.4||32||3.1.0-2-generic||11.3W||3.1.0-2-generic||11.7W|||||| ||HP Pro``Book 5420s||68AZZ Ver. F.0F||64||3.0.0-12-generic||25.06W||3.0.0-13-generic||25.66W|||||| ||Lenovo 3000N200||68ET27WW||64||3.1.0-2-generic||24.3W||3.1.0-2-generic||25.4W|||||| ||Lenovo !IdeaPad S12||19CN1AWW||32||3.0.0-13-generic||10.65W||3.0.0-13-generic||10.67W||2|||| ||Lenovo Thinkpad L520||8GET36WW(1.13)||64||3.0.0-12-generic||18,05W||3.0.0-13-generic||18,18W|||||| ||Lenovo !ThinkPad T400||7UET92WW (3.22)||64||3.0.0-12-generic||18.07W||3.0.0-13-generic||18.10W||6|||| ||Lenovo !ThinkPad T420||83ET63WW (1.33)||64||3.0.0-12-generic||19.28W||3.0.0-13-generic||14.89W|||| ||Lenovo Thinkpad T420s (i915.i915_enable_rc6=1)||8CET46WW (1.26)||64||3.1.0-2-generic||12.29W||3.1.0-2-generic||9.14W|||||| ||Lenovo Thinkpad T420s || 8CET48WW (1.28 )|| 64 || 3.0.0-12-generic||22.56V ||3.0.0-13-generic||19.54W|||||| ||Lenovo Thinkpad T510||6MET84WW (1.44)||32||3.0.0-12-generic-pae||16.03W||3.0.0-13-generic-pae||14.01W|||||| ||Lenovo Thinkpad T60||`79ET62WW (1.07)`||32||3.0.0-13-generic||22.17W ± 0.38W||3.0.0-13-generic||22.19W ± 0.36W||4||Unity 2D|| ||Lenovo Thinkpad X201||6QET52WW (1.22 )||64||3.0.0-13.generic||11.0||3.0.0-13.generic||10.0|||||| ||Lenovo Thinkpad X220||8DET41WW (1.11)||64||3.0.0-13.generic||21.4||3.0.0-13.generic||19.9|||||| ||Lenovo Thinkpad X220||8DET42WW (1.12)||64||3.0.0-13.generic||19.4||3.0.0-13.generic||15.7||||Unity 3d|| ||Lenovo Thinkpad X220T with SSD (i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1)||8DET49WW (1.19 )||64||3.0.0-13.generic||9,08||3.0.0-13.generic||6,24||||Unity 3D|| ||Lenovo Thinkpad X301||`6EET54WW (3.14 )`||64||3.1.0-2-generic||11.4W||3.1.0-2-generic||11.4W|||||| ||Lenovo Thinkpad X301||`6EET44WW (3.04)`||64||3.1.0-2-generic||10.4W||3.1.0-2-generic||10.4W|||||| ||Lenovo Thinkpad X60s||7BETC7WW (2.08)||32||3.0.0-13.generic||13.76W||3.0.0-13.generic||13.81W|||||| ||Samsung NF310||03MY.M029.20101228.JIP||64||3.0.0-13-generic||6.81W||3.0.0-13-generic||6.14W|||||| ||Toshiba NB505||V1.90||64||3.0.0-13-generic||7.98W||3.0.0-13-generic||7.92W|||||| ||Toshiba Satellite P100 [[http://www.mytoshiba.com.au/support/computers/satellite/p100/pspa3a-05s00p/download|PSPA3A-05S00P]]||V3.30||32||3.0.0-12-generic||26.49||3.0.0-13-generic+mjgaspmfix||26.64W||5|||| ||Lenovo Thinkpad X121e (AMD E350, ATI gfx)||V1.08||32||3.0.0-12-generic||12.01W||3.0.0-13-generic||11.43W||8|||| ||Lenovo Thinkpad E320 (Core i5, ATI gfx)||V1.11||32||3.0.0-12-generic-pae||23.81W||3.0.0-13-generic-pae||25.13W||8|||| ||Lenovo Thinkpad E320 (Core i3, Intel gfx)||V1.11||32||3.0.0-12-generic-pae||19.57W||3.0.0-13-generic-pae||19.70W|||||| ||Lenovo Thinkpad E120 (Pentium(R) 957, Intel gfx)||V1.10||32||3.0.0-12-generic-pae||13.55W||3.0.0-13-generic-pae||13.77W|||||| Notes: 1.#1 It is probable that these machines are incorrectly reporting power such that the value is reported as 1/10th of the actual. 1.#2 This variance (up) is likely within the accuracy of the figures for this machine. 1.#3 near-default power settings, no savings enabled 1.#4 With pcie_aspm=force and the original kernel this machine reports 18.84W ± 0.47W. 1.#5 This machine is from 2006 - not sure if this is still helpful 1.#6 With pcie_aspm=force on 3.0.0-12-generic the consumption was 17.78W. Combining this with [[https://github.com/linrunner/TLP/wiki/TLP-FAQ|tlp]] reduced the consumption to 14.42W. 1.#7 Using nouveau instead of nvidia binary driver. 1.#8 Using open source ATI gfx driver. Can't get BRCM wifi driver to work with patched kernel; wired network instead. |
ASPM PCIe Bug
As noted by Phoronix ASPM PCIe power saving has been problematic and a recent patch by Matthew Garrett has re-worked this to clear the ASPM state on all devices on a successful handoff of PCIe control to the OS.
We therefore are providing patched kernels carrying Matthew's fix for testing purposes only to see how well this works across a broad range of machines. Kernels can be found in:
For power measurement, we currently recommend using the older version of powertop 1.13 as this clearly displays the ACPI estimated power consumption. A .deb for powertop-1 can be found here. We recommend running powertop as follows:
- Boot the machine, start powertop-1
- Wait until you get an ACPI estimated power consumption value.
- Gather 15 measurements (it is updated regularly).
- Discard the first 5 results.
- Take average of the last 10 results (total/10)
Testing procedure:
- Ensure laptop is fully charged
- Unplug AC power
- Run powertop-1 on an idle system and note power consumption
- Plug in AC power
- Install the new kernel containing the ASPM fix
- Restart laptop and choose the new kernel
- Ensure laptop is fully charged
- Unplug AC power
- Run powertop-1 on an idle system and note power consumption
- Gather the BIOS version using: sudo dmidecode -t 0 | grep "Version:"
- Add results to the table below:
Please try and keep table in sorted order on the machine name. Thanks!
Machine |
BIOS |
32/64 bit kernel |
Original Kernel |
Original Kernel Power |
ASPM fix Kernel |
ASPM fix Power |
Notes |
Desktop |
Acer Aspire AO722 |
JE10BZ V1.04 |
64 |
3.0.0-12-generic |
11.43W ± 0.39 |
3.0.0-13-generic |
11.25W ± 0.26 |
3 |
|
Acer Aspire One 533 |
V1.05 |
32 |
3.0.0-13-generic |
7.58W |
3.0.0-13-generic |
7.7W |
2 |
|
Acer Aspire One AOA110 |
v0.3310 |
32 |
3.0.0-13-generic |
11.23 |
3.0.0-13-generic |
11.13 |
||
Apple MacBook Pro 7,1 |
MBP81.88Z.0039.B0B.1006012305 |
64 |
3.0.0-13-generic |
16.76 |
3.0.0-13-generic |
15.84 |
7 |
Unity 3D |
Asus W5F |
307 |
32 |
3.0.0-12-generic |
12.69W |
3.0.0-13-generic |
12.47W |
||
Dell Latitude D620 |
OTD761 A02 |
32 |
3.0.0-12-generic |
22.27W ± 1.13 |
3.0.0-13-generic |
21.31W ± 0.20 |
3 |
|
Dell Latitude E6510 |
A03 |
32 |
3.0.0-13-generic-pae |
18.06 ± 1.13 |
3.0.0-13-generic-pae |
16.92 ± 0.99 |
||
Dell Vostro 3450 |
A07 |
32 |
3.0.0-12-generic-pae |
20.45 |
3.0.0-13-generic-pae |
19.55 |
||
Dell Inspiron 6400 |
A13 |
64 |
3.1.0-2-generic |
23.3W |
3.1.0-2-generic |
23.2W |
Unity 3D |
|
Dell Inspiron N4010 |
A13 |
64 |
3.1.0-2-generic |
1.21W |
3.1.0-2-generic |
0.95W |
1 |
|
Dell Studio 1558 |
A12 |
64 |
3.0.0-13-generic |
2.22W |
3.0.0-13-generic |
1.8W |
1 |
|
HP Mini 210 |
F0.2 |
64 |
3.0.0-12-generic |
14.3W |
3.0.0-13-generic |
8.7W |
Unity 3D |
|
HP Mini 210 |
F0.4 |
32 |
3.1.0-2-generic |
11.3W |
3.1.0-2-generic |
11.7W |
||
HP ProBook 5420s |
68AZZ Ver. F.0F |
64 |
3.0.0-12-generic |
25.06W |
3.0.0-13-generic |
25.66W |
||
Lenovo 3000N200 |
68ET27WW |
64 |
3.1.0-2-generic |
24.3W |
3.1.0-2-generic |
25.4W |
||
Lenovo IdeaPad S12 |
19CN1AWW |
32 |
3.0.0-13-generic |
10.65W |
3.0.0-13-generic |
10.67W |
2 |
|
Lenovo Thinkpad L520 |
8GET36WW(1.13) |
64 |
3.0.0-12-generic |
18,05W |
3.0.0-13-generic |
18,18W |
||
Lenovo ThinkPad T400 |
7UET92WW (3.22) |
64 |
3.0.0-12-generic |
18.07W |
3.0.0-13-generic |
18.10W |
6 |
|
Lenovo ThinkPad T420 |
83ET63WW (1.33) |
64 |
3.0.0-12-generic |
19.28W |
3.0.0-13-generic |
14.89W |
||
Lenovo Thinkpad T420s (i915.i915_enable_rc6=1) |
8CET46WW (1.26) |
64 |
3.1.0-2-generic |
12.29W |
3.1.0-2-generic |
9.14W |
||
Lenovo Thinkpad T420s |
8CET48WW (1.28 ) |
64 |
3.0.0-12-generic |
22.56V |
3.0.0-13-generic |
19.54W |
||
Lenovo Thinkpad T510 |
6MET84WW (1.44) |
32 |
3.0.0-12-generic-pae |
16.03W |
3.0.0-13-generic-pae |
14.01W |
||
Lenovo Thinkpad T60 |
79ET62WW (1.07) |
32 |
3.0.0-13-generic |
22.17W ± 0.38W |
3.0.0-13-generic |
22.19W ± 0.36W |
4 |
Unity 2D |
Lenovo Thinkpad X201 |
6QET52WW (1.22 ) |
64 |
3.0.0-13.generic |
11.0 |
3.0.0-13.generic |
10.0 |
||
Lenovo Thinkpad X220 |
8DET41WW (1.11) |
64 |
3.0.0-13.generic |
21.4 |
3.0.0-13.generic |
19.9 |
||
Lenovo Thinkpad X220 |
8DET42WW (1.12) |
64 |
3.0.0-13.generic |
19.4 |
3.0.0-13.generic |
15.7 |
Unity 3d |
|
Lenovo Thinkpad X220T with SSD (i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1) |
8DET49WW (1.19 ) |
64 |
3.0.0-13.generic |
9,08 |
3.0.0-13.generic |
6,24 |
Unity 3D |
|
Lenovo Thinkpad X301 |
6EET54WW (3.14 ) |
64 |
3.1.0-2-generic |
11.4W |
3.1.0-2-generic |
11.4W |
||
Lenovo Thinkpad X301 |
6EET44WW (3.04) |
64 |
3.1.0-2-generic |
10.4W |
3.1.0-2-generic |
10.4W |
||
Lenovo Thinkpad X60s |
7BETC7WW (2.08) |
32 |
3.0.0-13.generic |
13.76W |
3.0.0-13.generic |
13.81W |
||
Samsung NF310 |
03MY.M029.20101228.JIP |
64 |
3.0.0-13-generic |
6.81W |
3.0.0-13-generic |
6.14W |
||
Toshiba NB505 |
V1.90 |
64 |
3.0.0-13-generic |
7.98W |
3.0.0-13-generic |
7.92W |
||
Toshiba Satellite P100 PSPA3A-05S00P |
V3.30 |
32 |
3.0.0-12-generic |
26.49 |
3.0.0-13-generic+mjgaspmfix |
26.64W |
5 |
|
Lenovo Thinkpad X121e (AMD E350, ATI gfx) |
V1.08 |
32 |
3.0.0-12-generic |
12.01W |
3.0.0-13-generic |
11.43W |
8 |
|
Lenovo Thinkpad E320 (Core i5, ATI gfx) |
V1.11 |
32 |
3.0.0-12-generic-pae |
23.81W |
3.0.0-13-generic-pae |
25.13W |
8 |
|
Lenovo Thinkpad E320 (Core i3, Intel gfx) |
V1.11 |
32 |
3.0.0-12-generic-pae |
19.57W |
3.0.0-13-generic-pae |
19.70W |
||
Lenovo Thinkpad E120 (Pentium(R) 957, Intel gfx) |
V1.10 |
32 |
3.0.0-12-generic-pae |
13.55W |
3.0.0-13-generic-pae |
13.77W |
Notes:
- It is probable that these machines are incorrectly reporting power such that the value is reported as 1/10th of the actual.
- This variance (up) is likely within the accuracy of the figures for this machine.
- near-default power settings, no savings enabled
- With pcie_aspm=force and the original kernel this machine reports 18.84W ± 0.47W.
- This machine is from 2006 - not sure if this is still helpful
With pcie_aspm=force on 3.0.0-12-generic the consumption was 17.78W. Combining this with tlp reduced the consumption to 14.42W.
- Using nouveau instead of nvidia binary driver.
- Using open source ATI gfx driver. Can't get BRCM wifi driver to work with patched kernel; wired network instead.
Kernel/PowerManagementASPM (last edited 2012-02-19 14:59:07 by AAnnecy-552-1-244-103)