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

3,749 questions

4,049 answers


10,705 users

What is Context Switch?

0 votes
asked 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 by sara Guru (24,570 points)

Related questions

0 votes
2 answers 10 views
10 views asked by keem Expert (13,240 points)
0 votes
1 answer 6 views
0 votes
1 answer 38 views
38 views asked by john Guru (27,140 points)
0 votes
1 answer 39 views
0 votes
2 answers 29 views
29 views asked by smith Geek (15,340 points)