计算机科学 ›› 2023, Vol. 50 ›› Issue (6A): 220800215-5.doi: 10.11896/jsjkx.220800215

• 软件&交叉 • 上一篇    下一篇

基于混合关键系统的容器调度架构设计

邓广宏, 张棋恒   

  1. 武汉数字工程研究所 武汉 430205
  • 出版日期:2023-06-10 发布日期:2023-06-12
  • 通讯作者: 张棋恒(335428101@qq.com)
  • 作者简介:(stephenden@163.com)

Container-based Scheduling Architecture for Mixed-Criticality Systems

DENG Guanghong, ZHANG Qiheng   

  1. Wuhan Digital Engineering Institute,Wuhan 430205,China
  • Online:2023-06-10 Published:2023-06-12
  • About author:DENG Guanghong,born in 1981,Ph.D,professor.His main research interests include cloud computing,virtualization,AI and ship electronic information system. ZHANG Qiheng,born in 1998,postgra-duate.His main research interests include cloud computing and container technology.

摘要: 针对实时容器和非实时容器混合的关键任务系统中的容器调度的实时性保障问题以及CPU资源的分配问题,提出了一种实时/非实时容器混合关键系统的容器调度架构,基于分层调度模型调度容器控制组的实时运行队列,并限制了非实时容器分配的系统资源,来确保每个实时容器的实时性;同时增加负载监控和均衡策略,在保证实时性的条件下对非实时容器占用的CPU资源进行合理分配。实验结果表明,该方法解决了实时容器和非实时容器混用情况下调度机制对实时容器造成的实时性降低问题。

关键词: 混合关键系统, 实时容器, CPU调度, Docker, Linux

Abstract: The mixed-criticality systems composed of real-time containers and non-real-time containers have difficulties in ensuring the real time of scheduling and the allocation of cpu resources.In this paper,we present an architecture of scheduling RT containers and NRT containers for mixed-criticality systems,which is based on the hierachical scheduler to schedule the runqueues of the container control groups.By this means,our architecture ensures the real-time of RT containers by limiting system resources to NRT containers.We also add monitor and load balancer for workloads to ensure equitable allocation of CPU resources occupied by NRT containers.Experimental results show that the proposed architecture can improve the degradation of real-time in RT containers when RT containers coexist with NRT containers in mixed-criticality systems.

Key words: Mixed-criticality system, Real-time container, CPU scheduling, Docker, Linux

中图分类号: 

  • TP393
[1]HOFER F,SEHR M A,IANNOPOLLO A,et al.Industrial control via application containers:Migrating from bare-metal to IAAS[J].arXiv:1908.04465,2019.
[2]CINQUE M,DELLA CORTE R,ELISO A,et al.Rt-cases:Container-based virtualization for temporally separated mixed-criticality task sets[C]//31st Euromicro Conference on Real-Time Systems(ECRTS 2019).Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik,2019.
[3]LI X C.Overview of SylixOS Safty Container[J].Microcontrollers & Embedded Systems,2021,21(6):4.
[4]STRUHÁR V,BEHNAM M,ASHJAEI M,et al.Real-timecontainers:A survey[C]//2nd Workshop on Fog Computing and the IoT(Fog-IoT 2020).Schloss Dagstuhl-Leibniz-Zentrum für Informatik,2020.
[5]BURNS A,DAVIS R I.A survey of research into mixed critica-lity systems[J].ACM Computing Surveys(CSUR),2017,50(6):1-37.
[6]CINQUE M,DE TOMMASI G.Work-in-Progress:Real-Time Containers for Large-Scale Mixed-Criticality Systems[C]//2017 IEEE Real-Time Systems Symposium(RTSS).IEEE,2017:369-371.
[7]BARLETTA M,CINQUE M,DE SIMONE L,et al.Achieving isolation in mixed-criticality industrial edge systems with real-time containers[C]//34th Euromicro Conference on Real-Time Systems(ECRTS 2022).Schloss Dagstuhl-Leibniz-Zentrum für Informatik,2022.
[8]LELLI J,SCORDINO C,ABENI L,et al.Deadline scheduling in the Linux kernel[J].Software:Practice and Experience,2016,46(6):821-839.
[9]ABENI L,BUTTAZZO G.Integrating multimedia applications in hard real-time systems[C]//Proceedings 19th IEEE Real-Time Systems Symposium(Cat.No.98CB36279).IEEE,1998:4-13.
[10]GERUM P.Xenomai-Implementing a RTOS emulationframe-work on GNU/Linux[J/OL].http://xenomai.org/documentaion/xenomai-2.0/pdf/xenomai.pdf.
[11]ABENI L,BALSINI A,CUCINOTTA T.Container-based real-time scheduling in the linux kernel[J].ACM SIGBED Review,2019,16(3):33-38.
[12]WONG C S,TAN I,KUMARI R D,et al.Towards achieving fairness in the Linux scheduler[J].ACM SIGOPS Operating Systems Review,2008,42(5):34-43.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!