Globally distributed load balancing
Abstract
A garbage collector employs a plurality of task queues for a parallel-execution operation in a garbage-collection cycle. Each task queue is associated with a different ordered pair of the threads that perform the parallel-execution operation in parallel. One of the threads, referred to as that task queue's “enqueuer” thread, is the only one that can “push” onto that queue an identifier of a dynamically identified task. The other thread, referred to as that task queue's “dequeuer,” is the only one that can “pop” tasks from that task queue for execution. Since, for each task queue, there is only one thread that can “push” task identifiers on to it and only one thread that can “pop” task identifiers from it, the garbage collector can share dynamically identified tasks optimally among its threads without suffering the cost imposed by making combinations of otherwise separate machine instructions atomic.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system that employs a plurality of execution threads to perform tasks that the threads identify dynamically, the computer system being so programmed as to: A) provide a plurality of task queues, each of which is associated with a different ordered pair of the threads, one thread of the ordered pair being denominated the enqueuer of that queue and the other being denominated the dequeuer thereof, wherein the execution threads operate so that only an enqueuer of a task queue adds entries to that task queue and only the dequeuer of a task queue removes entries from that task queue; B)
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 20 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Craig et al, "nonProtean: Scalable System software for a Gigabit active Router", 2001; IEEE INFOCOM 2001, pp. 51-59.
- Leslie Lamport, Providing the Correctness of Multiprocess Programs, IEEE Transaction on Software Engineering, vol. SE-3, No. 2, Mar. 1977, pp. 125-143.
- Patel et al, "A Model Completion Queue Mechanisms using the Virtual Interface API", 2000, IEEE, pp. 280-288.
- Washabaugh et al, "Incremental Garbage collection of Concurrent Objects", 1990, IEEE, pp. 21-30.
- Youn et al, "A Multithreaded Architecture for the Efficient Execution of Vector Computations within a Loop using Status Field", 1996, IEEE, pp. 343-350.