CPU scheduling determines which runnable process receives the processor and directly affects system responsiveness, fairness, and overall performance. Although many scheduling policies have been extensively studied and implemented, their correctness is typically justified through informal reasoning, examples, or simulations rather than machine-checked proofs. Existing formal verification efforts also focus predominantly on real-time scheduling, leaving general-purpose scheduling policies comparatively underexplored. This paper formalizes six general-purpose scheduler policies in Rocq: FIFO, SJF, Lottery, MLFQ, Stride, and CFS. By policy, we mean the rule used to choose the next runnable process and, for state-transforming models, update scheduler state. Beyond formalizing the schedulers individually, we compare their verified properties and identify recurring proof patterns across scheduler families. FIFO, SJF, Stride, and list-based CFS share a minimum-key proof pattern, MLFQ follows a layered-priority proof pattern, and Lottery follows a ticket-interval proof pattern. We formalize these proof patterns in Rocq, enabling proof reuse while allowing each scheduler to retain its own mathematical model. To the best of our knowledge, this work provides the first interactive-theorem-prover formalizations of MLFQ, Lottery, and Stride schedulers, together with CFS-style virtual-runtime scheduling as standalone general-purpose scheduler policies. We also include a CFS variant based on Rocq's verified red-black-tree library. The entire development is checked by Rocq without unfinished proofs or additional trusted assumptions, i.e., every theorem is accepted by the Rocq kernel.


翻译:暂无翻译

0
下载
关闭预览

相关内容

中央处理器(CPU,Central Processing Unit),电子计算机的主要设备之一。其功能主要是解释计算机指令以及处理计算机软件中的数据。
集成智能系统评价框架与应用研究
专知会员服务
70+阅读 · 2023年9月13日
片上系统SOC芯片研究框架,93页ppt
专知会员服务
109+阅读 · 2022年9月12日
专知会员服务
19+阅读 · 2021年6月29日
【硬核书】Linux核心编程|Linux Kernel Programming,741页pdf
专知会员服务
80+阅读 · 2021年3月26日
FlowQA: Grasping Flow in History for Conversational Machine Comprehension
专知会员服务
35+阅读 · 2019年10月18日
【APC】先进过程控制系统(APC: Advanced Process Control)
产业智能官
69+阅读 · 2020年7月12日
【泡泡一分钟】在CPU上进行实时无监督单目深度估计
泡泡机器人SLAM
17+阅读 · 2019年5月10日
【泡泡图灵智库】基于CPU的实时6D物体姿态估计(arXiv)
泡泡机器人SLAM
12+阅读 · 2019年1月26日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
干货|从LSTM到Seq2Seq
全球人工智能
15+阅读 · 2018年1月9日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
11+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
10+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
6+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关资讯
【APC】先进过程控制系统(APC: Advanced Process Control)
产业智能官
69+阅读 · 2020年7月12日
【泡泡一分钟】在CPU上进行实时无监督单目深度估计
泡泡机器人SLAM
17+阅读 · 2019年5月10日
【泡泡图灵智库】基于CPU的实时6D物体姿态估计(arXiv)
泡泡机器人SLAM
12+阅读 · 2019年1月26日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
干货|从LSTM到Seq2Seq
全球人工智能
15+阅读 · 2018年1月9日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员