Patents
US 8,046,758 B2#4561741 Most CitedActiveUnited States (USPTO)Utility

Adaptive spin-then-block mutual exclusion in multi-threaded processing

19Forward Citations (#4561741 Global)
1.3/yrCitation Velocity (#4638824 Global)
3.16Citation PageRank (#6953180 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Adaptive modifications of spinning and blocking behavior in spin-then-block mutual exclusion include limiting spinning time to no more than the duration of a context switch. Also, the frequency of spinning versus blocking is limited to a desired amount based on the success rate of recent spin attempts. As an alternative, spinning is bypassed if spinning is unlikely to be successful because the owner is not progressing toward releasing the shared resource, as might occur if the owner is blocked or spinning itself. In another aspect, the duration of spinning is generally limited, but longer spinning is permitted if no other threads are ready to utilize the processor. In another aspect, if the owner of a shared resource is ready to be executed, a thread attempting to acquire ownership performs a “directed yield” of the remainder of its processing quantum to the other thread, and execution of the acquiring thread is suspended.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method of acquiring ownership of a shared resource in a multi-threaded computing environment, comprising: for each set of multiple sets of N successive attempts by a first thread acquire ownership of the shared resource: for each of a predetermined number of the N attempts of the set, executing a spin procedure during which the first thread repeatedly determines whether the shared resource is owned by another thread, the spin procedure terminating upon the earlier of (i) successfully obtaining ownership of the shared resource, or (ii) reaching a predetermined execution t

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 3,984,820 AApparatus for changing the interrupt level of a process executing in a data processing system197637
US 4,908,750 AData processing system having tunable operating system means199086
US 5,197,130 ACluster architecture for a highly parallel scalar/vector multiprocessor system1993311
US 5,228,131 AData processor with selectively enabled and disabled branch prediction operation199377
US 5,438,677 AMutual exclusion for computer system199540
US 5,504,817 AMethod and apparatus for memory efficient variants of public key encryption and identification schemes for smart card applications199631
US 5,555,370 AMethod and system for creating complex objects for use in application development199690
US 5,611,063 AMethod for executing speculative load instructions in high-performance processors199743
US 5,615,350 AApparatus to dynamically control the out-of-order execution of load-store instructions in a processor capable of dispatching, issuing and executing multiple instructions in a single processor cycle1997148
US 5,671,381 AMethod and apparatus for displaying data within a three-dimensional information landscape1997266
US 5,765,206 ASystem and method for emulating a segmented virtual address space by a microprocessor that provides a non-segmented virtual address space199834
US 5,796,830 AInteroperable cryptographic key recovery system1998131
US 5,799,086 AEnhanced cryptographic system and method with key escrow feature1998373
US 5,838,792 AComputer system for centralized session key distribution, privacy enhanced messaging and information distribution using a split private key public cryptosystem1998125
US 5,892,828 AUser presence verification with single password across applications1999124

Non-Patent Literature (5)

  • Barua, S., "Computer-based multimedia system on computer organization and design," IEEE, Oct. 1997, (Abstract only).
  • Bershad, Brian N. et al., "Fast Mutual Exclusion for Uniprocessors," ACM Sigplan Notices: vol. 27, Issue 9, (Sep. 1992), pp. 222-233.
  • Card, Stuart K., et al. "The WebBook and the Forager: an informational workspace for the World Wide Web," ACM Conference, 1996, pp. 111-117.
  • Chang, Chi-Chao, et al., "Interfacing Java to the Virtual Interface Architecture," JAVA ACM, 1999, pp. 51-57.
  • Ishizaki, kazuaki, et al., "Design, Implementation, and Evaluation of Optimizations in a Just-In-Time Compiler, " JAVA ACM, 1999, pp. 119-128.