PowerManagementRC6

Revision 54 as of 2012-02-22 19:47:35

Clear message

RC6

RC6 is a technology which allows the GPU to go into a very low power consumption state when the GPU is idle (down to 0V). It results in considerable power savings when this stage is activated. When comparing under idle loads with machine state where RC6 is disabled, improved power usage of around 40-60% has been witnessed.

As a bonus, when those states are reached, there are additional thermal and power space for both CPU and GPU to go into a more aggressive turbo mode. This can also improve the performance of intensive workloads by around 10%, and a bit more in some cases.

The above was taken from an indepth summary regarding RC6 posted by Eugeni Dodonov.

Ubuntu RC6 Status

Up until recently, RC6 was disabled by default for Sandy Bridge systems due to reports of hangs and graphics corruption issues when RC6 was enabled. Intel has now asserted that RC6p (deep RC6) is responsible for the RC6 related issues on Sandy Bridge. A patch was therefore submitted upstream to disable RC6p on Sandy Bridge.

In an effort provide more exposure and testing for this proposed patch, the Ubuntu kernel team has applied this patch to 3.2.0-17.26 and newer Ubuntu 12.04 Precise Pangolin kernels. We have additionally enabled plain RC6 by default on Sandy Bridge systems so that users can benefit from the improved power savings by default.

How to Test

If you are running Ubuntu 12.04 (Precise Pangolin), we would like to capture any feedback regarding improved power savings for Sandy Bridge users witness while running a 3.2.0-17.26 or newer kernel. More importantly, we want to know of any issues which arise as a result of having RC6 enabled. To test, please follow the instructions below:

  1. Boot into 3.2.0-17.26 or newer Ubuntu 12.04 Precise Pangolin kernel
  2. Gather System Info (BIOS info, kernel version, VGA info)
    • sudo dmidecode -t 0 | grep "Version:"
    • uname -r
    • lspci -nn | grep "VGA"
  3. Install power measuring tools
    • sudo add-apt-repository ppa:colin-king/powermanagement
    • sudo apt-get update
    • sudo apt-get install powerstat
  4. Unplug the power from your laptop/netbook and run the following command:
    • sudo powerstat
  5. Note the average power consumption and standard deviation which are shown at the end of the powerstat run
  6. If you experience any issues due to RC6 being enabled, please file a bug:
    • ubuntu-bug linux
  7. Reboot into the same kernel but disable RC6. To disable RC6, do the following:
    • Hold down Left-Shift key to enter the Grub menu on boot
    • Hit 'e' to edit the kernel command line
    • Append i915.i915_enable_rc6=0 as a kernel boot parameter
      • For example: linux /boot/vmlinuz-3.2.0-17-generic <...> quiet splash vt.handoff=7 i915.i915_enable_rc6=0

    • Press Ctrl-x to boot
  8. Unplug the power from your laptop/netbook and run powerstat again to capture comparative test results with RC6 disabled
    • sudo powerstat
  9. Note the average power consumption and standard deviation (σ) which as shown at the end of the powerstat run
  10. Add test results to the Crowd Sourcing Test Results section below

Extended Testing

We would appreciate any extended testing with RC6 enabled. For example, exercising graphics doing normal day to day activities. We are keen to hear about any issues such as hangs or graphics corruptions which are triggered with RC6 enabled. If you experience such issues, please file a bug by running 'ubuntu-bug linux' from a command line.

Issues? File a Bug

If you do experience any issues such as hangs or graphics corruptions due to RC6 being enabled, please let us know by filing a bug. To file a bug, run the following command:

  • ubuntu-bug linux

Please be sure to file a bug and note it in the "Issues" column of the Crowd Sourcing Test Results. Otherwise, we will not know how to contact you in order to help resolve your issue.

Crowd Sourcing Test Results

Please enter the results in the table below sorted alphanumerically on the machine name. Thanks!

Machine

BIOS Info

Kernel Version

VGA Info

powerstat output (RC6 Enabled)

powerstat output (RC6 Disabled)

Issues (Bug:#####)

Acer Aspire 4752

V2.09

3.2.0-17-generic

8086:0116 (rev 09)

9.52 W, σ=0.24

18.31 W σ=0.25

None

Apple MacBook Air 4,1

MBA41.88Z.0077.B0E.1110141154

3.2.0-17-generic

8086:0116 (rev 09)

7.92 W, σ=0.23

13.87 W, σ=0.29

None

Dell Vostro 3450

A07

3.2.0-17-generic

8086:0116 (rev 09)

11.91 W, σ=1.01

17.66 W σ=0.36

None

Lenovo Edge E420

8HET40WW(1.22)

3.2.0-17-generic-pae

8086:0126 (rev 09)

14.15 W, σ=0.76

20.99 W σ=1.10

None

Lenovo L520

8GET38WW (1.15)

3.2.0-17-generic

8086:0126 (rev 09)

12.81 W, σ=0.55

28.27 W σ=2.73

None

Lenovo T420s

8CET50WW (1.30)

3.2.0-17-generic x86_64

8086:0126 (rev 09)

8.91 W, σ=0.05

17.60 W, σ=0.07

rc6 enabled manually for a long time; occasionally got the whole screen black with 1/4 of it blue (on the right), forcing me to restart, but not sure I can blame that on rc6

Lenovo T420

83ET63WW (1.33 )

3.2.0-17-generic x86_64

[8086:0116] (rev 09)

8.91 W, σ=0.05

13.17W, σ=0.31

Lenovo U300s Ideapad

56CN38WW

3.2.0-17-generic

8086:0016 (rev 09)

14.87 W σ=0.91

19.84 W σ=1.12

None

Lenovo X201

6QET68WW (1.38)

3.2.0-17-generic

8086:0046 (rev 02)

6.40 W σ=0.17

6.54 W σ=0.70

RC6 manually enabled by kernel flag. May not have worked (pre-Sandy Bridge)

Lenovo X220

8DET56WW (1.26)

3.2.0-17-generic

8086:0126 (rev 09)

7.95 W, σ=0.10

15.95 W, σ=0.08

Lenovo X220

8DET54WW (1.24)

3.2.0-17-generic

8086:0126 (rev 09)

6.66 W, σ=0.18

12.09 W, σ=0.16

Lenovo X220

8DET55WW (1.25 )

3.2.0-17-generic

8086:0126 (rev 09)

7.93 W, σ=0.77

14.80 W, σ=0.45

Lenovo X220i

8DET54WW (1.24)

3.2.0-17-generic X86_64

8086:0116 (rev 09)

8.60 W, σ=0.04

9.74 W, σ=0.11

none

Lenovo X220t

8DET56WW (1.26 )

3.2.0-17-generic-pae

8086:0126 (rev 09)

7.99 W, σ=0.12

17.66 W, σ=0.37

MacBookAir 4,2

MBA41.88Z.0077.B0E.1110141154

3.2.0-17-generic X86_64

8086:0116 (rev 09)

8.86 W, σ=0.13

11.27 W σ=0.62

None

Samsung NP300V3A

03FI

3.2.0-17-generic X86_64 (in Oneiric)

8086:0116 (rev 09)

8.18 W, σ=0.72

11.85 W, σ=2.36

Graphical issues such as texture tearing still appear; didn't wait to look for any possible hangs *) retest would be welcome on the same laptop in full 12.04 installation? (ddx, libdrm etc)

Samsung NP350U2A

05PY.M020.20120105.WZW

3.2.0-17-generic

8086:0116 (rev 09)

7.50 W, σ=0.36

11.52 W σ=0.82

Bug 935965

Samsung NP700Z5B-W01UB

09/06/2011 (03FD)

3.2.0-17-generic X86_64

8086:0116 (rev 09)

not tested

not tested

Severe graphical glitches (tearing)

Bug 935965

ASUS UX31E

UX31E.211

3.2.0-17-generic

8086:0116 (rev 09)

5.50 W,σ=0.40

6.21 W, σ=0.77

Bug #937378 hard shutdown

ASUS UX21E

UX21E.209

3.2.5-tunerc6v1-generic

8086:0116 (rev 09)

7.16 W, σ=0.86

12.22 W, σ=0.63

none

Sony VAIO Z (VPCZ21AJ)

R0170H5 06/16/2011

3.3.0-999-generic X86_64 (Daily-Build)

8086:0116 (rev 09)

9.09W, σ=0.14

15.45W, σ=0.44

none

Toshiba Satellite R830 1DG

3.60

3.2.0-17-generic X86_64

8086:0126 (rev 09)

11.13W, σ=1.75

16.18W, σ=0.42

none