Title
Context Switch Overheads for Linux on ARM Platforms
Author
Francis David, Department of Computer Science, Department of Computer Science, Jeffrey Carlyle, Department of Computer Science, Department of Computer Science, and Roy Campbell, Department of Computer Science, Department of Computer Science
Date
10/27/2008
(Original Publish Date: 3/7/2006)
(Original Publish Date: 3/7/2006)
Abstract
Context switching imposes a performance penalty on threads in a multitasking environment. The source of this penalty is both direct overhead due to running the context switch code and indirect overhead due to perturbation of caches. We calculate indirect overhead by measuring the running time of tasks that use context switching and subtracting the direct overhead. We also measure the indirect overhead impact on the running time of tasks due to processor interrupt servicing. Experiment results are presented for the Linux kernel running on an ARM processor based mobile device platform.
Link