Proceedings of the Fourth International Conference on Architectural Support for Programming Languages and Operating Systems - 1991
DOI: 10.1145/106972.106982
|View full text |Cite
|
Sign up to set email alerts
|

The effect of context switches on cache performance

Abstract: The sustained performance of fast processors is critically dependent on cache performance.Cache performance in turn depends on locality of reference. When an operating system switches contexts, the assumption of locality may be violated because the instructions and data of the newly-scheduled process may no longer be in the cache(s).Context-switching thus has a cost above that associated with that of the operations performed by the kernel.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
24
0

Year Published

1992
1992
2012
2012

Publication Types

Select...
5
4

Relationship

0
9

Authors

Journals

citations
Cited by 123 publications
(24 citation statements)
references
References 28 publications
0
24
0
Order By: Relevance
“…This OS activity causes cache misses directly and also indirectly in the applications by displacing the state of the applications from the cache. In work based on application-only simulations, Mogul and Borg [13] and Gupta el rzl [9] show the importance of preserving and reusing the cache state of applications. Given all these previous observations, our goal in this paper is to provide an indepth experintentaf characterization of the cache performance of a multiprocessor OS.…”
Section: Introductionmentioning
confidence: 99%
“…This OS activity causes cache misses directly and also indirectly in the applications by displacing the state of the applications from the cache. In work based on application-only simulations, Mogul and Borg [13] and Gupta el rzl [9] show the importance of preserving and reusing the cache state of applications. Given all these previous observations, our goal in this paper is to provide an indepth experintentaf characterization of the cache performance of a multiprocessor OS.…”
Section: Introductionmentioning
confidence: 99%
“…Each such migration incurs overhead, similar to a context switch [2], [3], [4], [5], from saving and restoring processor states and virtual machine control stucture (VMCS), extra translation lookaside buffer (TLB) misses and related page walks, cache misses, and interrupt rerouting (for VMs). The indirect overhead of TLB and cache misses for a migration is potentially higher than for a context switch, because the migrated thread begins execution in a totally different processor environment and cache hierarchy.…”
Section: A Motivationmentioning
confidence: 99%
“…A lot of research has been done in understanding the overhead of context switching in a computer system [2], [3], [4], [5], [7]. Context switching introduces two types of overheads in computation.…”
Section: Background and Related Workmentioning
confidence: 99%
“…However, when this information is lost there is a cost to warm these structures again; for example, the L1 cache contents associated with our process are essentially flushed with the migration. This forces the per-core cache to be repopulated, adding to our migration overhead [32].…”
Section: Simulating Migrationmentioning
confidence: 99%