Bounding worst case garbage collection time for embedded real-time systems

Taehyoun Kim, N. Chang, Heonshik Shin
{"title":"Bounding worst case garbage collection time for embedded real-time systems","authors":"Taehyoun Kim, N. Chang, Heonshik Shin","doi":"10.1109/RTTAS.2000.852450","DOIUrl":null,"url":null,"abstract":"Execution of programs with various data structures often requires dynamic memory management based on garbage collection for better productivity, robustness and program integrity. In spite of its benefits, garbage collection has not been widely used in embedded real-time systems partly because it often causes unpredictable pause delay. Guaranteeing real-time operations with garbage collection aims to bound and estimate the worst case computation time of a garbage collector as well as application tasks. We introduce a new technique for bounding and estimating the worst case garbage collection time in light of task scheduling. Since the worst case live memory is the dominant factor to determine the worst case garbage collection time, we quantify the worst case live memory using the states of periodic tasks. We also present a predictable real-time copying collection algorithm in order to assess the effectiveness of the proposed approach. Performance evaluation shows that the proposed approach provides a safe and effective bound on the garbage collection time, thus reducing the upper bound of live memory size by up to 35% compared with the trivial bound. It also demonstrates that our algorithm can accomplish 7/spl sim/14% reduction in the memory requirement.","PeriodicalId":333394,"journal":{"name":"Proceedings Sixth IEEE Real-Time Technology and Applications Symposium. RTAS 2000","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2000-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"19","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings Sixth IEEE Real-Time Technology and Applications Symposium. RTAS 2000","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTTAS.2000.852450","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 19

Abstract

Execution of programs with various data structures often requires dynamic memory management based on garbage collection for better productivity, robustness and program integrity. In spite of its benefits, garbage collection has not been widely used in embedded real-time systems partly because it often causes unpredictable pause delay. Guaranteeing real-time operations with garbage collection aims to bound and estimate the worst case computation time of a garbage collector as well as application tasks. We introduce a new technique for bounding and estimating the worst case garbage collection time in light of task scheduling. Since the worst case live memory is the dominant factor to determine the worst case garbage collection time, we quantify the worst case live memory using the states of periodic tasks. We also present a predictable real-time copying collection algorithm in order to assess the effectiveness of the proposed approach. Performance evaluation shows that the proposed approach provides a safe and effective bound on the garbage collection time, thus reducing the upper bound of live memory size by up to 35% compared with the trivial bound. It also demonstrates that our algorithm can accomplish 7/spl sim/14% reduction in the memory requirement.
嵌入式实时系统的最坏情况垃圾收集时间边界
执行具有各种数据结构的程序通常需要基于垃圾收集的动态内存管理,以提高生产率、健壮性和程序完整性。尽管垃圾收集有很多好处,但它并没有在嵌入式实时系统中得到广泛应用,部分原因是它经常导致不可预测的暂停延迟。保证垃圾收集的实时操作旨在约束和估计垃圾收集器和应用程序任务的最坏情况计算时间。本文介绍了一种基于任务调度的最坏情况垃圾收集时间边界和估计的新技术。由于最坏情况下的活动内存是决定最坏情况下垃圾收集时间的主要因素,因此我们使用周期性任务的状态来量化最坏情况下的活动内存。我们还提出了一个可预测的实时复制收集算法,以评估所提出的方法的有效性。性能评估表明,所提出的方法提供了一个安全有效的垃圾收集时间边界,从而将活动内存大小的上限与普通边界相比减少了35%。实验还表明,我们的算法可以实现7/spl sim/14%的内存需求降低。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书