Bounded hash table sorting in a dynamic program profiling system
Abstract
A system and method for efficient bounded hash table sorting during dynamic whole program profiling of software applications. A computing system comprises a dynamic binary instrumentation (DBI) tool coupled to a virtual machine configured to translate and execute binary code of a software application. The binary code is augmented with instrumentation and analysis code during translation and execution. A dynamic binary analysis (DBA) tool identifies hierarchical layers of cycles within the application that describe the dynamic behavior of the application. Corresponding characterization information is stored in a hash table. Periodic sorting of entries of the hash table occur for highly accessed entries in deep buckets within the hash table. Repositioning the entries within the hash table may reduce pointer chasing problems and identify program phase changes within the dynamic behavior of the application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for bounded hash table sorting during dynamic whole program profiling of program code as the program code executes, the method comprising: instrumenting program code to identify a sequence of basic blocks in dynamic program order; storing characterization information corresponding to program regions of the program code in a hash table, said hash table comprising a plurality of buckets wherein each bucket comprises a plurality of entries; and sorting entries of a bucket of the hash table, in response to detecting a timing condition and a table condition are satisfied; wherein detecting
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Alverson et al., "Exploiting Heterogeneous Parallelism on a Multithreaded Multiprocessor," ACM 1992, pp. 188-197.
- Alverson et al., "Tera Hardware-Software Cooperation," 16 pages, 1997.
- Alverson et al., "The Tera Computer System," ACM 1990, 6 pages.
- Baniasadi, et al., "Instruction Flow-Based Front-end Throttling for Power-Aware High-Performance Processors," ACM 2001, pp. 16-21.
- Checking program profiles, Moseley et al., SCAM'03 2003.