Global Information Lookup Global Information

Work stealing information


In parallel computing, work stealing is a scheduling strategy for multithreaded computer programs. It solves the problem of executing a dynamically multithreaded computation, one that can "spawn" new threads of execution, on a statically multithreaded computer, with a fixed number of processors (or cores). It does so efficiently in terms of execution time, memory usage, and inter-processor communication.

In a work stealing scheduler, each processor in a computer system has a queue of work items (computational tasks, threads) to perform. Each work item consists of a series of instructions, to be executed sequentially, but in the course of its execution, a work item may also spawn new work items that can feasibly be executed in parallel with its other work. These new items are initially put on the queue of the processor executing the work item. When a processor runs out of work, it looks at the queues of the other processors and "steals" their work items. In effect, work stealing distributes the scheduling work over idle processors, and as long as all processors have work to do, no scheduling overhead occurs.[1]

Work stealing contrasts with work sharing, another popular scheduling approach for dynamic multithreading, where each work item is scheduled onto a processor when it is spawned. Compared to this approach, work stealing reduces the amount of process migration between processors, because no such migration occurs when all processors have work to do.[2]

The idea of work stealing goes back to the implementation of the Multilisp programming language and work on parallel functional programming languages in the 1980s.[2] It is employed in the scheduler for the Cilk programming language,[3] the Java fork/join framework,[4] the .NET Task Parallel Library,[5] and the Rust Tokio runtime.[6][7]

  1. ^ Cite error: The named reference dfs was invoked but never defined (see the help page).
  2. ^ a b Blumofe, Robert D.; Leiserson, Charles E. (1999). "Scheduling multithreaded computations by work stealing" (PDF). J ACM. 46 (5): 720–748. doi:10.1145/324133.324234. S2CID 5428476.
  3. ^ Blumofe, Robert D.; Joerg, Christopher F.; Kuszmaul, Bradley C.; Leiserson, Charles E.; Randall, Keith H.; Zhou, Yuli (1996). "Cilk: An efficient multithreaded runtime system". Journal of Parallel and Distributed Computing. 37 (1): 55–69. doi:10.1006/jpdc.1996.0107.
  4. ^ Doug Lea (2000). A Java fork/join framework (PDF). ACM Conf. on Java.
  5. ^ Leijen, Daan; Schulte, Wolfram; Burckhardt, Sebastian (2009). "The Design of a Task Parallel Library". ACM SIGPLAN Notices. 44 (10): 227. CiteSeerX 10.1.1.146.4197. doi:10.1145/1639949.1640106.
  6. ^ "What is Tokio? · Tokio". tokio.rs. Retrieved 2020-05-27.
  7. ^ Krill, Paul (2021-01-08). "Tokio Rust runtime reaches 1.0 status". InfoWorld. Retrieved 2021-12-26.

and 21 Related for: Work stealing information

Request time (Page generated in 0.9468 seconds.)

Work stealing

Last Update:

work stealing; the alternative strategy is called "child stealing" and is easier to implement as a library, without compiler support. Child stealing is...

Word Count : 2075

Cilk

Last Update:

off work to other processors, it is actually the scheduler which assigns procedures to processors for execution, using a policy called work-stealing, described...

Word Count : 3528

Kleptomania

Last Update:

antagonists appear to reduce the urge to steal and mute the "rush" typically experienced immediately after stealing by some subjects with kleptomania. This...

Word Count : 3772

Threading Building Blocks

Last Update:

programming from the particulars of the underlying machine. oneTBB implements work stealing to balance a parallel workload across available processing cores in...

Word Count : 716

Steal This

Last Update:

Steal This is an EP by The Explosion. It was released in 2000 on Revelation Records. Its title is a sarcastic jab at the legal troubles resulting in the...

Word Count : 146

Stealing Cars

Last Update:

Stephen (June 17, 2015). "'Stealing Cars': LAFF Review". hollywoodreporter.com. Retrieved July 12, 2015. Stealing Cars at IMDb Stealing Cars at Rotten Tomatoes...

Word Count : 516

Houston Astros sign stealing scandal

Last Update:

stealing was "something of an art form in baseball" which "is tolerated, even admired". Many players and coaches are considered masters at stealing signs...

Word Count : 14349

Stealing thunder

Last Update:

Stealing thunder is to use someone else's idea for one's own advantage, or to pre-empt them. The idiom comes from the peevish dramatist John Dennis early...

Word Count : 486

Stealing Raden Saleh

Last Update:

Tegar Satrya as Gito The idea of Stealing Raden Saleh was conceived by Sasongko after his interest in paintings and the work of Indonesian painter Raden Saleh...

Word Count : 766

Focus stealing

Last Update:

several seconds) between the focus stealing event and the newly focused window displaying on the screen. Focus stealing can cause damage, as users may, while...

Word Count : 563

Steal Away

Last Update:

"Steal Away" ("Steal Away to Jesus") is an American spiritual. The song is well known by variations of the chorus: Steal away, steal away, steal away...

Word Count : 673

Steal This Book

Last Update:

catalog Bill Hartel (August 26, 1996). "Steal This Book-Abbie's Magnum Opus". Bates, Stephe (Summer 2011). "Stealing the Revolution". Wilson Quarterly. 35...

Word Count : 1022

Heterogeneous System Architecture

Last Update:

task queueing: a work queue per core, distribution of work into queues, load balancing by work stealing any core can schedule work for any other, including...

Word Count : 1826

Thou shalt not steal

Last Update:

Dekalog (1953)) suggest that commandment "you shall not steal" was originally intended against stealing people—against abductions and slavery,[citation needed]...

Word Count : 4098

Steal My Sunshine

Last Update:

"Steal My Sunshine" is a song by Canadian alternative rock band Len from their third studio album, You Can't Stop the Bum Rush (1999). The song was initially...

Word Count : 2984

Joke theft

Last Update:

have found themselves, knowingly or unknowingly, stealing material. Bill Cosby admitted to stealing a joke by George Carlin involving an uneducated football...

Word Count : 2953

The God Stealer

Last Update:

most anthologized work of fiction. It is not just a tale about an Ifugao stealing a religious idol, but also about the friendship that developed between...

Word Count : 392

Stealing Heaven

Last Update:

drama films Stealing Heaven at answers.com Stealing Heaven, the Story at derekdelintfansite.com Michael Wilmington, "Movie Reviews: ‘Stealing Heaven’ Updates...

Word Count : 626

List of computer scientists

Last Update:

Lehman Charles E. Leiserson – cache-oblivious algorithms, provably good work-stealing, coauthor of Introduction to Algorithms Douglas Lenat – artificial intelligence...

Word Count : 5140

Steal the Show

Last Update:

"Steal The Show" is a song by American singer-songwriter Lauv, from the soundtrack to Disney/Pixar's 2023 film Elemental. The film's composer Thomas Newman...

Word Count : 481

Derivative work

Last Update:

derivative work is an expressive creation that includes major copyrightable elements of a first, previously created original work (the underlying work). The...

Word Count : 7366

PDF Search Engine © AllGlobal.net