HIgh power concumption on network interface
by kingma@bluewin.ch
I observe a sustained high power consumption of 5- 10 W on the ehternet adaptor e1000e on a lenovo thinkgpad t430s. Such I high power drain cannot be correct can it? the total power consumption is around 25 W which is a concern for battery life.
2 years, 7 months
PowerTOP V2.11 Release
by Kammela, Gayatri
We are pleased to announce the release of PowerTOP v2.11.
About PowerTOP:
PowerTOP is a Linux tool to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode you can use to experiment with various power management settings, for cases where the Linux distribution has not enabled those settings.
PowerTOP reports which components in the system are most likely to able for higher-than-needed power consumption, ranging from software applications to active components in the system. Detailed screens are available for CPU C and P states, device activity, and software activity. For many years, PowerTOP has been used heavily by Intel, Linux distributors, and various parts of the open source community.
About PowerTOP v2.11 release:
This release has an important feature to support runtime pm enabling for AHCI. A few bug fixes focusing to support PowerTop to run in newer platforms. We have also enabled support for Intel's Ice Lake server and Ice Lake client with new Sunny Cove microarchitecture, Tiger Lake mobile and Tiger Lake desktop, and atom based Tremont (Elkhart Lake). There has also been some bug fixes thanks to the contributors from the open source community.
Thank you to everyone who contributed to this release!
Anthony Wong (1):
Add bash command-line completion.
Fabrice Fontaine(1):
wakeup.h: include limits.h
Gayatri Kammela (5):
src/devices/ahci.cpp: fix: Remove the humanname from ahci_data array
src/tuning/tuning.cpp: fix: Update the size of tuned_data array
runtime_tunables: Add runtime pm enabling support for ahci
src/cpu/cpu.cpp: Bug fix: Increase the char buffer size in enumerate_cpus()
src/parameters: fix: set the global parameter "global_power_override" to 1 to get power estimate
Jaroslav Skarvada (1):
Fix vertical scrolling in powertop-2.10
Nivedita Swaminathan (8):
Add compatibility for non GNU strerror_r.
Add bash command-line completion.
Revert "Add bash command-line completion."
Enable support for ICL/ICX platform
Enable support for TGL platform.
Enable support for EHL platform.
po: regenerate with new POT and strings
powertop.pot: Fix Project-Id-Version
Rosen Penev (2):
src/main: Add missing pthread header
intel_cpus.cpp: Change open parameter to const char *
Zane Zakraisek(1):
Make the wakeup toggle text clearer
Thanks ,
Gayatri Kammela
2 years, 7 months
[PATCH] Make the wakeup toggle text clearer.
by Zane Zakraisek
The text is currenly "Enable" or "Disable", which makes it seem like
toggling is needed to get it in that state.
Instead the text should be "Enabled" or "Disabled" which reflects the
current state.
Signed-off-by: Zane Zakraisek <zakraise(a)eng.utah.edu>
---
src/wakeup/wakeup.cpp | 4 ++--
src/wakeup/wakeup_ethernet.cpp | 2 +-
src/wakeup/wakeup_usb.cpp | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/wakeup/wakeup.cpp b/src/wakeup/wakeup.cpp
index 7ed074b..9d83a9a 100644
--- a/src/wakeup/wakeup.cpp
+++ b/src/wakeup/wakeup.cpp
@@ -45,8 +45,8 @@ wakeup::wakeup(void)
{
score = 0;
desc[0] = 0;
- pt_strcpy(wakeup_enable, _("Enable"));
- pt_strcpy(wakeup_disable, _("Disable"));
+ pt_strcpy(wakeup_enable, _("Enabled"));
+ pt_strcpy(wakeup_disable, _("Disabled"));
pt_strcpy(wakeup_idle, _("Unknown"));
}
diff --git a/src/wakeup/wakeup_ethernet.cpp b/src/wakeup/wakeup_ethernet.cpp
index 4df7be3..6ce1725 100644
--- a/src/wakeup/wakeup_ethernet.cpp
+++ b/src/wakeup/wakeup_ethernet.cpp
@@ -44,7 +44,7 @@
#include "../lib.h"
#include "wakeup_ethernet.h"
-ethernet_wakeup::ethernet_wakeup(const char *path, const char *iface) : wakeup("", 0.5, _("Enable"), _("Disable"))
+ethernet_wakeup::ethernet_wakeup(const char *path, const char *iface) : wakeup("", 0.5, _("Enabled"), _("Disabled"))
{
memset(interf, 0, sizeof(interf));
pt_strcpy(interf, iface);
diff --git a/src/wakeup/wakeup_usb.cpp b/src/wakeup/wakeup_usb.cpp
index 30dc3e6..e0e4567 100644
--- a/src/wakeup/wakeup_usb.cpp
+++ b/src/wakeup/wakeup_usb.cpp
@@ -44,7 +44,7 @@
#include "../lib.h"
#include "wakeup_usb.h"
-usb_wakeup::usb_wakeup(const char *path, const char *iface) : wakeup("", 0.5, _("Enable"), _("Disable"))
+usb_wakeup::usb_wakeup(const char *path, const char *iface) : wakeup("", 0.5, _("Enabled"), _("Disabled"))
{
memset(interf, 0, sizeof(interf));
pt_strcpy(interf, iface);
--
2.23.0
2 years, 8 months
powertop and upower disagree by order magnitude
by Chris Murphy
Summary: powertop says I've got 43 hours battery left, upower says I've got 5.
model name : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
kernel-5.3.0-0.rc6.git1.1.fc32.x86_64
powertop-2.10-2.fc30.x86_64
thermald-1.8-2.fc30.x86_64
$ sudo upower -d
Device: /org/freedesktop/UPower/devices/line_power_ACAD
native-path: ACAD
power supply: yes
updated: Sun 01 Sep 2019 09:42:27 AM MDT (511 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT1
native-path: BAT1
vendor: Hewlett-Packard
model: PABAS0241231
serial: 41167
power supply: yes
updated: Sun 01 Sep 2019 09:50:27 AM MDT (31 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 10.8801 Wh
energy-empty: 0 Wh
energy-full: 26.642 Wh
energy-full-design: 38.115 Wh
energy-rate: 2.112 W
voltage: 7.26 V
time to empty: 5.2 hours
percentage: 40%
capacity: 67.3939%
technology: lithium-ion
icon-name: 'battery-good-symbolic'
History (rate):
1567353027 2.112 discharging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Sun 01 Sep 2019 09:50:27 AM MDT (31 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 10.8801 Wh
energy-full: 26.642 Wh
energy-rate: 2.112 W
time to empty: 5.2 hours
percentage: 40%
icon-name: 'battery-good-symbolic'
Daemon:
daemon-version: 0.99.10
on-battery: yes
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
$
PowerTOP v2.10 Overview Idle stats Frequency stats Device
stats Tunables WakeUp
The battery reports a discharge rate of 229 mW
The power consumed was 4.76 J
The estimated remaining time is 43 hours, 7 minutes
MUA is going to mess up the powertop paste, so this URL will have a
tidy version for a while
https://pastebin.com/raw/t1yxG0Av
PowerTOP v2.10 Overview Idle stats Frequency stats Device
stats Tunables WakeUp
The battery reports a discharge rate of 229 mW
The power consumed was 4.76 J
The estimated remaining time is 43 hours, 7 minutes
Summary: 977.0 wakeups/second, 0.0 GPU ops/seconds, 0.0 VFS ops/sec
and 29.2% CPU use
Usage Events/s Category Description
63.7 ms/s 6.9 kWork intel_atomic_commit_work
57.5 ms/s 52.8 Process [PID 22591]
/usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser
-prefsLen 7781 -prefMapSiz
37.4 ms/s 59.9 Process [PID 22336]
/usr/lib64/firefox/firefox --name firefox-wayland
23.7 ms/s 26.5 Process [PID 20600]
/usr/bin/gnome-shell
14.1 ms/s 393.5 Timer tick_sched_timer
9.9 ms/s 4.3 Process [PID 23518]
/usr/lib64/firefox/firefox -contentproc -childID 11 -isForBrowser
-prefsLen 10181 -prefMapS
8.9 ms/s 53.2 Interrupt PS/2 Touchpad /
Keyboard / Mouse
7.0 ms/s 35.7 Process [PID 22594]
/usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser
-prefsLen 7781 -prefMapSiz
6.3 ms/s 41.8 Process [PID 22376]
/usr/lib64/firefox/firefox --name firefox-wayland
5.8 ms/s 2.2 Process [PID 23528]
/usr/lib64/firefox/firefox -contentproc -childID 12 -isForBrowser
-prefsLen 10181 -prefMapS
5.1 ms/s 33.1 Interrupt [7] sched(softirq)
5.0 ms/s 1.9 Process [PID 23611]
/usr/lib64/firefox/firefox -contentproc -childID 15 -isForBrowser
-prefsLen 10181 -prefMapS
4.9 ms/s 2.7 Process [PID 22439]
/usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser
-prefsLen 1 -prefMapSize 1
3.8 ms/s 27.8 Process [PID 22427]
/usr/lib64/firefox/firefox --name firefox-wayland
3.4 ms/s 0.00 Interrupt [1] timer(softirq)
2.9 ms/s 18.5 Timer hrtimer_wakeup
2.7 ms/s 75.6 Process [PID 22423]
/usr/lib64/firefox/firefox --name firefox-wayland
2.6 ms/s 0.20 kWork delayed_fput
2.3 ms/s 0.00 Interrupt [9] RCU(softirq)
2.2 ms/s 2.8 kWork gc_worker
2.1 ms/s 3.1 Process [PID 23547]
/usr/lib64/firefox/firefox -contentproc -childID 13 -isForBrowser
-prefsLen 10181 -prefMapS
2.0 ms/s 4.3 Process [PID 22483]
/usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser
-prefsLen 6086 -prefMapSiz
1.7 ms/s 0.20 kWork __i915_gem_free_work
1.5 ms/s 0.20 kWork btrfs_endio_write_helper
1.3 ms/s 3.6 Process [PID 23384] [kworker/0:4]
<ESC> Exit | <TAB> / <Shift + TAB> Navigate |
A discharge rate of 229 mW is not likely.
The other problem though is that upower is all over the map, it varies
between 1 hour and 5 hours remaining. So I wonder if they're both
getting spurious data from the battery or from the kernel (not sure
how it works) and are just handling bad data differently?
Thanks,
--
Chris Murphy
2 years, 8 months