The time dispatcher takes and for the dispatcher to stop one process and start…

2023

The time dispatcher takes and for the dispatcher to stop one process and start another running is known as _____.

  1. A.

    dispatch wasting time

  2. B.

    dispatch latency

  3. C.

    dispatch turnaround time

  4. D.

    dispatch response time

Attempted by 148 students.

Show answer & explanation

Correct answer: B

In an operating system, the dispatcher is the module that gives control of the CPU to the process selected by the short-term scheduler.

When switching from one process to another, the dispatcher needs to:

  1. Save the state (context) of the currently running process.

  2. Load the saved state (context) of the newly selected process.

  3. Jump to the proper location in the user program to restart that process.

The total time spent by the dispatcher in stopping one process and starting another running is explicitly defined as Dispatch Latency. Since this overhead occurs during every context switch, operating systems aim to keep this duration as low as possible.

Explore the full course: Niacl Ao It Specialist