Deep Dive Into the Cost of Context Switch

Apr 30, 2019·
Shibo Chen
,
Yu Wu
,
Xinyun Jiang
,
Wen-Jye Hu
· 1 min read
The kernel-level context switch time

In this project, we are trying to identify the major components of the context swtich overhead on modern CPUs. We showed that data cache misses and d-TLB misses are two major contributors of the overhead. Furthermore, we showed that it requires a non-trivial effort to implement an user-level multithreading library.