[PATCH v3 00/31] Report Redesign
by Alexandra Yates
This patches are to be applied post release 2.5.
This set of patches include the redesign changes for HTML and CSV reports and
cleans up unused reporting functions. Additionally, removes the suggestion
to use on demand CPU frequency governor. This feature was removed because
the Intel P-States driver is the Intel recommended method for CPU frequency.
Igor Zhbanov reported that the localization macro __(…) was left out from
previous version. These patches changed to add the localization macro to
all report components.
Alexandra Yates (31):
report-formater-html: add logo
report: call powertop logo
html-report: add title and div tags
report: report maker add title and div
report-csv: title, div, logo, header
report-html: summary list and navigation
report-maker: navigation & summary
report-csv: Added navigation & summary list
report-html: Table generation
report-maker: modular table generation
report-csv: modular table
report: Logo and system Information
report-html-css: html 5 and css for new design
report-summary: enable html and csv new styles
report: redesign html menu
report: CPU Idle section redesigned html & csv
report: Fixed html summary & menu colapse styles
report: CPU Frequency html & csv
report: redesign Software Information csv and html
report: redesign Device Power Report csv & html
report: Redesign Device Activity csv & html report
report: cleanup csv title and unused vars
report: report tuning with new desig html & csv
report-html: fixed not hidding sections errors
report: fixed empty SW settings in need of tunning
report: design batery discharge/system baseline
report: conditional runs ncurses & cpu html report
report: logo size & menu compatibility
tunables: removed on-demand cpu frequency governor
report-cleanup: removed old table, row, & cell.
report-cleanup: removed html & csv old methods
PowerTop.png | Bin 0 -> 6975 bytes
src/Makefile.am | 5 +-
src/cpu/cpu.cpp | 327 ++++++++++++++++++--------
src/devices/device.cpp | 81 ++++---
src/devlist.cpp | 44 ++--
src/main.cpp | 7 +-
src/powertop.css | 287 ++++++++++-------------
src/process/do_process.cpp | 233 +++++++++++--------
src/report/report-data-html.cpp | 118 ++++++++++
src/report/report-data-html.h | 69 ++++++
src/report/report-formatter-csv.cpp | 189 ++++++---------
src/report/report-formatter-csv.h | 42 ++--
src/report/report-formatter-html.cpp | 417 +++++++++-------------------------
src/report/report-formatter-html.h | 71 ++----
src/report/report-formatter.h | 32 +--
src/report/report-maker.cpp | 180 ++-------------
src/report/report-maker.h | 114 ++--------
src/report/report.cpp | 83 ++++---
src/tuning/cpufreq.cpp | 213 -----------------
src/tuning/cpufreq.h | 50 ----
src/tuning/tuning.cpp | 131 ++++++-----
21 files changed, 1142 insertions(+), 1551 deletions(-)
create mode 100644 PowerTop.png
create mode 100644 src/report/report-data-html.cpp
create mode 100644 src/report/report-data-html.h
delete mode 100644 src/tuning/cpufreq.cpp
delete mode 100644 src/tuning/cpufreq.h
--
1.7.9.5
8 years, 5 months
[PATCH 0/2] tuningsysfs patches
by Sergey Senozhatsky
Hello,
two small patches in -next.
tuningsysfs:
- fix tuningsysfs typo
- use process_directory() helper function
please pull from:
https://github.com/sergey-senozhatsky/powertop2-next.git
Sergey Senozhatsky (2):
tuningsysfs: fix msg typo
tuningsysfs: use lib process_directory() helper
src/tuning/tuningsysfs.cpp | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
--
1.8.5.rc3.362.gdf10213.dirty
8 years, 5 months
Fwd: [BUG] powertop does not correctly checks for audio codec power management
by Otávio Cipriani
Hi.
I noticed that powertop 2.4 does not correctly checks if the audio
codec power management is already enabled.
The module responsible for audio in my sistem is "snd_hda_intel", and
powertop requires that
"/sys/module/snd_hda_intel/parameters/power_save" is set to 1 to
consider that power save is enabled.
Since that parameter is the power save timeout in seconds (0 disables
power save), it should check if it is greater than 0.
In my setup, "power_save" is set to 10 seconds and
"power_save_controller" is set to "Y", but powertop still thinks that
power save is not enabled for my audio codec.
Thank you.
8 years, 5 months
PowerTop version 2.5 Installation issue
by Mukherjee, Adrip
Hi,
Can someone please suggest the full set of kernel config options need to set before running powertop. The readme file suggests that the list is incomplete.
Kernel Parameters:
------------------
PowerTOP needs some kernel config options enabled in order function properly.
As of linux-3.3.0 these are (list probably incomplete):
CONFIG_NO_HZ
CONFIG_HIGH_RES_TIMERS
CONFIG_HPET_TIMER
CONFIG_CPU_FREQ_GOV_ONDEMAND
CONFIG_USB_SUSPEND
CONFIG_SND_AC97_POWER_SAVE
CONFIG_TIMER_STATS
CONFIG_PERF_EVENTS
CONFIG_PERF_COUNTERS
CONFIG_TRACEPOINTS
CONFIG_TRACING
CONFIG_EVENT_POWER_TRACING_DEPRECATED
CONFIG_X86_MSR
ACPI_PROCFS_POWER
CONFIG_DEBUG_FS
The patches in the patches/ sub-directory are required for PowerTOP to function
fully.(where to look for the patch folder ?could not figure out the patch folder in release directory)
Regards
adrip
From: Mukherjee, Adrip
Sent: 20 November 2013 17:03
To: powertop(a)lists.01.org<mailto:powertop@lists.01.org>
Subject: PowerTop Installation issue
Hi ,
This is Adrip from Intel India PCCG group. Recently I was trying to install powertop in my HSW PVT2 system having Android JellyBean internal version . According to the installation steps listed here:
To build and install PowerTOP type the following commands,
./configure
./make
./make install
Its failing to configure with a message : "permission denied" even though I have rooted my terminal emulator. Can you please tell me what I need to follow to run the powertop tool on Android in a Haswell SDS system.
regards
Adrip
8 years, 5 months
typo in Powertop 'managmenet' -> management
by Gijs Hillenius
Hi all,
This could be an interesting way to get users to join the
mailinglist. Or it is just a typo:
Enable SATA link power Managmenet for host0
that should be Managment, I'd think?
Rgrds
Gijs
--
BOFH excuse #73:
Daemons did it
8 years, 5 months
Has anyone seen power bugs from kill -STOP process before and after S3 sleep?
by Marc MERLIN
I'm still trying to figure out why my laptop can idle at 12-13W or 20W
with no differences in processes, and why powertop (even latest, 1.25)
can provide very incorrect power values.
One thing I do that likely few people do:
killall -STOP chrome chromium firefox-bin xmms mplayer pidgin procmeter3 plugin-container
That seems to work with power of course, but I think it later causes
problem when I go to sleep (shut the lid) and come back later.
Have others seen issues with this?
It's happened for me for over a year, all the way to kernel 3.11
Could it also be generating the weird powertop behaviour I get and no
one else does?
Thanks,
Marc
--
"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/ | PGP 1024R/763BE901
8 years, 5 months
[Announce] PowerTOP v2.5 released
by Kristen Carlson Accardi
We are pleased to announce the release of PowerTOP v2.5.
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 blame
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.
Highlights
* support for the Intel Baytrail-M CPU counters
* new "auto-tune" option which sets all tunable options to the GOOD setting
* support for the 3.12 libtraceevent code base
Thank you to everyone who contributed to this release!
Daniel Kahn Gillmor (1):
Embed self-contained javascript
David Rosca (1):
Fixed cpu_core::has_c1_res initialization
Hans-Peter Deifel (2):
Use symbolic instead of numeric constants for keys
Document key bindings in man page
Jaroslav Skarvada (3):
tell user if the system is running out of FDs
set open files rlimit to /proc/sys/fs/nr_open
Fix for some 'requesting unregistered parameter'
Kristen Carlson Accardi (9):
cpu: clean intel cpu model out of cpu
cpu: clean intel cpu model out of cpu
intel_cpus: add support for Silvermont/Baytrail-M CPU
intel_cpus: restore support for hsw-ult
update pot file for transifex
change version to 2.5
updated pot file with new version string
updates to po files
Sanjay Singh Rawat (1):
resolve android build errors
Sergey Senozhatsky (25):
Suppress decimal constant compilation warning
Seg Fault due to function format_watts in file src/lib.cpp
Do not leak fd in perf_bundle read_file()
README: add CONFIG_DEBUG_FS to Kernel Parameters
Introduce --auto-tune mode
lib: unify process_directory()
alsa: use process_directory()
calibrate: use process_directory()
network: use updated process_directory()
rfkill: use process_directory()
usb: use process_directory()
tuning ethernet: use updated process_directory()
tuningusb: use process_directory()
perf_bundle: introduce fixup_sample_trace_cpu()
traceevent: update libtraceevent code base (3.12)
lib: introduce ui_notify_user()
tuning: print executed toggle script
power_meter: introduce discharging member measurement: report total global_time_left()
power_supply: delete unused power_supply class
parameters: report correct "base power" parameter
backlight: use process_directory() helper
backlight: decrease backlight() .ctor mem usage
intel cpus: add proper C-states init
html report: fix IE compatibility errors
Youquan Song (1):
Fix running failure when > 69 CPUs for open file limitation
Project Details
URL: https://01.org/powertop
Download: https://01.org/powertop/downloads/2013/PowerTOP-v2.5
Mailing list:
Discussions about PowerTOP occur on the PowerTOP at lists.01.org mailing list.
Subscribe to the list at https://lists.01.org/mailman/listinfo/powertop
Archives are found at http://lists.01.org/pipermail/powertop
The development PowerTOP git repositories are hosted at GitHub.
URL: https://github.com/fenrus75/powertop
HTTP: https://github.com/fenrus75/powertop.git
GIT-readonly: git://github.com/fenrus75/powertop.git
Note: We will not use any of GitHub's integrate, merge, or tracking
functions, so please continue to use the provided lists.
For localization support and contributions, we are using Transifex.
Transifex URL: https://www.transifex.com/projects/p/PowerTOP/
8 years, 5 months
Re: [Powertop] PowerTop Installation issue
by Mukherjee, Adrip
Thanks! a lot Christophe. Really appreciate your pointers.
Regards
adrip
From: Prigent, Christophe
Sent: 21 November 2013 14:57
To: Mukherjee, Adrip
Subject: RE: PowerTop Installation issue
Hi Adrip,
I don't see the binary anywhere, so yes you have to build it using the NDK from Linux.
The readme document (in sources) contains a list of parameters to be added in the config file (section "Kernel Parameters").
As I'm not working on Android, I hope somebody else will answer to you.
Christophe.
From: Mukherjee, Adrip
Sent: Thursday, November 21, 2013 5:19 AM
To: Prigent, Christophe
Subject: RE: PowerTop Installation issue
Hi Christophe,
So is there a way to get the PowerTop binary itself without building the sources. Or first I need to build the binary using the NDK in a Linux build machine and then use it on my Android system?
Also is there any kernel configuration needed to support powertop?
Regards
adrip
From: Mukherjee, Adrip
Sent: 21 November 2013 09:43
To: Prigent, Christophe
Subject: RE: PowerTop Installation issue
Thanks a lot Christophe. I will try out the same.
From: Prigent, Christophe
Sent: 20 November 2013 20:15
To: Prigent, Christophe; Mukherjee, Adrip; powertop(a)lists.01.org<mailto:powertop@lists.01.org>
Subject: RE: PowerTop Installation issue
Sorry, apk can't be generated :(. It is only possible with java sources. So ignore the last step.
And another possibility is to use the Android build system: the idea is to add PowerTop sources inside Android sources and build everything at the same time.
Hope this help,
Christophe.
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Prigent, Christophe
Sent: Wednesday, November 20, 2013 3:15 PM
To: Mukherjee, Adrip; powertop(a)lists.01.org<mailto:powertop@lists.01.org>
Subject: Re: [Powertop] PowerTop Installation issue
Hi Adrip,
I never tried on Android but I think you need to install the NDK, and use the NDK to build PowerTop.
It is well documented here: http://developer.android.com/tools/sdk/ndk/index.html
Here are simplified steps to give you an idea:
Place sources + "Android.mk" in your .../project/jni folder
Build the native code by running $NDK/ndk-build "APP_ABI := x86" script from your project directory (APP_ABI := x86 is used for Intel Architecture).
Then you can build the Android apk, for example, using Eclipse.
Christophe.
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Mukherjee, Adrip
Sent: Wednesday, November 20, 2013 12:33 PM
To: powertop(a)lists.01.org<mailto:powertop@lists.01.org>
Subject: [Powertop] PowerTop Installation issue
Hi ,
This is Adrip from Intel India PCCG group. Recently I was trying to install powertop in my HSW PVT2 system having Android JellyBean internal version . According to the installation steps listed here:
To build and install PowerTOP type the following commands,
./configure
./make
./make install
Its failing to configure with a message : "permission denied" even though I have rooted my terminal emulator. Can you please tell me what I need to follow to run the powertop tool on Android in a Haswell SDS system.
regards
Adrip
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
8 years, 5 months
PowerTop Installation issue
by Mukherjee, Adrip
Hi ,
This is Adrip from Intel India PCCG group. Recently I was trying to install powertop in my HSW PVT2 system having Android JellyBean internal version . According to the installation steps listed here:
To build and install PowerTOP type the following commands,
./configure
./make
./make install
Its failing to configure with a message : "permission denied" even though I have rooted my terminal emulator. Can you please tell me what I need to follow to run the powertop tool on Android in a Haswell SDS system.
regards
Adrip
8 years, 5 months