DQuestion 7 When is a preemptive CPU scheduler called? O When a process performs
ID: 3910995 • Letter: D
Question
DQuestion 7 When is a preemptive CPU scheduler called? O When a process performs any system call. When the time slice of the current process expires. When a process switches from the running state to the ready state D When the current process calls exit and terminates. O When the current process performs a blocking I/O system call. Question 8 What statements about processor affinity are true? It increases the number of cache hits for accesses to main memory. It adversely impacts the scheduler overhead. O It prevents a process from migrating (its execution) to another processor. O It reduces the number of context switches.Explanation / Answer
7.
When a process switches from the running state to the ready state, the scheduler can choose to continue running the current process or choose a different one. Such a scheduler is known as preemptive.
8.
Processor affinity can effectively reduce cache problems.
Therefore there will be an increase in the number of cache hits for accesses to main memory.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.