C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What is Context Switch?

0 votes
43 views
asked Feb 22, 2014 by john Guru (27,140 points)

1 Answer

0 votes
Switching the CPU to another process requires saving the state of the old process and loading the saved state for the new process. This task is known as a context switch. Context-switch time is pure overhead, because the system does no useful work while switching. Its speed varies from machine to machine, depending on the memory speed, the number of registers which must be copied, the existed of special instructions(such as a single instruction to load or store all registers).
answered Feb 22, 2014 by sara Guru (24,570 points)

Related questions

0 votes
2 answers 9 views
9 views asked Dec 30, 2013 by keem Expert (13,240 points)
0 votes
1 answer 6 views
6 views asked Dec 30, 2013 by keem Expert (13,240 points)
0 votes
1 answer 37 views
37 views asked Feb 22, 2014 by john Guru (27,140 points)
0 votes
1 answer 38 views
38 views asked Feb 22, 2014 by john Guru (27,140 points)
0 votes
2 answers 28 views
28 views asked Jan 10, 2014 by smith Geek (15,340 points)
...