Title :
Reducing Context Switch Overhead with Compiler-Assisted Threading
Author :
Jaaskelainen, Pekka ; Kellomaki, P. ; Takala, Jarmo ; Kultala, Heikki ; Lepisto, M.
Author_Institution :
Dept. of Comput. Syst., Tampere Univ. of Technol., Tampere
Abstract :
Multithreading is an important software modularization technique. However, it can incur substantial overheads, especially in processors where the amount of architecturally visible state is large. We propose an implementation technique for co-operative multithreading, where context switches occur in places that minimize the amount of state that needs to be saved. The subset of processor state saved during each context switch is based on where the switch occurs.We have validated the approach by an empirical study of resource usage in basic blocks, and by implementing the co-operative threading in our compiler. Performance figures are given for an MP3 player utilizing the threading implementation.
Keywords :
multi-threading; program compilers; compiler-assisted threading; context switch overhead; cooperative multithreading; software modularization technique; Delay; Embedded computing; Multithreading; Pervasive computing; Pipelines; Processor scheduling; Registers; Switches; Ubiquitous computing; Yarn; co-operative threading; compiler; transport-triggered architectures;
Conference_Titel :
Embedded and Ubiquitous Computing, 2008. EUC '08. IEEE/IFIP International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-0-7695-3492-3
DOI :
10.1109/EUC.2008.181