您当前的位置: 首页 > 

几种常见的调度策略

软件工程小施同学 发布时间:2022-02-05 20:48:42 ,浏览量:5

a. First come first serve

As the name suggests, it schedules processes based on first come first serve. It is a non-preemptive algorithm.

b. Shortest job first

It is both preemptive as well as non-preemptive scheduling algorithm. In this algorithm, we give the highest priority to process with the lowest burst time. Its preemptive version is known as the Shortest job first algorithm.

c. Priority scheduling

It is both preemptive or non-preemptive. In this technique, we assign priority to every process and then execute in the priority order. It mostly uses a priority queue for execution.

d. Round-robin scheduling

In this algorithm, we assign a fixed time slot to each process. If the process does not execute completely in that time slot, it will complete its remaining execution in the next rounds. It is preemptive.

e. Multiple level queue schedule

This is also a priority-based algorithm. It maintains multiple queues for the processes with different priorities.

https://techvidvan.com/tutorials/greedy-algorithm/

关注
打赏
1688896170
查看更多评论
  • 5浏览

    0关注

    1345博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0461s