Context switch overheads for Linux on ARM platforms
- 13 June 2007
- proceedings article
- Published by Association for Computing Machinery (ACM)
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.Keywords
This publication has 2 references indexed in Scilit:
- Measuring the cache interference cost in preemptive real-time systemsPublished by Association for Computing Machinery (ACM) ,2004
- The effect of context switches on cache performancePublished by Association for Computing Machinery (ACM) ,1991