比较研究:抢占式最短工作先行算法和循环罗宾算法

Rakhmat Purnomo, Tri Dharma Putra
{"title":"比较研究:抢占式最短工作先行算法和循环罗宾算法","authors":"Rakhmat Purnomo, Tri Dharma Putra","doi":"10.33395/sinkron.v8i2.12525","DOIUrl":null,"url":null,"abstract":"Abstract: Operating system is a software acting as an interface between computer hardware and user. Operating system is known as a resource  manager. The main responsibility of operating system is to handle resources of computer system. Scheduling is a key concept in computer multitasking and multiprocessing operating system design by switching the CPU among process. Shortest job first (SJF) and round robin are two wellknown algorithms in CPU processing. For shortest job first, this algorithm can be preemptived. In preemptive shortest job first, when a new process coming in, the process can be interupted. Where with round robin algorithm there will be time slices, context switching, or also called quantum, between process. In this journal we wil discuss comparative study between preemptive shortest job first and round robin algorithms. Three comparative studies will be discussed to understand these two algorithms more deeply. For all comparative study, the average waiting time and average turnaround time is more for round robin algorithm. In the first comparative study, we get average waiting time 52% more. For average turnaround time, 30% more. In second comparative analysis, we get 52 % average waiting time more and we get 35 % average turnaround time more. For third comparative analysis, average waiting time we get 50% more and for average turnaround time, we get 28% more. Thus it is concluded in our comparative study for these kind of data the preemptive shortest job first is more efficient then the round robin algorithm. \n  \nKeywords: comparative study, premptive shortest job first algorithm, round robin algorithm, turn around time, average waiting time, time slice","PeriodicalId":34046,"journal":{"name":"Sinkron","volume":"54 5","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Comparative Study: Preemptive Shortest Job First and Round Robin Algorithms\",\"authors\":\"Rakhmat Purnomo, Tri Dharma Putra\",\"doi\":\"10.33395/sinkron.v8i2.12525\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Abstract: Operating system is a software acting as an interface between computer hardware and user. Operating system is known as a resource  manager. The main responsibility of operating system is to handle resources of computer system. Scheduling is a key concept in computer multitasking and multiprocessing operating system design by switching the CPU among process. Shortest job first (SJF) and round robin are two wellknown algorithms in CPU processing. For shortest job first, this algorithm can be preemptived. In preemptive shortest job first, when a new process coming in, the process can be interupted. Where with round robin algorithm there will be time slices, context switching, or also called quantum, between process. In this journal we wil discuss comparative study between preemptive shortest job first and round robin algorithms. Three comparative studies will be discussed to understand these two algorithms more deeply. For all comparative study, the average waiting time and average turnaround time is more for round robin algorithm. In the first comparative study, we get average waiting time 52% more. For average turnaround time, 30% more. In second comparative analysis, we get 52 % average waiting time more and we get 35 % average turnaround time more. For third comparative analysis, average waiting time we get 50% more and for average turnaround time, we get 28% more. Thus it is concluded in our comparative study for these kind of data the preemptive shortest job first is more efficient then the round robin algorithm. \\n  \\nKeywords: comparative study, premptive shortest job first algorithm, round robin algorithm, turn around time, average waiting time, time slice\",\"PeriodicalId\":34046,\"journal\":{\"name\":\"Sinkron\",\"volume\":\"54 5\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Sinkron\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.33395/sinkron.v8i2.12525\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sinkron","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.33395/sinkron.v8i2.12525","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

摘要: 操作系统是一种软件,是计算机硬件与用户之间的接口。操作系统被称为资源管理器。操作系统的主要职责是处理计算机系统的资源。调度是计算机多任务和多进程操作系统设计中的一个关键概念,它通过在进程间切换中央处理器来实现。最短工作优先(SJF)和循环是 CPU 处理中两种著名的算法。对于最短作业优先算法,可以采用抢占式算法。在抢占式最短作业优先算法中,当有新进程进入时,该进程可以被中断。而在循环算法中,进程之间会有时间片、上下文切换或量子切换。在本期刊中,我们将讨论抢占式最短作业优先算法和循环算法之间的比较研究。为了更深入地理解这两种算法,我们将讨论三项比较研究。在所有比较研究中,轮转算法的平均等待时间和平均周转时间更长。在第一项比较研究中,我们得到的平均等待时间多出 52%。平均周转时间多 30%。在第二项比较分析中,平均等待时间多出 52%,平均周转时间多出 35%。在第三次比较分析中,平均等待时间增加了 50%,平均周转时间增加了 28%。因此,我们的比较研究得出结论,对于此类数据,抢先执行最短作业优先算法比循环算法更有效。 关键词:比较研究、抢先最短作业优先算法、循环算法、周转时间、平均等待时间、时间片
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Comparative Study: Preemptive Shortest Job First and Round Robin Algorithms
Abstract: Operating system is a software acting as an interface between computer hardware and user. Operating system is known as a resource  manager. The main responsibility of operating system is to handle resources of computer system. Scheduling is a key concept in computer multitasking and multiprocessing operating system design by switching the CPU among process. Shortest job first (SJF) and round robin are two wellknown algorithms in CPU processing. For shortest job first, this algorithm can be preemptived. In preemptive shortest job first, when a new process coming in, the process can be interupted. Where with round robin algorithm there will be time slices, context switching, or also called quantum, between process. In this journal we wil discuss comparative study between preemptive shortest job first and round robin algorithms. Three comparative studies will be discussed to understand these two algorithms more deeply. For all comparative study, the average waiting time and average turnaround time is more for round robin algorithm. In the first comparative study, we get average waiting time 52% more. For average turnaround time, 30% more. In second comparative analysis, we get 52 % average waiting time more and we get 35 % average turnaround time more. For third comparative analysis, average waiting time we get 50% more and for average turnaround time, we get 28% more. Thus it is concluded in our comparative study for these kind of data the preemptive shortest job first is more efficient then the round robin algorithm.   Keywords: comparative study, premptive shortest job first algorithm, round robin algorithm, turn around time, average waiting time, time slice
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
204
审稿时长
4 weeks
期刊最新文献
Sales Trend Analysis With Machine Learning Linear Regression Algorithm Method Classification of Breast Cancer with Transfer Learning on Convolutional Neural Network Models Comparison Of Exponesial Smoothing With Linear Regression Predicting Amount Of Goods Sales Decision Support System Using the TOPSIS Method in New Teacher Selection A CNN Model for ODOL Truck Detection
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1