Compiler-based scheduling optimization hints for user-level threads
Abstract
Method, apparatus and system embodiments to schedule user-level OS-independent “shreds” without intervention of an operating system. For at least one embodiment, the shred is scheduled for execution by a scheduler routine rather than the operating system. The scheduler routine may receive compiler-generated hints from a compiler. The compiler hints may be generated by the compiler without user-provided pragmas, and may be passed to the scheduler routine via an API-like interface. The interface may include a scheduling hint data structure that is maintained by the compiler. Other embodiments are also described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 9.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A machine-implemented method comprising: receiving from a compiler scheduling hint information associated with an operating system independent user-level thread, the scheduling hint information configurable to include parallelism information associated with the user-level thread, wherein said receiving further comprises receiving the scheduling hint information via an application programming interface between the compiler and the scheduler, wherein said interface further comprises an attribute table; and electively taking the associated scheduling hint information into account to perform dynam
- Claim 2Depends on #1
The method of claim 1 , wherein: said receiving further comprises receiving scheduling hint in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Basic Thread Operations" for POSIX Threads, http://www.gnu.org/software/libc/manual/html-node/Basic-Thread-Operations.html#Basic%20Thread%20Operations.
- A. Sun F, Ravi S, Raghunathan A.,Jha N. Application-specific Heterogeneous Multiprocessor Synthesis using Extensible Processors.
- Anderson et al., "Scheduler Activations: Effective Kernel Support for the User-Level Management of Parallelism", ACM Transactions on Computer Systems, New York, US, Feb. 1992, pp. 53-79.
- Barekas et al., "Nanothreads vs. Fibers for the Support of Fine Grain Parallelism on Windows NT/2000 Platforms", Lecture Notes in Computer Science, 2000, vol. 1940, pp. 146-159.
- Dean, A. Compiling for Concurrency: Planning and Performing Software Thread Integration. 23rd IEEE Real-Time Systems Symposium, Dec. 3-5, 2002, Austin, TX.