2007 · 92 citations · 5 references
ComputingComputer ScienceComputer SystemsMobile ComputingMobile SystemsOperating SystemsCpu SchedulingInterrupt HandlingKernel ArchitectureKernel DesignKernel ProgrammingPerformance OptimizationContext SwitchingContext Switching OverheadInterrupt Context SwitchingKernel Performance OptimizationMultitaskingOperating System Overhead Analysis
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.
5
lmbench: portable tools for performance analysis
Larry McVoy, Carl Staelin · 1996 · 838 citations
Why Aren't Operating Systems Getting Faster As Fast as Hardware?
John K. Ousterhout · 1990 · 338 citations
The effect of context switches on cache performance
Jeffrey C. Mogul, Anita Borg · 1991 · 210 citations · Full text