错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

An MDP-based solution for the energy minimization of non-clairvoyant hard real-time systems

  • Bruno Gaujal,
  • Alain Girault,
  • Stéphan Plassart

摘要

We address the problem of scheduling a possibly infinite sequence of hard real-time jobs on a single-core processor, with the dual goal that (1) all the jobs must finish before their deadline, and (2) the energy consumption must be minimized. The decision variable is the speed of the processor at each time instant, to be chosen from a finite set of available speeds. Our goal is to design a speed policy in charge of deciding, at each time instant, the speed of the processor in function of the job characteristics. We focus more specifically on the non-clairvoyant case, meaning that the actual size of the jobs (the amount of work to be done to complete the job) is unknown when they are released, but its probability distribution is known, and of course, the maximal size is known too. In this context, we propose two new speed policies, the optimal solution of a Markov Decision Process (called \(\textrm{MOSP}\) MOSP ), and a heuristic speed policy called Expected Load ( \(\textrm{EL}\) EL ), obtained by adapting the classical policy Optimal Available ( \(\textrm{OA}\) OA ) to jobs with random sizes. Our \(\textrm{MOSP}\) MOSP algorithm is split in two phases: the first phase is offline — it computes the optimal processor speed for each possible system state — while the second phase is online — it retrieves the speed to apply to the processor thanks to a table lookup. Compared with the existing speed policies from the literature, \(\textrm{MOSP}\) MOSP achieves the optimal energy consumption but at the cost of a significant state space size. In contrast, \(\textrm{EL}\) EL achieves an energy consumption that is, on average, close to the optimal one obtained with \(\textrm{MOSP}\) MOSP , but at almost no cost in terms of state space.