Intel® Power Gadget

Download<?xml:namespace prefix = o />

Intel® Power Gadget 3.0 (Windows 32-bit)

Intel® Power Gadget 3.0 (Windows 64-bit)

Intel® Power Gadget 3.0 for Mac

Intel® Power Gadget 2.5 for Linux

Development Team

·         Windows: Seung-Woo Kim, Karthik Krishnan, Vardhan Dugar, Joseph Jin-Sung, Jun De Vega

·         Mac: Patrick Konsor

·         Linux: Martin Dimitrov, Carl Strickland

Introduction

Intel® Power Gadget is a software-based power usage monitoring tool enabled for 2nd Generation Intel® Core™ processors or later. It is supported on Windows* and Mac OS X* and includes an application, driver, and libraries to monitor and estimate real-time processor package power information in watts using the energy counters in the processor. With this release, we are providing functionality to evaluate power information on various platforms including notebooks, desktops and servers.


Background

Traditional methods to estimate power/energy usage of the processor has always been a cumbersome task that included special purpose tools or instrumentation on the platform along with third party equipment. The motivation for the tool was to assist end-users, ISV’s, OEM’s, developers, and others interested in a more precise estimation of power from a software level without any H/W instrumentation.           


New Features

In version 3.0 there are additional features that include estimation of power on multi-socket systems as well as externally callable APIs to extract power information within sections of code. The multi-socket support essentially evaluates the Energy MSR on a per-socket basis and provides an estimate of power draw per socket.  The API layer is a set of libraries and dlls that can be called and offers the flexibility to build the tool within code sections of an application.  Latest release also includes support for Windows 8* (desktop mode)..


Brief Description (Windows version)

Intel® Power Gadget 3.0 consists of the following components. Set of driver and libraries which access and post process the processor energy counter to calculate the power usage in Watts, temperate in Celsius and frequency in GHz (default install directory will be ~\Program Files\Intel\Power Gadget 3.0 for 64-bit OS). A command line version of the tool (PowerLog3.0.exe) is also included.

<?xml:namespace prefix = v />

System Requirements (Windows version)

·         Windows 7* 32-bit and  64-bit

·         Windows 8* desktop mode 32-bit and 64-bit

·         Windows Server 2008, Windows Server 2012 (64-bit server platforms)

·         Microsoft* .Net Framework 4

·         Microsoft Visual C++ 2010 SP1 Redistributable package (x86 or x64 depends on OS)

·         2nd Generation Intel® Core™ Processor or later, older processors not supported

o    Single socket

o    Multi-socket

System Requirements (Mac OS X version)

·         Mac OS X 10.6 or later

·         2nd Generation Intel® Core™ processor or later,

Installation / Setup (Windows version)

Download the appropriate 32 or 64-bit package and copy to your test system

1.      Run setup.exe as an administrator. Accept the UAC, if one appears

2.     .Follow the installer prompt instructions to complete installation

a.     Microsoft* .Net Framework 4 (will automatically be downloaded from Microsoft* site if not yet installed in your system) needs Internet connection

b.    Microsoft Visual C++ 2010 SP1 Redistributable Package (will automatically get installed if not yet installed)

 Usages (Windows version)

Common use of Intel® Power Gadget is to monitor energy usage of the processor

·         Provides processor power (Watts), temperature (Celsius) and frequency (MHz) in real-time via graph displayed in the GUI

·         Let you log the power and frequency measurements and save it in a csv format.

Steps

  • Double click on the desktop shortcut and the GUI will launch
  • Drag to move the GUI.
  • Right click the GUI and a pop-up menu will show up allowing you to choose options or close the application. Options have the following parameters. Click “Start Log” button in the GUI to start logging. Press the same button “Stop Log” to stop logging. While it’s logging, red label “REC” will blink in the power chart area.
    • You can choose to add time-stamp to the log file name or not.
    • You can choose the log file name.
    • You can choose to resize the GUI from 100% to 300% by dragging the slider and testing the new size with the “Apply Size” button and accept the changes by pressing “Ok”.
    • Screen Update Resolution lets you change how often the GUI is updated at runtime. This may range from 50 ms to 1000 ms. (Default set to 1000 ms)
    • Log Sampling Resolution lets you change the logging sampling resolution ranging from 1 ms to 1000 ms. (Default set to 100 ms)
    • In a multi-socket system, you can choose which package information to display in the GUI. The log will record all package information in a csv file.
  • Click "Start Log" button in the GUI to start logging. Press the same button "Stop Log" to stop logging. While it's logging, red label "REC" will blink in the power chart area
  • Using Intel® Power Gadget 3.0 in a script;
    • In order to start and stop the logging in a script, first launch the GUI as usual.
    • At the beginning of the script, call “IntelPowerGadget.exe -start” and it will trigger the logging in the GUI.
    • At the end of the script, call “IntelPowerGadget.exe -stop” and it will stop the logging.
    • The parameters for the log are based on the options set in the GUI.
  • PowerLog3.0.exe is the command line version of Intel® Power Gadget in logging power usage
    • Usage:
    • Log power data to logfile for a period of time:
      • PowerLog3.0.exe [-resolution <msec>] –duration <sec> [-verbose] [-file <logfile>]
    • Start a command a log power data to logfile until the command finish
      • PowerLog3.0.exe [-resolution <msec>] [-file <logfile>]  [-verbose] –cmd  <command>
  • Logfile data
    • Logfile will include the elapsed timed, package power limit, processor frequency, GT frequency, processor temperature,  average and cumulative power of the processor
    • Processor Energy (Total energy of the processor) = IA Energy + GT Energy (if applicable) + Others (not measured)
    • IA Energy (Energy of the CPU/processor cores)
    • GT Energy (Energy of the processor graphics) – If applicable , some processors for desktops and servers don’t have it or may have use discrete graphics

 

API

Intel® Power Gadget also provides a C/C++ Application Programming Interface (API) for accessing this power and frequency data in your program; the API is supported on Windows and Mac OS X. For more information on the API's, see:

For Mac Using the Intel® Power Gadget API on Mac OS X

For Windows Using the Intel® Power Gadget API on Windows

.
Known Limitations/Issues

·         Only works on 2nd Generation Intel® Core™ processor family or newer. Atom processors not yet supported.

·         Use only 32-bit installer for 32-bit OS and 64-bit installer for 64-bit OS

·         Application may hang after running for a long period of time (just close and restart application)

 

Archive (older versions)

Intel® Power Gadget 2.7 (Windows 32-bit)

Intel® Power Gadget 2.7 (Windows 64-bit)

Intel® Power Gadget for Mac

End User License Agreement included in download

Notices

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

 

UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.

 

Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.

 

The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

 

This document contains information on products in the design phase of development.

All products, platforms, dates, and figures specified are preliminary based on current expectations, and are subject to change without notice. All dates specified are target dates, are provided for planning purposes only and are subject to change.

 

This document contains information on products in the design phase of development. Do not finalize a design with this information. Revised information will be published when the product is available. Verify with your local sales office that you have the latest datasheet before finalizing a design.

 

Code names featured are used internally within Intel to identify products that are in development and not yet publicly announced for release. Customers, licensees and other third parties are not authorized by Intel to use code names in advertising, promotion or marketing of any product or services and any such use of Intel's internal code names is at the sole risk of the user.

 

Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries.

*Other names and brands may be claimed as the property of others.

Copyright © 2013, Intel Corporation. All rights reserved.

For more complete information about compiler optimizations, see our Optimization Notice.

Comments

's picture

Great tool. Thanks!

's picture

It would be greatly appreciated if a Linux version was released.

's picture

Is there a version that works with the xeon processors?

Roman Dementiev (Intel)'s picture

Regarding the question on power/energy visualization tools on Linux: you can use the KSysGuard visual plugin for plotting power and current frequency available in the Intel Performance Counter Monitor

Roman Dementiev (Intel)'s picture

Intel Performance Counter Monitor also works on Xeon processors

's picture

Dear gadget developers,
Great gadget and very useful !

May I just suggest an option to turn off the kernel driver printing in release build of this gadget as it is bloating windbg / dbgview print bus, a full-lined print for every 50ms query...
Many developers uses windbg & dbgview as they need prints from various system parts, so keeping windbg alive while this tool is on runs the machine somewhat unresponsive

Thanks,
And again - great work you guys!

Jun De Vega (Intel)'s picture

Some updates and response to the questions:
- Linux version will be release in few weeks
- Intel(R) Power Gadget supports Xeon processors as long as they are based on the 2nd Generation Intel Core processor or newer (for version 2.0 you can use the cmd utility in the app folder since Winwods server OS does not support Windows Sidebar/Gadget)
- Intel(R) Power Gadget 2.5 will be available in few weeks

Jun De Vega (Intel)'s picture

Upcoming Intel(R) Power Gadget 2.5 for Windows will have the following features:
- Support for Win8 (tool will now be a regular Win32 app, not using WIndows sidebar anymore)
- Automatically detect processor TDP and scale the UI chart
- Logged data are streamlined and easy to graph (can easily get energy consumed of a particular section of the workload)
- Capability to integrate the tool's power logging easily with scripts using the start/stop command
- New driver/libraries (simplified driver, no more kernel driver printing)
- Others

Jun De Vega (Intel)'s picture

updated article for version 2.5

Konstantin Zamkov (Intel)'s picture

Works well with Haswell-based Macbook Air.

Pages