Enhancing Adaptive Mixed-Criticality Scheduling with Deep Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mendes, Bruno, Souto, Pedro F., Diniz, Pedro C.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913569713422336
author Mendes, Bruno
Souto, Pedro F.
Diniz, Pedro C.
author_facet Mendes, Bruno
Souto, Pedro F.
Diniz, Pedro C.
contents Adaptive Mixed-Criticality (AMC) is a fixed-priority preemptive scheduling algorithm for mixed-criticality hard real-time systems. It dominates many other scheduling algorithms for mixed-criticality systems, but does so at the cost of occasionally dropping jobs of less important/critical tasks, when low-priority jobs overrun their time budgets. In this paper we enhance AMC with a deep reinforcement learning (DRL) approach based on a Deep-Q Network. The DRL agent is trained off-line, and at run-time adjusts the low-criticality budgets of tasks to avoid budget overruns, while ensuring that no job misses its deadline if it does not overrun its budget. We have implemented and evaluated this approach by simulating realistic workloads from the automotive domain. The results show that the agent is able to reduce budget overruns by at least up to 50%, even when the budget of each task is chosen based on sampling the distribution of its execution time. To the best of our knowledge, this is the first use of DRL in AMC reported in the literature.
format Preprint
id arxiv_https___arxiv_org_abs_2411_00572
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing Adaptive Mixed-Criticality Scheduling with Deep Reinforcement Learning
Mendes, Bruno
Souto, Pedro F.
Diniz, Pedro C.
Operating Systems
Machine Learning
68T07
D.4.7; D.4.1
Adaptive Mixed-Criticality (AMC) is a fixed-priority preemptive scheduling algorithm for mixed-criticality hard real-time systems. It dominates many other scheduling algorithms for mixed-criticality systems, but does so at the cost of occasionally dropping jobs of less important/critical tasks, when low-priority jobs overrun their time budgets. In this paper we enhance AMC with a deep reinforcement learning (DRL) approach based on a Deep-Q Network. The DRL agent is trained off-line, and at run-time adjusts the low-criticality budgets of tasks to avoid budget overruns, while ensuring that no job misses its deadline if it does not overrun its budget. We have implemented and evaluated this approach by simulating realistic workloads from the automotive domain. The results show that the agent is able to reduce budget overruns by at least up to 50%, even when the budget of each task is chosen based on sampling the distribution of its execution time. To the best of our knowledge, this is the first use of DRL in AMC reported in the literature.
title Enhancing Adaptive Mixed-Criticality Scheduling with Deep Reinforcement Learning
topic Operating Systems
Machine Learning
68T07
D.4.7; D.4.1
url https://arxiv.org/abs/2411.00572