Patents
US 8,286,134 B2#45033960 Most CitedActiveUnited States (USPTO)Utility

Call stack sampling for a multi-processor system

2Forward Citations (#45033960 Global)
0.1/yrCitation Velocity (#40013171 Global)
0.88Citation PageRank (#49121045 Global)
28Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A computer implemented method for sampling call stack information. Responsive to identifying a set of interrupts, a determination is made as to whether all processors in a plurality of processors have generated the set of interrupts. A number of addresses are identified for a set of interrupted threads identified by the set of interrupts response to a determination that all of the processors have generated the set of interrupts. A determination is made as to whether the identified address falls within a set of address ranges. Responsive to a determination that the identified address falls within the set of address ranges, a sampler thread is notified to obtain call stack information.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for sampling call stack information, the computer implemented method comprising: responsive to identifying a set of interrupts, determining whether all processors in a plurality of processors have generated the set of interrupts, wherein each of the plurality of processors is a processor unit that has a counter set after generating an interrupt and a determination as to whether all processors in the plurality of processors have generated the set of interrupts is made by checking all counters in the plurality of processors to determine that all counters have been s

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 5,768,500 AInterrupt-based hardware support for profiling memory system performance1998306
US 6,199,075 B1Method and apparatus for generational garbage collection of a heap memory shared by multiple processors2001111
US 2002073103 A1Memory garbage collection method and apparatus—28
US 2003023655 A1Method and apparatus to facilitate suspending threads in a platform-independent virtual machine—30
US 6,651,243 B1Method and system for periodic trace sampling for real-time generation of segments of call stack trees2003179
US 6,751,789 B1Method and system for periodic trace sampling for real-time generation of segments of call stack trees augmented with call stack position determination2004176
US 2004163077 A1Apparatus and method for dynamic instrumenting of code to minimize system perturbation—182
US 6,874,074 B1System and method for memory reclamation200594
US 2005086455 A1Method and apparatus for generating interrupts for specific types of instructions—8
US 2005102493 A1Method and apparatus for counting instruction execution and data accesses for specific types of instructions—15
US 2005149585 A1Method and apparatus for scheduling and performing garbage collection in a real-time system with guaranteed space bounds—27
US 2005155019 A1Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program—93
US 2005155018 A1Method and apparatus for generating interrupts based on arithmetic combinations of performance counter values—25
US 6,954,922 B2Method apparatus and article of manufacture for time profiling multi-threaded programs200549
US 2005273782 A1Thread synchronization methods and apparatus for managed run-time environments—24
US 7,028,298 B1Apparatus and methods for managing resource usage200663
US 2006130001 A1Apparatus and method for call stack profiling for a software application—48
US 7,093,081 B2Method and apparatus for identifying false cache line sharing200625
US 2006212657 A1Method and system for page-out and page-in of stale objects in memory—11
US 7,114,036 B2Method and apparatus for autonomically moving cache entries to dedicated storage when false cache line sharing is detected200630
US 7,278,141 B2System and method for adding priority change value corresponding with a lock to a thread during lock processing200722
US 7,296,130 B2Method and apparatus for providing hardware assistance for data access coverage on dynamically allocated data200712
US 7,325,108 B2Method and system for page-out and page-in of stale objects in memory200817
US 2008189687 A1Method and Apparatus for Maintaining Performance Monitoring Structures in a Page Table for Use in Monitoring Performance of a Computer Program—43
US 7,574,587 B2Method and apparatus for autonomically initiating measurement of secondary metrics based on hardware counter values for primary metrics200919
US 7,610,585 B2Thread synchronization methods and apparatus for managed run-time environments200913
US 7,624,137 B2Method and apparatus for scheduling and performing garbage collection in a real-time system with guaranteed space bounds200914
US 8,191,049 B2Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program20127

Non-Patent Literature (5)

  • AIX Versions 3.2 and 4 Performance Tuning Guide, Performance Overview of the Virtual Memory Manager (VMM, Apr. 1997 http://nfosolutions.com/doc-link/C/a-doc-lib/aixbman/prftungd/vmmov.htm.
  • Binder, "Portable and Accurate Sampling Profiling for Java", Software-Practice and Experience, vol. 36, Issue 6, May 2006, pp. 615-650.
  • Chanda et al., "Whodunit: Transactional Profiling for Multi-Tier Applications", ACM, EuroSys'07, Mar. 2007 Lisboa, Portugal, pp. 17-30.
  • Dunlavey, "Performance Tuning with Instruction-Level Cost Derived from Call-Stack Sampling", ACM SIGPLAN Notices, vol. 42(8), Aug. 2007, pp. 4-8.
  • Froyd et al., "Low-Overhead Call Path Profiling of Unmodified, Optimized Code", ACM, ICS'05 Cambridge, Massachusetts, pp. 81-90.