Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Scheduling policies?

Dikenal juga sebagai: scheduling policy · first come first served · shortest job first · shortest remaining time first · time slice

Definition 10.5 University Computer Science — Year 3 · Bab 10 — The Kernel and CPU Scheduling

A scheduling policy chooses which ready job runs next, and for how long. First come first served runs the jobs to completion in their order of arrival. Shortest job first runs to completion the ready job with the smallest burst. Shortest remaining time first is its preemptive form: whenever a job arrives, the job with the least work left runs. Round robin runs the ready jobs in turn, each for at most a time slice qq, the quantum, then puts it at the back of the queue.

The timelines of . Shortest job first moves E, the shortest, before B, D and C; shortest remaining time first also interrupts A, at 1, and D, at 6. Round robin gives every job the processor within 9 units of its arrival, at the price of finishing A, B and C later than first come first served does.
The timelines of Output 10.4. Shortest job first moves E, the shortest, before B, D and C; shortest remaining time first also interrupts A, at 1, and D, at 6. Round robin gives every job the processor within 9 units of its arrival, at the price of finishing A, B and C later than first come first served does.
Baca dalam konteks →