首页    期刊浏览 2025年01月21日 星期二
登录注册

文章基本信息

  • 标题:Lazy Spilling for a Time-Predictable Stack Cache: Implementation and Analysis
  • 本地全文:下载
  • 作者:Sahar Abbaspour ; Alexander Jordan ; Florian Brandner
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2014
  • 卷号:39
  • 页码:83-92
  • DOI:10.4230/OASIcs.WCET.2014.83
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:The growing complexity of modern computer architectures increasingly complicates the prediction of the run-time behavior of software. For real-time systems, where a safe estimation of the program's worst-case execution time is needed, time-predictable computer architectures promise to resolve this problem. A stack cache, for instance, allows the compiler to efficiently cache a program's stack, while static analysis of its behavior remains easy. Likewise, its implementation requires little hardware overhead. This work introduces an optimization of the standard stack cache to avoid redundant spilling of the cache content to main memory, if the content was not modified in the meantime. At first sight, this appears to be an average-case optimization. Indeed, measurements show that the number of cache blocks spilled is reduced to about 17% and 30% in the mean, depending on the stack cache size. Furthermore, we show that lazy spilling can be analyzed with little extra effort, which benefits the worst-case spilling behavior that is relevant for a real-time system.
  • 关键词:Lazy Spilling; Stack Cache; Real-Time Systems; Program Analysis
国家哲学社会科学文献中心版权所有