Adaptive spinning of computer program threads acquiring locks on resource objects by selective sampling of the locks
Abstract
In the dynamic sampling or collection of data relative to locks for which threads attempting to acquire the lock may be spinning so as to adaptively adjust the spinning of threads for a lock, an implementation for monitoring a set of parameters relative to the sampling of data of particular locks and selectively terminating the sampling when certain parameter values or conditions are met.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 2.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for adjusting the spinning of computer process threads awaiting locks on objects in data processing systems comprising: monitoring values of a first set of parameters of a lock on an object, for which lock, threads requesting said lock are spinning; applying said monitored values of said first set of parameters to adjust the spinning of said threads requesting said lock; monitoring values of a second set of parameters relative to said lock on an object, for which lock, threads requesting said lock are spinning; applying said values of said second set of parameters to determine whether
- Claim 2Independent Claim
The m
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (3)
- Empirical Studies of Competitive Spinning for a Shared-Memory Multiprocessor, A. R. Karlin et al., Proceedings of the 13th ACM Symposium on Operating System Principles, 1991.
- Karlin et al. "Empirical studies of competitve spinning for a shared-memory multiprocessor" SOSP '91 Proceedings of the thirteenth ACM symposium on Operating systems principles, pp. 41-55.
- Selective Optimization of Locks by Runtime Statistics and Just-in-time Compliation, R. Odaira et al., Parallel and Distributed Symposium, 2003 Proceedings Inl., Apr. 22-26, 2003.