Context switching system having context cache and a register file for the save and restore context operation
Abstract
In an application in which context switching often occurs such as in a real time OS, it is possible to significantly reduce the overhead caused by the context switching. The OS issues a Swap instruction and a context switch starts. The Swap instruction is issued together with a thread (i.e., context) ID to be replaced, to a thread control unit ( 9 ). The thread ID is used to uniquely identify threads stored in a context cache ( 8 ). The thread control unit ( 9 ) saves data from a register file ( 1 ) to the context cache ( 8 ) via a context-dedicated bus ( 12 ) and transmits data of a new thread from the context cache ( 8 ) to the register file ( 1 ). According to the thread ID received, the thread control unit ( 9 ) automatically interchanges the necessary number of data in the register file ( 1 ) and the data in the context cache ( 8 ).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 26.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A context switching unit for switching a plurality of contexts, the context switching unit comprising: a register file having stored a context related to a thread to be executed by an arithmetic logic unit or a memory access unit, the register file comprising a register read port, a register write port, a context-switching read port, and a context-switching write port; a context cache used exclusively for saving and restoring contexts, the context cache comprising a read port and a write port, being connected directly to the register file and integrated in a central processing unit on a chip,
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 26 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Guangzuo, C. et. al, Parallel Replacement Mechanism for MultiThread, Advances in Parallel and Distrubuted Computing 1997 Proceedings, 1997, pp. 338 to 334.
- Guangzuo, C. et. al, Parallel Replacement Mechanism for MultiThread, Advances in Parallel and Distrubuted Computing 1997 Proceedings, 1997, pp. 338 to 334; particularly, pp. 340.
- Kwak, H. et al., Effects of multithreading on cache performance, computers, IEEE Transactions on, 1999, pp. 176 to 184.
- Wills, D.S. et al., Pica: An Ultra-Light Processor for High-Troughput Application, Computer Design: VLSI in Computers and Processors, 1993. ICCD '93. Proceedings, 1993, pp. 410 to 114.
- Wills, D.S. et al., Pica: An Ultra-Light Processor for High-Troughput Application, Computer Design: VLSI in Computers and Processors, 1993. ICCD '93. Proceedings, 1993, pp. 410 to 414; particularly, pp. 411 to 412.