2007 · 200 citations · 7 references
ComputingComputer ScienceComputer SystemsComputer ArchitectureOperating SystemsResource Utilization AnalysisCpu SchedulingInterrupt HandlingPerformance ModelingPerformance OptimizationContext SwitchingContext Switching OverheadIndirect Cost AnalysisMeasurement AccuracyOperating System Overhead AnalysisStrideWorkloadWorkload Characterization
Measuring the indirect cost of context switch is a challenging problem. In this paper, we show our results of experimentally quantifying the indirect cost of context switch using a synthetic workload. Specifically, we measure the impact of program data size and access stride on context switch cost. We also demonstrate the potential impact of OS background interrupt handling on the measurement accuracy. Such impact can be alleviated by using a multi-processor system on which one processor is employed for context switch measurement while the other runs OS background tasks.
7
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