• Home
  • Search
  • Minimizing cache usage with fixed-priority and earliest deadline first scheduling
  • Cite Icon3
  • https://doi.org/10.1007/s11241-024-09423-7Copy DOI Icon

Minimizing cache usage with fixed-priority and earliest deadline first scheduling

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Cache partitioning is a technique to reduce interference among tasks running on the processors with shared caches. To make this technique effective, cache segments should be allocated to tasks that will benefit the most from having their data and instructions stored in the cache. The requests for cached data and instructions can be retrieved faster from the cache memory instead of fetching them from the main memory, thereby reducing overall execution time. The existing partitioning schemes for real-time systems divide the available cache among the tasks to guarantee their schedulability as the sole and primary optimization criterion. However, it is also preferable, particularly in systems with power constraints or mixed criticalities where low- and high-criticality workloads are executing alongside, to reduce the total cache usage for real-time tasks. Cache minimization as part of design space exploration can also help in achieving optimal system performance and resource utilization in embedded systems. In this paper, we develop optimization algorithms for cache partitioning that, besides ensuring schedulability, also minimize cache usage. We consider both preemptive and non-preemptive scheduling policies on single-processor systems with fixed- and dynamic-priority scheduling algorithms (Rate Monotonic (RM) and Earliest Deadline First (EDF), respectively). For preemptive scheduling, we formulate the problem as an integer quadratically constrained program and propose an efficient heuristic achieving near-optimal solutions. For non-preemptive scheduling, we combine linear and binary search techniques with different fixed-priority schedulability tests and Quick Processor-demand Analysis (QPA) for EDF. Our experiments based on synthetic task sets with parameters from real-world embedded applications show that the proposed heuristic: (i) achieves an average optimality gap of 0.79% within 0.1× run time of a mathematical programming solver and (ii) reduces average cache usage by 39.15% compared to existing cache partitioning approaches. Besides, we find that for large task sets with high utilization, non-preemptive scheduling can use less cache than preemptive to guarantee schedulability.

Loading PDF

Similar Papers
  • Conference Article
  • Citations2

A Robust Scheduling Algorithm for Overload-Tolerant Real-Time Systems

  • May 01, 2023
  • Amin Avan +2
  • Video Transcripts

Removing bias from the judgment day: A Ravenscar-based toolbox for quantitative comparison of EDF-to-RM uniprocessor scheduling

  • May 26, 2021
  • Underline Science Inc.
  • Tullio Vardanega +1
  • Conference Article

Performance Evaluation of Primary Backup Fault Tolerant Scheduling for Single Processor Systems

  • Jun 01, 2018
  • Abhijit Dhandha +1
  • Conference Article
  • Citations2

<title>Scheduling of multimedia traffic for continuous media in packet-switched networks</title>

  • Jan 24, 1997
  • Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE
  • Ara Khil +1
  • Research Article
  • Citations5

Delay and size‐dependent priority‐aware scheduling for IoT‐based healthcare traffic using heterogeneous multi‐server priority queueing system

  • Aug 24, 2023
  • IET Communications
  • Barbara Kabwiga Asingwire +3
  • Conference Article
  • Citations3

EDF Feasibility Conditions with Kernel Overheads on an Event Driven OSEK System

  • Apr 01, 2008
  • Franck Bimbard +1
  • Book Chapter
  • Citations1

A Compositional Framework for Real-Time Guarantees

  • Jan 01, 2006
  • Insik Shin +1
  • Conference Article

Impact of Process Load on Real Time System Performance

  • Mar 01, 2019
  • Sandeep S Chapalkar +1
  • Conference Article
  • Citations9

Integration of Cache Partitioning and Preemption Threshold Scheduling to Improve Schedulability of Hard Real-Time Systems

  • Jul 01, 2015
  • Chao Wang +2
  • Conference Article
  • Citations227

Improved Schedulability Analysis of EDF on Multiprocessor Platforms

  • Jul 06, 2005
  • M Bertogna +2
  • Research Article
  • Citations18

Workload-Efficient Deadline and Period Assignment for Maintaining Temporal Consistency under EDF

  • Jun 01, 2013
  • IEEE Transactions on Computers
  • Jianjun Li +4
  • Conference Article
  • Citations5

Optimal Tasks and Messages Scheduling for Asynchronous Networked Control Systems

  • Aug 01, 2007
  • Ning Liu +2
  • Conference Article
  • Citations12

Adaptive Scheduling Algorithm for Real-Time Multiprocessor Systems

  • Mar 01, 2009
  • Apurva Shah +1
  • Research Article
  • Citations1

Simulation Research on EDF Scheduling Algorithm of CAN Network Based on OPNET

  • Jan 03, 2012
  • Advanced Materials Research
  • Jie Chang Wu +2
  • Research Article
  • Citations28

An Elastic Mixed-Criticality Task Model and Early-Release EDF Scheduling Algorithms

  • Dec 28, 2016
  • ACM Transactions on Design Automation of Electronic Systems
  • Hang Su +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.