All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc_powertop at merlins.org>
To: powertop@lists.01.org
Subject: [Powertop] [Bug] powertop 2.1 isn't measuring task power properly on my Thinkpad T530
Date: Sun, 02 Sep 2012 08:32:03 -0700	[thread overview]
Message-ID: <20120902153203.GG10826@merlins.org> (raw)
In-Reply-To: 20120831171450.GA10826@merlins.org

[-- Attachment #1: Type: text/plain, Size: 3729 bytes --]

[retrying with fixed subject line]

Howdy,

I just downloaded and built 2.1, and a couple of things aren't right:
1) header columns aren't aligned with the data
2) power estimate shown in the kW range :)

I re-ran the new powertop later, and even when it's not way way off, I
still get weird data like this:
  21.3 W     86.7%                      Device         Display backlight
I don't think my display uses 21W :) (it's about 6W when it's burning as
high as it can).

See screenshot of 2.1 vs 1.98:

Is there other info I can provide?

Thanks,
Marc

----------------------------------------------------------------------------
PowerTOP 2.1      Overview   Idle stats   Frequency stats   Device stats   Tunables                                     
The battery reports a discharge rate of 14.0 W
The estimated remaining time is 5 hours, 16 minutes

Summary: 448.2 wakeups/second,  82.7 GPU ops/seconds, 0.0 VFS ops/sec and 10.6% CPU use

Power est.              Usage       Events/s    Category       Description
 10.0 kW     66.2 ms/s     257.2        Process        /usr/bin/enlightenment
 3.72 kW    566.5 µs/s      69.9        Process        nm-applet --sm-disable
  79.4 W      0.9 ms/s       9.7        Process        xfce4-terminal -T window9 --role=window9
  6.26 W    123.2 µs/s      0.00        Process        xfce4-terminal -T window12 --role=window12
  5.89 W     26.7%                      Device         Display backlight
  2.10 W    100.0%                      Device         Audio codec alsa:hwC0D0: thinkpad (Realtek)
  2.09 W     11.2 µs/s      0.15        Process        xscreensaver
  1.37 W     35.4 pkts/s                Device         Network interface: wlan0 (iwlwifi)
  180 mW      3.7 ms/s      54.9        Interrupt      [6] tasklet(softirq)
  105 mW      1.1 ms/s      32.1        Process        /usr/bin/python /usr/local/bin/offlineimap
 77.8 mW      1.3 ms/s      23.7        Interrupt      [47] i915(a)pci:0000:00:02.0
 63.4 mW      0.8 ms/s      19.3        Timer          hrtimer_wakeup
 47.0 mW      1.1 ms/s      14.3        Timer          tick_sched_timer
 35.5 mW      1.5 ms/s      10.8        Interrupt      [7] sched(softirq)

----------------------------------------------------------------------------

PowerTOP 1.98     Overview   Idle stats   Frequency stats   Device stats   Tunab

The battery reports a discharge rate of 14.1 W

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

Power est.      Usage       Events/s    Category       Description
  21.4 W     26.7%                      Device         Display backlight
    0 mW     88.5 ms/s     148.6        Process        /usr/bin/enlightenment
    0 mW     45.9 ms/s       0.5        Process        powertop-2.1
    0 mW     15.8 ms/s     147.2        Process        /usr/bin/X :0 vt7 -br -no
    0 mW      6.2 ms/s       1.4        Process        /usr/sbin/NetworkManager
    0 mW      4.7 ms/s       9.0        Interrupt      [46] iwlwifi
    0 mW      2.8 ms/s      0.15        Process        [kswapd0]
    0 mW      1.9 ms/s      85.0        Interrupt      [6] tasklet(softirq)
    0 mW      1.4 ms/s       5.9        Process        gvim /home/merlin/powerto
    0 mW      1.3 ms/s      39.3        Interrupt      [47] i915(a)pci:0000:00:02.
    0 mW      1.2 ms/s      49.7        Timer          tick_sched_timer
    0 mW      1.1 ms/s      30.5        Interrupt      [7] sched(softirq)

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/

             reply	other threads:[~2012-09-02 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-02 15:32 Marc MERLIN [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-03  5:43 [Powertop] [Bug] powertop 2.1 isn't measuring task power properly on my Thinkpad T530 Sergey Senozhatsky
2012-09-03  5:45 Sergey Senozhatsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120902153203.GG10826@merlins.org \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.