Forums Assignment Help What is Context Switch?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1670
    Pitter John
    Participant

    Know more about Context Switch?

    #10234
    Aakanksha
    Participant

    Answer:

    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 existence of special instructions (such as a single instruction to load or store all registers).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.