Efficient implementation of Multilevel Feedback Queue Scheduling

Malharrao R. Thombare, R. Sukhwani, Priyam Shah, S. Chaudhari, Pooja Raundale
{"title":"Efficient implementation of Multilevel Feedback Queue Scheduling","authors":"Malharrao R. Thombare, R. Sukhwani, Priyam Shah, S. Chaudhari, Pooja Raundale","doi":"10.1109/WISPNET.2016.7566483","DOIUrl":null,"url":null,"abstract":"In CPU scheduling various algorithms exist like FCFS (First come first serve), SJF (Shortest job first), SRTF (Shortest remaining time first), Priority Scheduling, Round Robin (RR), MLQ (Multilevel queue), MLFQ (Multilevel feedback queue) scheduling. Multilevel Feedback Queue (MLFQ) algorithm allows the switching of processes between queues depending on their burst time. The processes switch to the next queue when burst time is greater than time quantum. Each queue can define its own scheduling policy. In this paper we have implemented MLFQ technique using small burst time for the first queue thus making it analogous to RR scheduling and using SJF prior to RR from second queue onwards gives better CPU utilization. Dynamic time quantum is also used which further improves the efficiency of the scheduling. Here the dynamic time quantum of the queues is calculated based on the burst time of the processes. Time quantum of the second queue is the burst time of the (2n/3)th process (where n is the number of processes remaining after the execution in the first queue) and time quantum of the third queue is burst time of the largest remaining process. Thus 66% of the processes get executed in the second queue and remaining processes in the last queue thus preventing the problem of starvation of huge burst time processes.","PeriodicalId":138911,"journal":{"name":"2016 International Conference on Wireless Communications, Signal Processing and Networking (WiSPNET)","volume":"127 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-03-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 International Conference on Wireless Communications, Signal Processing and Networking (WiSPNET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WISPNET.2016.7566483","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

Abstract

In CPU scheduling various algorithms exist like FCFS (First come first serve), SJF (Shortest job first), SRTF (Shortest remaining time first), Priority Scheduling, Round Robin (RR), MLQ (Multilevel queue), MLFQ (Multilevel feedback queue) scheduling. Multilevel Feedback Queue (MLFQ) algorithm allows the switching of processes between queues depending on their burst time. The processes switch to the next queue when burst time is greater than time quantum. Each queue can define its own scheduling policy. In this paper we have implemented MLFQ technique using small burst time for the first queue thus making it analogous to RR scheduling and using SJF prior to RR from second queue onwards gives better CPU utilization. Dynamic time quantum is also used which further improves the efficiency of the scheduling. Here the dynamic time quantum of the queues is calculated based on the burst time of the processes. Time quantum of the second queue is the burst time of the (2n/3)th process (where n is the number of processes remaining after the execution in the first queue) and time quantum of the third queue is burst time of the largest remaining process. Thus 66% of the processes get executed in the second queue and remaining processes in the last queue thus preventing the problem of starvation of huge burst time processes.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多级反馈队列调度的高效实现
在CPU调度中存在各种算法,如FCFS(先到先服务),SJF(最短作业优先),SRTF(最短剩余时间优先),优先级调度,轮询(RR), MLQ(多级队列),MLFQ(多级反馈队列)调度。多层反馈队列(MLFQ)算法允许进程根据突发时间在队列之间进行切换。当突发时间大于时间量时,进程切换到下一个队列。每个队列都可以定义自己的调度策略。在本文中,我们对第一个队列使用小突发时间实现了MLFQ技术,从而使其类似于RR调度,并且从第二个队列开始在RR之前使用SJF可以获得更好的CPU利用率。采用动态时间量子,进一步提高了调度效率。这里,队列的动态时间量是根据进程的突发时间计算的。第二个队列的时间量为第(2n/3)个进程的突发时间(其中n为第一个队列执行后剩余进程数),第三个队列的时间量为剩余最大进程的突发时间。因此,66%的进程在第二个队列中执行,其余的进程在最后一个队列中执行,从而防止了大量突发时间进程的饥饿问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Game theory based mitigation of Interest flooding in Named Data Network Survey on the nonlinearity of Boolean functions Hilbert transform based edge detection approach for wideband spectrum sensing in cognitive radios A novel rectangular patch antenna with double L-probe fed for RADAR altimeter application Network localization with noisy distances by non-convex optimization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1