Computer Science - Operating Systems Concepts - Discussion
Discussion Forum : Operating Systems Concepts - Section 5 (Q.No. 11)
11.
Which of the following statements is false?
Discussion:
2 comments Page 1 of 1.
Imran Toor said:
1 decade ago
How could be a response time more predictable in in preemptive systems?
Pramit Samanta said:
2 years ago
The statement "response time are more predictable in preemptive systems than in non preemptive systems" is false.
In preemptive scheduling, the operating system may interrupt a running process and allocate the CPU to another process with higher priority. This can lead to shorter response times for high-priority processes, but longer response times for low-priority processes that are repeatedly interrupted. Therefore, response times are less predictable in preemptive systems, as they depend on the priority of processes and the frequency of context switches.
In contrast, in non-preemptive scheduling, a running process will continue to execute until it completes, blocks, or voluntarily yields the CPU. This results in more predictable response times for each process but can lead to longer response times for high-priority processes that are waiting for low-priority processes to complete.
Therefore, the statement that "response times are more predictable in preemptive systems than in non-preemptive systems" is false.
In preemptive scheduling, the operating system may interrupt a running process and allocate the CPU to another process with higher priority. This can lead to shorter response times for high-priority processes, but longer response times for low-priority processes that are repeatedly interrupted. Therefore, response times are less predictable in preemptive systems, as they depend on the priority of processes and the frequency of context switches.
In contrast, in non-preemptive scheduling, a running process will continue to execute until it completes, blocks, or voluntarily yields the CPU. This results in more predictable response times for each process but can lead to longer response times for high-priority processes that are waiting for low-priority processes to complete.
Therefore, the statement that "response times are more predictable in preemptive systems than in non-preemptive systems" is false.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers