抢占式优先 CPU 调度算法的仿真与建模

Tri Dharma Putra, Rakhmat Purnomo
{"title":"抢占式优先 CPU 调度算法的仿真与建模","authors":"Tri Dharma Putra, Rakhmat Purnomo","doi":"10.33395/sinkron.v9i3.13352","DOIUrl":null,"url":null,"abstract":"A model is a representation of an idea, thing or object in a simplified form. Model contains information about a system that is created with the aim of studying the actual system. Simulation is an imitation of system using a computer model. In this journal simulation is done by using OS-SIM, an operating system simulator. Process scheduling in an important part in operating systems. Several scheduling algorithms exist in the field. Shortest job first, round robin, first come first serve, priority and all of their variants. In this journal discussion about pre-emptive priority scheduling algorithm is presented thoroughly. Pre-emptive priority scheduling algorithm is an algorithm based on priority. The higher the number of the priority, the higher the priority. Five processes are available and given. Each with burst time, priority and different arrival times. Simulation and modelling with OS-SIM are discussed to understand this algorithm more easily. Some statistics numbers in the system are calculated automatically by the OS-SIM. Some screen shot pictures of the simulator are given to describe the model. It is concluded that for these processes the average turnaround time is 42/5 = 8.4 ms and for average waiting time is 28/5=5.6 ms and the total burst time is 14 ms.","PeriodicalId":34046,"journal":{"name":"Sinkron","volume":"25 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Simulation and Modelling of Pre-emptive Priority CPU Scheduling Algorithm\",\"authors\":\"Tri Dharma Putra, Rakhmat Purnomo\",\"doi\":\"10.33395/sinkron.v9i3.13352\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A model is a representation of an idea, thing or object in a simplified form. Model contains information about a system that is created with the aim of studying the actual system. Simulation is an imitation of system using a computer model. In this journal simulation is done by using OS-SIM, an operating system simulator. Process scheduling in an important part in operating systems. Several scheduling algorithms exist in the field. Shortest job first, round robin, first come first serve, priority and all of their variants. In this journal discussion about pre-emptive priority scheduling algorithm is presented thoroughly. Pre-emptive priority scheduling algorithm is an algorithm based on priority. The higher the number of the priority, the higher the priority. Five processes are available and given. Each with burst time, priority and different arrival times. Simulation and modelling with OS-SIM are discussed to understand this algorithm more easily. Some statistics numbers in the system are calculated automatically by the OS-SIM. Some screen shot pictures of the simulator are given to describe the model. It is concluded that for these processes the average turnaround time is 42/5 = 8.4 ms and for average waiting time is 28/5=5.6 ms and the total burst time is 14 ms.\",\"PeriodicalId\":34046,\"journal\":{\"name\":\"Sinkron\",\"volume\":\"25 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-08\",\"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.v9i3.13352\",\"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.v9i3.13352","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

模型是一个概念、事物或对象的简化表示。模型包含系统信息,创建模型的目的是研究实际系统。模拟是使用计算机模型对系统进行模仿。在本期刊中,模拟是通过操作系统模拟器 OS-SIM 来完成的。进程调度是操作系统的重要组成部分。该领域有多种调度算法。最短工作优先、循环、先到先得、优先及其所有变体。本期刊将对抢占式优先调度算法进行深入探讨。抢先优先调度算法是一种基于优先级的算法。优先级数字越大,优先级就越高。现有五个进程,每个进程都有突发时间、优先级和不同的优先级。每个进程都有突发时间、优先级和不同的到达时间。为了更容易理解这种算法,我们讨论了使用 OS-SIM 进行模拟和建模的问题。系统中的一些统计数据由 OS-SIM 自动计算。为描述模型,给出了一些模拟器的屏幕截图。得出的结论是,这些流程的平均周转时间为 42/5=8.4 毫秒,平均等待时间为 28/5=5.6 毫秒,总突发时间为 14 毫秒。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Simulation and Modelling of Pre-emptive Priority CPU Scheduling Algorithm
A model is a representation of an idea, thing or object in a simplified form. Model contains information about a system that is created with the aim of studying the actual system. Simulation is an imitation of system using a computer model. In this journal simulation is done by using OS-SIM, an operating system simulator. Process scheduling in an important part in operating systems. Several scheduling algorithms exist in the field. Shortest job first, round robin, first come first serve, priority and all of their variants. In this journal discussion about pre-emptive priority scheduling algorithm is presented thoroughly. Pre-emptive priority scheduling algorithm is an algorithm based on priority. The higher the number of the priority, the higher the priority. Five processes are available and given. Each with burst time, priority and different arrival times. Simulation and modelling with OS-SIM are discussed to understand this algorithm more easily. Some statistics numbers in the system are calculated automatically by the OS-SIM. Some screen shot pictures of the simulator are given to describe the model. It is concluded that for these processes the average turnaround time is 42/5 = 8.4 ms and for average waiting time is 28/5=5.6 ms and the total burst time is 14 ms.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
204
审稿时长
4 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信