• DocumentCode
    2834715
  • Title

    Optimal Program Partitioning for Predictable Performance

  • Author

    Whitham, Jack ; Audsley, Neil

  • fYear
    2012
  • fDate
    11-13 July 2012
  • Firstpage
    122
  • Lastpage
    131
  • Abstract
    Scratchpad memory (SPM) provides a predictable and energy efficient way to store program instructions and data. It would be ideal for embedded real-time systems if not for the practical difficulty that most programs have to be modified in source or binary form in order to use it effectively. This modification process is called partitioning, and it splits a large program into sub-units called regions that are small enough to be stored in SPM. Earlier papers on this subject have only considered regions formed around program structures, such as loops, methods and even entire tasks. Region formation and SPM allocation are performed in two separate steps. This is an approximation that does not make best use of SPM. In this paper, we propose a k-partitioning algorithm as a new way to solve the problem. This allows us to carry out region formation and SPM allocation simultaneously. We can generate optimal partitions for programs expressed either as call trees or by a restricted form of control-flow graph (CFG). We show that this approach obtains superior results to the previous two-step approach. We apply our algorithm to various programs and SPM sizes and show that it reduces the execution time cost for executing those programs relative to execution with cache.
  • Keywords
    Algorithm design and analysis; Approximation algorithms; Dynamic scheduling; Heuristic algorithms; Partitioning algorithms; Prediction algorithms; Resource management;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time Systems (ECRTS), 2012 24th Euromicro Conference on
  • Conference_Location
    Pisa, Italy
  • ISSN
    1068-3070
  • Print_ISBN
    978-1-4673-2032-0
  • Type

    conf

  • DOI
    10.1109/ECRTS.2012.18
  • Filename
    6257565