• DocumentCode
    3142531
  • Title

    Investigation of Scratchpad Memory for Preemptive Multitasking

  • Author

    Whitham, Jack ; Davis, Robert I. ; Audsley, Neil C. ; Altmeyer, Sebastian ; Maiza, Claire

  • Author_Institution
    Real-time Syst. Group, Univ. of York, York, UK
  • fYear
    2012
  • fDate
    4-7 Dec. 2012
  • Firstpage
    3
  • Lastpage
    13
  • Abstract
    We present a multitasking scratchpad memory reuse scheme (MSRS) for the dynamic partitioning of scratchpad memory between tasks in a preemptive multitasking system. We specify a means to compute the worst-case response time (WCRT) and schedulability of task sets executed using MSRS. Our scratchpad-related preemption delay (SRPD) is an analog of cache-related preemption delay (CRPD), proposed in previous work as a way to compute the worst-case cost imposed upon a preempted task by preemption in a multitasking system. Unlike CRPD, however, SRPD is independent of the number of tasks and the local memory size. We compare SRPD with CRPD by experiment and determine that neither dominates the other, i.e. either may be better for certain task sets. However, MSRS leads to improved schedulability versus cache when contention for local memory space is high, either because the local memory size is small, or because the task set is large, provided that the cost of loading blocks from external memory to scratchpad is similar to the cost of loading blocks into cache.
  • Keywords
    cache storage; multiprogramming; CRPD; MSRS; SRPD; WCRT; cache-related preemption delay; multitasking scratchpad memory reuse scheme; preemptive multitasking system; schedulability; scratchpad-related preemption delay; worst-case response time; Delay; Equations; Field programmable gate arrays; Hardware; Multitasking; Switches; Time factors;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time Systems Symposium (RTSS), 2012 IEEE 33rd
  • Conference_Location
    San Jan
  • ISSN
    1052-8725
  • Print_ISBN
    978-1-4673-3098-5
  • Type

    conf

  • DOI
    10.1109/RTSS.2012.54
  • Filename
    6424786