Highly scalable tree-based trylock
Abstract
A tree-based trylock technique for reducing contention on a root trylock includes attempting to acquire a trylock at each node of a tree-based hierarchical node structure while following a traversal path that begins at a leaf node, passes through one or more of internal nodes, and ends at a root node having the root trylock. The trylock acquisition operation succeeds if each trylock on the traversal path is acquired, and fails if any trylock on the traversal path cannot be acquired. A trylock housekeeping operation releases all non-root trylocks visited by the trylock acquisition operation, such that if the trylock acquisition operation succeeds, only the root trylock will be remain acquired at the end of the operation, and if the trylock acquisition operation fails, none of the trylocks will be remain acquired at the end of the operation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a multiprocessor computer system having two or more processors operatively coupled to one or more memory devices, a tree-based trylock method that reduces contention on a root trylock, comprising: providing a lock hierarchy in which plural trylocks are distributed among nodes of a tree-based node structure having a plurality of leaf nodes, one or more internal nodes, and a root node; assigning said processors to said leaf nodes in a distributed and balanced manner in order to minimize memory contention on said trylocks; implementing a trylock acquisition operation on a selected one of said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- A. Arcangeli et al., "Using Read-Copy-Update Techniques for System V IPC in the Linux 2.5 Kernel," 2003 FREENIX, Jun. 14, 2003, 13 pages.
- Abellan et al., "GLocks: Efficient Support for Highly-Contended Locks in Many-Core CMPs", IPDPS IEEE International Parallel & Distributed Processing Smposium, May 16-20, 2011 (pp. 893-905).
- Article entitled "Is Parallel Programming Hard, and, If so, What Can You Do About It?", by McKenney, dated Dec. 16, 2011.
- B. Gamsa, "Tornado: Maximizing Locality and Concurrency in a Shared Memory Multiprocessor Operating System," 1999, 14 pages.
- D. Brodkowski, "Re: A few questions and issues with dynticks, NOHZ and powertop", Apr. 6, 2010, see , 4 pages.