A Framework to Design and Implement Real-time Multicore Schedulers using Machine Learning

Leonardo Passig Horstmann, José Luís Conradi Hoffmann, A. A. Fröhlich
{"title":"A Framework to Design and Implement Real-time Multicore Schedulers using Machine Learning","authors":"Leonardo Passig Horstmann, José Luís Conradi Hoffmann, A. A. Fröhlich","doi":"10.1109/ETFA.2019.8869545","DOIUrl":null,"url":null,"abstract":"In this paper, we introduce a Framework to Design and Implement Real-time Multicore Schedulers using Machine Learning techniques applied to the very own data such systems produce as they operate. The framework builds on sensors and event counters present in modern hardware platforms and on variables kept by the operating system to capture run-time data that are subsequently subjected to ML tools to produce scheduling heuristics targeting specific optimization goals. It provides non-intrusive mechanisms to collect such data while the system runs real task sets with real workloads, thus preserving the quality of the captured data. It abstracts the Performance Monitoring Unit, thermal sensing, energy monitoring, and Dynamic Voltage and Frequency Scaling available on such platforms through a lean, architecture-independent API. After describing the framework in details, we demonstrate its applicability with the implementation of an energy-efficient, load balancing, real-time, multicore heuristic for a PEDF scheduler. The measured overhead imposed by the framework on the tasks it schedule is at most 0,0003583% and the maximum added jitter is less than 40μs, corroborating the ability of the framework to support the development of effective domain-specific schedulers using machine learning techniques.","PeriodicalId":6682,"journal":{"name":"2019 24th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA)","volume":"1 1","pages":"251-258"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 24th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ETFA.2019.8869545","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

In this paper, we introduce a Framework to Design and Implement Real-time Multicore Schedulers using Machine Learning techniques applied to the very own data such systems produce as they operate. The framework builds on sensors and event counters present in modern hardware platforms and on variables kept by the operating system to capture run-time data that are subsequently subjected to ML tools to produce scheduling heuristics targeting specific optimization goals. It provides non-intrusive mechanisms to collect such data while the system runs real task sets with real workloads, thus preserving the quality of the captured data. It abstracts the Performance Monitoring Unit, thermal sensing, energy monitoring, and Dynamic Voltage and Frequency Scaling available on such platforms through a lean, architecture-independent API. After describing the framework in details, we demonstrate its applicability with the implementation of an energy-efficient, load balancing, real-time, multicore heuristic for a PEDF scheduler. The measured overhead imposed by the framework on the tasks it schedule is at most 0,0003583% and the maximum added jitter is less than 40μs, corroborating the ability of the framework to support the development of effective domain-specific schedulers using machine learning techniques.
利用机器学习设计和实现实时多核调度程序的框架
在本文中,我们介绍了一个使用机器学习技术设计和实现实时多核调度器的框架,该技术应用于系统运行时产生的数据。该框架建立在现代硬件平台中存在的传感器和事件计数器以及操作系统保留的变量的基础上,以捕获运行时数据,这些数据随后受到ML工具的约束,以产生针对特定优化目标的调度启发式。它提供非侵入性机制,在系统运行具有真实工作负载的真实任务集时收集此类数据,从而保持捕获数据的质量。它通过一个精简的、与架构无关的API,抽象了这些平台上可用的性能监控单元、热传感、能量监控和动态电压和频率缩放。在详细描述了该框架之后,我们演示了其在PEDF调度程序中实现节能、负载平衡、实时、多核启发式的适用性。测试结果表明,该框架对调度任务的开销最多为0 0003583%,最大添加抖动小于40μs,验证了该框架支持使用机器学习技术开发有效的特定领域调度程序的能力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书