Hardware-assisted method for scheduling threads using data cache locality
Abstract
A method is provided for scheduling threads in a multi-processor system. In a first structure thread ids are stored for threads associated with a context switch. Each thread id identifies one thread. In a second structure entries are stored for groups of contiguous cache lines. Each entry is arranged such that a thread id in the first structure is capable of being associated with at least one contiguous cache line in at least one group, the thread identified by the thread id having accessed the at least one contiguous cache line. Patterns are mined for in the entries to locate multiples of a same thread id that repeat for at least two groups. Threads identified by the located multiples of the same thread id are mapped to at least one native thread, and are scheduled on the same processor with other threads associated with the at least two groups.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 55.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for scheduling threads in a multi-processor computer system having an operating system at least one cache, comprising the steps of: storing in a first data structure thread ids for at least some of the threads associated with a context switch performed by the operating system, each of the thread ids uniquely identifying one of the threads; storing in a second data structure a plurality of entries for a plurality of groups of contiguous cache lines, each of the plurality of entries arranged such that a thread id in the first data structure is capable of being associated with at least o
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 55 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- Bellosa et al. "The Performance Implications of Locality Information Used in Shared-Memory Multiprocessors", Journal of Parallel and Distributed Computing, vol. 37, No. 1, pp. 113-121, Aug. 1996.
- M. Steckermeier et al. "Using Locality Information in User Level Scheduling", University Erlangen-Nurnberg, Tech. Report TR-95-14, 1995.
- Nikolopoulos et al. "Efficient Runtime Thread Management for the Nano-Threads Programming Model", 12th International Parallel Processing Symposium and 9th Symposium on Parallel and Distributed Processing, pp. 183-194, Mar. 1998.
- Philbin et al. "Thread Scheduling for Cache Locality", ASPLOS VII, pp. 60-71, Oct. 1996.
- Sinharoy, B. "Optimized Thread Creation for Processor Multithreading", The Computer Journal, 40(6), pp. 388-400, 1997.