Per-instruction energy debugging using instruction sampling hardware
Abstract
A processor utilizes instruction based sampling to generate sampling data sampled on a per instruction basis during execution of an instruction. The sampling data indicates what processor hardware was used due to the execution of the instruction. Software receives the sampling data and generates an estimate of energy used by the instruction based on the sampling data. The sampling data may include microarchitectural events and the energy estimate utilizes a base energy amount corresponding to the instruction executed along with energy amounts corresponding to the microarchitectural events in the sampling data. The sampling data may include switching events associated with hardware blocks that switched due to execution of the instruction and the energy estimate for the instruction is based on the switching events and capacitance estimates associated with the hardware blocks.
- Inventors:
- Issue Date:
- Research Org.:
- Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States); Advanced Micro Devices, Inc., Santa Clara, CA (United States)
- Sponsoring Org.:
- USDOE
- OSTI Identifier:
- 1987051
- Patent Number(s):
- 11556162
- Application Number:
- 15/923,153
- Assignee:
- Advanced Micro Devices, Inc. (Santa Clara, CA)
- DOE Contract Number:
- AC52-07NA27344; B620717
- Resource Type:
- Patent
- Resource Relation:
- Patent File Date: 03/16/2018
- Country of Publication:
- United States
- Language:
- English
Citation Formats
Wei, Shijia, Greathouse, Joseph L., and Kalamatianos, John. Per-instruction energy debugging using instruction sampling hardware. United States: N. p., 2023.
Web.
Wei, Shijia, Greathouse, Joseph L., & Kalamatianos, John. Per-instruction energy debugging using instruction sampling hardware. United States.
Wei, Shijia, Greathouse, Joseph L., and Kalamatianos, John. Tue .
"Per-instruction energy debugging using instruction sampling hardware". United States. https://www.osti.gov/servlets/purl/1987051.
@article{osti_1987051,
title = {Per-instruction energy debugging using instruction sampling hardware},
author = {Wei, Shijia and Greathouse, Joseph L. and Kalamatianos, John},
abstractNote = {A processor utilizes instruction based sampling to generate sampling data sampled on a per instruction basis during execution of an instruction. The sampling data indicates what processor hardware was used due to the execution of the instruction. Software receives the sampling data and generates an estimate of energy used by the instruction based on the sampling data. The sampling data may include microarchitectural events and the energy estimate utilizes a base energy amount corresponding to the instruction executed along with energy amounts corresponding to the microarchitectural events in the sampling data. The sampling data may include switching events associated with hardware blocks that switched due to execution of the instruction and the energy estimate for the instruction is based on the switching events and capacitance estimates associated with the hardware blocks.},
doi = {},
journal = {},
number = ,
volume = ,
place = {United States},
year = {2023},
month = {1}
}
Works referenced in this record:
Multi-core microprocessor that dynamically designates one of its processing cores as the bootstrap processor
patent, January 2017
- Henry, G. Glenn; Gaskins, Stephan
- US Patent Document 9,535,488
PPEP: Online Performance, Power, and Energy Prediction Framework and DVFS Space Exploration
conference, December 2014
- Su, Bo; Gu, Junli; Shen, Li
- 2014 47th Annual IEEE/ACM International Symposium on Microarchitecture
Systems, Devices, and Methods for Arc Fault Detection
patent-application, September 2007
- Restrepo, Carlos; Zhang, Bin
- US Patent Application 11/355676; 20070208981
Computation Along a Datapath Between Memory Blocks
patent-application, May 2017
- Yudanov, Dmitri; Blagodurov, Sergey; Roberts, David A.
- US Patent Application 14/952517; 20170147228
System and Method for Remotely Analyzing Machine Performance
patent-application, July 2010
- Furem, Ken; Robertson, Daniel W.; Madhavarao, Gopal
- US Patent Application 12/698471; 20100185416
Automatic Optimal Integrated Circuit Generator from Algorithms and Specification
patent-application, December 2013
- Pandurangan, Anand; Padmanabhan, Satish; Selvaraj, Siva
- US Patent Application 13/672822; 20130346926
Dynamic Sampling
patent-application, December 2014
- Goel, Manan; Cummings, Kate
- US Patent Application 14/291992; 20140358472
Complete System Power Estimation: A Trickle-Down Approach Based on Performance Events
conference, April 2007
- Bircher, W. Lloyd; John, Lizy K.
- 2007 IEEE International Symposium on Performance Analysis of Systems & Software
Calculating source line level energy information for Android applications
conference, July 2013
- Li, Ding; Hao, Shuai; Halfond, William G. J.
- Proceedings of the 2013 International Symposium on Software Testing and Analysis
Selecting regions of hot code in a dynamic binary rewriter
patent, January 2013
- Tye, Steven Tony; Bedy, Michael John; Ford, Richard L.
- US Patent Document 8,356,165
Reconfigurable Prediction Engine for General Processor Counting
patent-application, September 2019
- Che, Shuai; Yin, Jieming
- US Patent Application 15/922875; 20190286971
Predictable Design of Low Power Systems by Pre-Implementation Estimation and Optimization
patent-application, September 2005
- Nebel, Wolfgang; Stammermann, Ansgar; Helms, Domenik
- US Patent Application 11/044646; 20050204316
enDebug: A hardware–software framework for automated energy debugging
journal, October 2016
- Chen, Jie; Venkataramani, Guru
- Journal of Parallel and Distributed Computing, Vol. 96
PowerInsight - A commodity power measurement capability
conference, June 2013
- Laros, James H.; Pokorny, Phil; DeBonis, David
- 2013 International Green Computing Conference (IGCC), 2013 International Green Computing Conference Proceedings
Ultra-Low Power Comparator with Sampling Control Loop Adjusting Frequency and/or Sample Aperture Window
patent-application, March 2017
- Fu, Wei; Kunz, Keith Edmund; Byrd, Russell George
- US Patent Application 14/852155; 20170077912
Processor energy monitoring and dynamic adjustment
patent, January 2017
- Marr, Michael David; Klein, Matthew D.
- US Patent Document 9,547,353
A systematic method for functional unit power estimation in microprocessors
conference, January 2006
- Wu, Wei; Jin, Lingling; Yang, Jun
- Proceedings of the 43rd annual conference on Design automation - DAC '06
Systems and Methods for Summarization and Visualization of Trace Data
patent-application, April 2018
- O'Dowd, Daniel D.; Field, Nathan D.; Mullinix, Evan D.
- US Patent Application 15/729453; 20180101466
Sampling Chip Activity for Real Time Power Estimation
patent-application, October 2009
- Naffziger, Samuel D.
- US Patent Application 12/101598; 20090259869
Proximity Triggered Sampling
patent-application, January 2019
- Bulut, Murtaza; Van Halteren, Aart Tijmen
- US Patent Application 16/022748; 20190007354
Method and apparatus for monitoring and sharing performance resources of a processor
patent, November 2014
- Yu, Lei
- US Patent Document 8,887,168
Two dimensional masked shift instruction
patent, February 2021
- Meixner, Albert
- US Patent Document 10,915,319
Enhanced register array accessible by both a system microprocessor and a wavetable audio synthesizer
patent, May 2000
- Norris, David; Hewitt, Larry D.; Blumenthal, Jeffrey M.
- US Patent Document 6,058,066
Statically Speculative Compilation and Execution
patent-application, June 2013
- Moritz, Csaba Andras
- US Patent Application 13/669687; 20130145132
Methods and Circuits for Debugging Circuit Designs
patent-application, April 2017
- Schelle, Graham F.; Yang, Yi-Hua E.; James-Roxby, Philip B.
- US Patent Application 14/924090; 20170115348
Method and Apparatus for Customized Energy Policy Based on Energy Demand Estimation for Client Systems
patent-application, December 2016
- Gatson, Michael S.; Kozlowski, Joseph; Vichare, Nikhil M.
- US Patent Application 14/741125; 20160370843
Task Execution Determinism Improvement for an Event-Driven Processor
patent-application, February 2015
- Fuks, Adam; Scaglia, Sergio
- US Patent Applicant 13/968374; 20150052340
Run-time power estimation in high performance microprocessors
conference, January 2001
- Joseph, Russ; Martonosi, Margaret
- Proceedings of the 2001 international symposium on Low power electronics and design - ISLPED '01
An Energy Efficiency Feature Survey of the Intel Haswell Processor
conference, May 2015
- Hackenberg, Daniel; Schone, Robert; Ilsche, Thomas
- 2015 IEEE International Parallel and Distributed Processing Symposium Workshop
Method and Apparatus for Power Estimation
patent-application, June 2015
- Obara, Toshiki; Kotegawa, Hirohisa; Hasumi, Naonobu
- US Patent Application 14/557665; 20150160274
Systems, Devices and/or Methods for Managing Program Logic Units
patent-application, March 2009
- Phillips, Scott R.; Karklins, Gregory J.
- US Patent Applications 12/205163; 20090083705
Watts-inside: A hardware-software cooperative approach for Multicore Power Debugging
conference, October 2013
- Chen, Jie; Yao, Fan; Venkataramani, Guru
- 2013 IEEE 31st International Conference on Computer Design (ICCD)
Systems and Methods for Summarization and Visualization of Trace Data
patent-application, May 2018
- O'Dowd, Daniel D.; Field, Nathan D.; Mullinax, Evan D.
- US Patent Application 15/729473; 20180129589
Measuring energy consumption for short code paths using RAPL
journal, January 2012
- Hähnel, Marcus; Döbel, Björn; Völp, Marcus
- ACM SIGMETRICS Performance Evaluation Review, Vol. 40, Issue 3
Heterogoeneity within a Processor Core
patent-application, April 2015
- Lukefahr, Andrew; Das, Reetuparna; Padmanabha, Shruti
- US Patent Application 14/093090; 20150121048
Statically Speculative Compilation and Execution
patent-application, March 2016
- Moritz, Csaba Andras
- US Patent Application 14/964443; 20160085526
Two Dimensional Masked Shift Instruction
patent-application, November 2018
- Meixner, Albert
- US Patent Application 15/595600; 20180329479