1 / 10

Process Scheduling II ( 5.3)

Process Scheduling II ( 5.3). CPE 261403 - Operating Systems http://www.e-cpe.org/moodle. Scheduling Criteria (5.2). CPU Utilization Throughput Turnaround time Waiting time Response time. Scheduling Algorithms (5.3). FCFS SJF (non-preemptive / preemptive) Priority Scheduling

knox-howard
Download Presentation

Process Scheduling II ( 5.3)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Process Scheduling II(5.3) CPE 261403 - Operating Systems http://www.e-cpe.org/moodle

  2. Scheduling Criteria (5.2) • CPU Utilization • Throughput • Turnaround time • Waiting time • Response time

  3. Scheduling Algorithms (5.3) • FCFS • SJF (non-preemptive / preemptive) • Priority Scheduling • Round-Robin Scheduling • Multilevel Queue Scheduling • Multilevel Feedback-Queue Scheduling

  4. Priority Scheduling • Defining Priorities • Internally Defined Priorities (i.e. Memory requirements, Time to execute) • External priorities (usually defined by the user) (i.e. importance of the process)

  5. Starvation

  6. IBM 7094 at MIT When closing down in 1973, found a process submitted in 1967 (Myth)

  7. Round Robin Scheduling • Preemptive by Nature • Defines a Time Quantum • Time Quantum >> Context Switch Time

  8. Multilevel Queue Scheduling • Scheduling within & among queues • Use simple priority or CPU time slice (quota)

  9. Multilevel Feedback Queue • Example: Q1=RR, Q2=RR, Q3=FCFS

  10. Multilevel Feedback Queue • Parameters: • Number of queues • Scheduling algorithms for each queue • When to upgrade a process (i.e. when it requests I/O) • When to downgrade a process (i.e. when it exceeds the time quantum) • Which queue should a new process enter

More Related