Mechanism to exploit synchronization overhead to improve multithreaded performance
Abstract
Method, apparatus, and program means for a programmable event driven yield mechanism that may activate other threads. In one embodiment, an apparatus includes execution resources to execute a plurality of instructions and an event detector to detect a long latency event associated with a synchronization object. The event detector can cause a first thread switch in response to the long latency event associated with the synchronization object. The apparatus may also include a spin detector to detect that the synchronization object is a contended synchronization object. The spin detector can cause a second thread switch in response to the detection of the contended synchronization object to enable a spin detect response.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 31.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
An apparatus comprising: execution resources capable of executing a plurality of threads concurrently; event detector hardware logic to detect a cache miss event associated with a synchronization object, said event detector to cause a first thread switch; and a spin detector to detect that the synchronization object is a contended synchronization object, said spin detector to cause a second thread switch.
- Claim 2Depends on #1
The apparatus of claim 1 wherein said spin detector comprises an event detector programming routine stored in a machine readable medium, the event detector programming routine to program the event detector logic to detect that the synchronization object is contended.
- Claim 3Depends on #1
The apparatus of claim 1 further comprising a memory, said memory to store an application utilizing said synchronization object and a future lock module that is to
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 31 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- "The MIT Alewife Machine: Architecture and Performance"; Agarwal et al.; 1995; ACM.
- A. Agarwal, B. Lim, D. Kranz, and J. Kubiatowicz. April: A Processor Architecture for Multiprocessing. In 17th Inter- national Symposium on Computer Architecture, Jun. 1990.
- A. Moshovos, D. Pnevmatikatos, A. Baniasadi. Slice procesors: an implementation of operation-based prediction. In International Conference on Supercomputing, Jun. 2001.
- A. Roth and G. Sohi. Speculative data-driven multithreading. in Seventh International Symposium on High Performance Computer Architecture, pp. 37-48, Jan. 2001. and Operating Systems, pp. 257-268, Nov. 2000.
- A. Roth, A. Moshovos, and G. Sohi. Dependence based prefetching for linked data structures. In Eighth International Conference on Architectural Support for Programming Languages and Operating Systems, Oct. 1998.