faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
faq [2021/03/17 04:28] – jxu | faq [2021/03/17 04:28] – jxu | ||
---|---|---|---|
Line 204: | Line 204: | ||
- Then try using C4. Nonpreemptive Priority Scheduling. (The only difference in this case, is that, whenever the CPU becomes available, the Nonpremptive Priority CPU Scheduler always removes from the ready queue the process which has the smallest Priority Number among all processes in the ready queue, and allows that process to start executing on the CPU. | - Then try using C4. Nonpreemptive Priority Scheduling. (The only difference in this case, is that, whenever the CPU becomes available, the Nonpremptive Priority CPU Scheduler always removes from the ready queue the process which has the smallest Priority Number among all processes in the ready queue, and allows that process to start executing on the CPU. | ||
- Then try using some of the Preemptive CPU Scheduling Algorithms C3, C5, C6. (In this case, whenever a process which is currently executing on the CPU is preempted by a process with higher priority, that preempted process which has lower priority is put back into the ready queue.) | - Then try using some of the Preemptive CPU Scheduling Algorithms C3, C5, C6. (In this case, whenever a process which is currently executing on the CPU is preempted by a process with higher priority, that preempted process which has lower priority is put back into the ready queue.) | ||
- | - Then try to allow each process to make one single request to perform I/O for some I/O Time | + | - Then try to allow each process to make one single request to perform I/O for some I/O Time on one single I/O device after completing its first CPU Computation Time, while for CPU |
- | on one single I/O device after completing its first CPU Computation Time, while for CPU | + | |
Scheduling only use one of the Nonpremptive CPU Scheduling Algorithms C1, C2 or C4. (In | Scheduling only use one of the Nonpremptive CPU Scheduling Algorithms C1, C2 or C4. (In | ||
this case, an I/O queue is used, and processes are entered at the end of the I/O queue | this case, an I/O queue is used, and processes are entered at the end of the I/O queue |
faq.txt · Last modified: 2021/04/26 22:20 by jxu