Bug 786665 - Sandybridge laptop seeing lots of wakeups
Summary: Sandybridge laptop seeing lots of wakeups
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 05:06 UTC by Amit Shah
Modified: 2012-11-14 15:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-14 15:20:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Powertop report on init 3 (36.38 KB, text/html)
2012-02-12 03:46 UTC, Amit Shah
no flags Details
powertop output on init 5 with new user account (44.59 KB, text/html)
2012-02-12 03:48 UTC, Amit Shah
no flags Details
powertop report on x200, init 3 (29.64 KB, text/html)
2012-02-15 12:57 UTC, Amit Shah
no flags Details
x200 powertop report in init 5 mode, new user account (36.90 KB, text/html)
2012-02-15 12:58 UTC, Amit Shah
no flags Details

Description Amit Shah 2012-02-02 05:06:52 UTC
Description of problem:

I've been running F16 on a sandybridge laptop for a couple of months; powertop shows wakeups in the range of 500-800 wakeups per second on an idle laptop most of the time.  The fan keeps rotating at full speed all the time as well.

I've disabled the on-board nvidia GPU and am only using the intel one.  Enabling the nvidia chip from the BIOS results in much higher power consumption.


A snapshot from powertop output:

Summary: 575.4 wakeups/second,  0.0 GPU ops/second and 0.0 VFS ops/sec

                Usage       Events/s    Category       Description
             4010 rpm                   Device         Laptop fan
            10678 pkts/s                Device         nic:ppp0
             58.0 ms/s      62.8        Process        /usr/lib64/thunderbird/thunderbird-bin
             46.7%                      Device         Display backlight

This is a ThinkPad T420s with i7-2620M CPU.

$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)
0d:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)

Comment 1 Dave Jones 2012-02-03 17:07:43 UTC
            10678 pkts/s                Device         nic:ppp0

so what happens when it isn't receiving packets ?

Comment 2 Amit Shah 2012-02-09 16:29:53 UTC
This is with the 3G modem disconnected, and no network activity at all.

Summary: 314.3 wakeups/second,  0.0 GPU ops/second and 0.0 VFS ops/sec

                Usage       Events/s    Category       Description
             4018 rpm                   Device         Laptop fan
             53.3%                      Device         Display backlight
              2.9 ms/s       6.2        Process        gnome-shell --sm-client-id 1080b1eb1a6c16a69a
              2.0 ms/s      49.9        Process        /usr/lib64/firefox/firefox

Comment 3 Dave Jones 2012-02-09 20:29:21 UTC
you're still not measuring an idle desktop, so these numbers are meaningless.

idle means nothing running. especially things like firefox.

Comment 4 Amit Shah 2012-02-12 03:46:48 UTC
Created attachment 561177 [details]
Powertop report on init 3

Comment 5 Amit Shah 2012-02-12 03:48:09 UTC
Created attachment 561178 [details]
powertop output on init 5 with new user account

Ow, sorry.  I meant to also include stats from an X200 with a similar workload with much lesser number of wakeups.  Can't get that info right away, so attaching two powertop-generated reports here.

I booted this laptop with 'init 3' and generated a powertop html report after optimising the tunables that were set to 'bad'.  Wakeups are at below 30 per sec.

I then created a new user account, switched to init 5, opened a terminal and ran the same powertop command.  Wakeups are now at 150+.

When I login to my user acct, with multiple apps restored after login, wakeups are back at 400+.

Comment 6 Amit Shah 2012-02-15 12:56:26 UTC
With the X200, init 3 has 8 wakeups/sec, init 5 has 25 wakeups (what the sandybridge laptop has in init 3 mode).  The x200 laptop runs 3.1.5 instead of 3.2.5 of the sandybridge here, but I doubt that's going to change anything.

I'm suspecting it's the GPU in the sandybridge that's causing this.

Comment 7 Amit Shah 2012-02-15 12:57:16 UTC
Created attachment 562207 [details]
powertop report on x200, init 3

Comment 8 Amit Shah 2012-02-15 12:58:12 UTC
Created attachment 562208 [details]
x200 powertop report in init 5 mode, new user account

Comment 9 Dave Jones 2012-02-15 16:04:56 UTC
the only power related gpu thing for sandybridge is that rc6 is disabled by default. There's an i915_enable_rc6 option to i915.ko to turn it on.

We can't turn it on by default because it makes some systems lock up.

Comment 10 Dave Jones 2012-03-22 16:45:41 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 11 Dave Jones 2012-03-22 16:50:08 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 12 Dave Jones 2012-03-22 17:00:02 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 13 Amit Shah 2012-03-23 05:59:14 UTC
Problem continues on 3.3.0

Comment 14 Dave Jones 2012-10-23 15:33:41 UTC
# Mass update to all open bugs.

Kernel 3.6.2-1.fc16 has just been pushed to updates.
This update is a significant rebase from the previous version.

Please retest with this kernel, and let us know if your problem has been fixed.

In the event that you have upgraded to a newer release and the bug you reported
is still present, please change the version field to the newest release you have
encountered the issue with.  Before doing so, please ensure you are testing the
latest kernel update in that release and attach any new and relevant information
you may have gathered.

If you are not the original bug reporter and you still experience this bug,
please file a new report, as it is possible that you may be seeing a
different problem. 
(Please don't clone this bug, a fresh bug referencing this bug in the comment is sufficient).

Comment 15 Justin M. Forbes 2012-11-14 15:20:54 UTC
With no response, we are closing this bug under the assumption that it is no longer an issue. If you still experience this bug, please feel free to reopen the bug report.


Note You need to log in before you can comment on or make changes to this bug.