• DocumentCode
    729431
  • Title

    Minimizing Cache Overhead via Loaded Cache Blocks and Preemption Placement

  • Author

    Cavicchio, John ; Tessler, Corey ; Fisher, Nathan

  • Author_Institution
    Wayne State Univ., Detroit, MI, USA
  • fYear
    2015
  • fDate
    8-10 July 2015
  • Firstpage
    163
  • Lastpage
    173
  • Abstract
    Schedulability analysis for real-time systems has been the subject of prominent research over the past several decades. One of the key foundations of schedulability analysis is an accurate worst case execution time (WCET) measurement for each task. In real-time systems that support preemption, the cache related preemption delay (CRPD) can represent a significant component (up to 44% as documented in research literature) [1] -- [3] of variability to overall task WCET. Several methods have been employed to calculate CRPD with significant levels of pessimism that may result in a task set erroneously declared as non-schedulable. Furthermore, they do not take into account that CRPD cost is inherently a function of where preemptions actually occur. Our approach for computing CRPD via loaded cache blocks (LCBs) is more accurate in the sense that cache state reflects which cache blocks and the specific program locations where they are reloaded. Limited preemption models attempt to minimize preemption overhead (CRPD) by reducing the number of allowed preemptions and/or allowing preemption at program locations where the CRPD effect is minimized. These algorithms rely heavily on accurate CRPD measurements or estimation models in order to identify an optimal set of preemption points. Our approach improves the effectiveness of limited optimal preemption point placement algorithms by calculating the LCBs for each pair of adjacent preemptions to more accurately model task WCET and maximize schedulability as compared to existing preemption point placement approaches. We propose an optimal preemption point placement algorithm using dynamic programming. Lastly, we will demonstrate, using a case study, improved task set schedulability and optimal preemption point placement via our new LCB characterization.
  • Keywords
    cache storage; dynamic programming; flow graphs; real-time systems; scheduling; CRPD cost; LCB characterization; WCET measurement; cache overhead; cache related preemption delay; dynamic programming; limited preemption model; loaded cache block; optimal preemption point placement algorithm; preemption overhead; preemption placement; program location; real-time system; schedulability analysis; task set schedulability; worst case execution time; Accuracy; Algorithm design and analysis; Computational modeling; Delays; Nickel; Processor scheduling; Real-time systems; cache-related preemption delay; explicit preemption placement; limited preemption scheduling; scheduability analysis; worst-case execution time;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time Systems (ECRTS), 2015 27th Euromicro Conference on
  • Conference_Location
    Lund
  • Type

    conf

  • DOI
    10.1109/ECRTS.2015.22
  • Filename
    7176035