Context Switch

From Dikapedia
Revision as of 20:21, 23 October 2020 by Ardika (talk | contribs) (Created page with "<b>Context Switching</b> is when CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via context sw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Context Switching is when CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via context switch.


  • Context-switch time is overhead; the system does no useful work while switching. The more complex the OS and the PCB --the longer the context switch.
  • Context switches are costly as it destroys the TLB buffer. A translation lookaside buffer (TLB) is a cahe that memory management hardware uses to improve virtual address translation speed.