Machine-translated by Google. Questions are authored in English.
Top

Discussion

Reducing the round robin slice improves responsiveness at the cost of

  • A.a loss of determinism in the kernel's own operations
  • B.more context switches and therefore more overhead
  • C.a lower total utilisation bound for the task set
  • D.an inability to run tasks of different priorities

Answer: B

Correct answer: more context switches and therefore more overhead

A shorter slice means the scheduler runs more often, and each switch costs registers saved and restored and caches disturbed. The processor time available to the tasks falls accordingly, so the slice is chosen to balance responsiveness against the overhead it buys.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.