System and method for using hardware performance monitors to evaluate and modify the behavior of an application during execution of the application
Abstract
There is provided a method, system and program storage device for utilizing a hardware performance monitors for improving performance of an application comprising a plurality of instructions while the application is executing on a micro-architecture, comprising: creating a machine internal representation (MIR) for the plurality of instructions or a subset thereof for the hardware and generating an executable (EXE) from the MIR for execution on the hardware; determining hardware performance monitor (HPM) information for an event associated with a resource of the hardware during execution of the EXE to identify one or more instructions of the application that affect the execution of the application on the hardware; re-computing the MIR according to the HPM information; and re-generating the EXE from the re-computed MIR for execution on the hardware if the MIR and the re-computed MIR are different, thereby improving utilization of the resource by the application. Also provided is a hardware performance monitor (HPM) subsystem for improving performance of an application comprising a plurality of instructions while the application is executing on a hardware.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 21.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for utilizing a hardware performance monitor for improving performance of an application comprising a plurality of instructions while the application is executing on a hardware, the method comprising the steps of: (a) creating a machine internal representation (MIR) for the plurality of instructions or a subset thereof for the hardware and generating an executable (EXE) from the MIR for execution on the hardware; (b) directly communicating with said hardware performance monitor a request for monitoring a specified event during the execution of said executable (EXE) and generating hard
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- "PowerPC 604e: RISC Microprocessor User's Manual", Chapter 9, Mar. 1998, pp. 9-1-9-16.
- A. Matthew, et al., "Adaptive Optimization in the Jalapeño JVM", Proceedings of OOPSLA '00. Oct. 2000 (Minneapolis, MN), pp. 47-64.
- Ammons, et al., "Exploiting Hardware Performance Counters with Flow and Context Sensitive Profiling", 1997 ACM SIGPLAN Conference on Programming Language Design and Implementation, Las Vegas, Nevada, Jun. 15-18, 1997, pp. 1-12.
- J. Anderson, et al., "Continuous Profilling: Where Have All the Cycles Gone?", ACM Transactions on Computer Systems, vol. 15, No. 4, Nov. 1997, pp. 357-390.
- J. Dean, et al., "Pr fileMe: Hardware Supp rt for Instruction-Level Profiling on Out-of-Order Processors", 30th Symposium on Micr architecture (Micro-30), Dec. 1997.