Context Switch

From DikapediaV2
Revision as of 14:44, 21 August 2024 by Ardika Sulistija (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 switch. * Context-switch time is overhead; the system does no useful work while switching. The more complex the OS and the <b>PCB</b> --the longer the context switch. * Context switches are costly as it destroys the TLB buffer. A <b>translation lookaside buffer (TLB)...")
(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.