Accelerating Full-System Simulation through Characterizing and Predicting Operating System Performance

Seongbeom Kim, Fang Liu, Yan Solihin, R. Iyer, Li Zhao, W. Cohen
{"title":"Accelerating Full-System Simulation through Characterizing and Predicting Operating System Performance","authors":"Seongbeom Kim, Fang Liu, Yan Solihin, R. Iyer, Li Zhao, W. Cohen","doi":"10.1109/ISPASS.2007.363731","DOIUrl":null,"url":null,"abstract":"The ongoing trend of increasing computer hardware and software complexity has resulted in the increase in complexity and overheads of cycle-accurate processor system simulation, especially in full-system simulation which not only simulates user applications, but also the operating system (OS) and system libraries. This paper seeks to address how to accelerate full-system simulation through studying, characterizing, and predicting the performance behavior of OS services. Through studying the performance behavior of OS services, we found that each OS service exhibits multiple but limited behavior points that are repeated frequently. OS services also exhibit application-specific performance behavior and largely irregular patterns of occurrences. We exploit the observation to speed up full system simulation. A simulation run is divided into two non-overlapping periods: a learning period in which performance behavior of instances of an OS service are characterized and recorded, and a prediction period in which detailed simulation is replaced with a much faster emulation mode. During a prediction period, the behavior signature of an instance of an OS service is obtained through emulation while performance of the instance is predicted based on its signature and records of the OS service's past performance behavior. Statistically-rigorous algorithms are used to determine when to switch between learning and prediction periods. We test our simulation acceleration method with a set of OS-intensive applications and a recent version of Linux OS running on top of a detailed processor and memory hierarchy model implemented on Simics, a popular full-system simulator. On average, the method needs the learning periods to cover only 11% of OS service invocations in order to produce highly accurate performance estimates. This leads to an estimated simulation speedup of 4.9times, with an average performance prediction error of only 3.2%, and a worst case error of 4.2%","PeriodicalId":439151,"journal":{"name":"2007 IEEE International Symposium on Performance Analysis of Systems & Software","volume":"23 4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-04-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2007 IEEE International Symposium on Performance Analysis of Systems & Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPASS.2007.363731","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

The ongoing trend of increasing computer hardware and software complexity has resulted in the increase in complexity and overheads of cycle-accurate processor system simulation, especially in full-system simulation which not only simulates user applications, but also the operating system (OS) and system libraries. This paper seeks to address how to accelerate full-system simulation through studying, characterizing, and predicting the performance behavior of OS services. Through studying the performance behavior of OS services, we found that each OS service exhibits multiple but limited behavior points that are repeated frequently. OS services also exhibit application-specific performance behavior and largely irregular patterns of occurrences. We exploit the observation to speed up full system simulation. A simulation run is divided into two non-overlapping periods: a learning period in which performance behavior of instances of an OS service are characterized and recorded, and a prediction period in which detailed simulation is replaced with a much faster emulation mode. During a prediction period, the behavior signature of an instance of an OS service is obtained through emulation while performance of the instance is predicted based on its signature and records of the OS service's past performance behavior. Statistically-rigorous algorithms are used to determine when to switch between learning and prediction periods. We test our simulation acceleration method with a set of OS-intensive applications and a recent version of Linux OS running on top of a detailed processor and memory hierarchy model implemented on Simics, a popular full-system simulator. On average, the method needs the learning periods to cover only 11% of OS service invocations in order to produce highly accurate performance estimates. This leads to an estimated simulation speedup of 4.9times, with an average performance prediction error of only 3.2%, and a worst case error of 4.2%
通过描述和预测操作系统性能加速全系统仿真
计算机硬件和软件复杂性不断增加的趋势导致周期精确处理器系统仿真的复杂性和开销增加,特别是在不仅模拟用户应用程序,而且模拟操作系统(OS)和系统库的全系统仿真中。本文试图通过研究、描述和预测操作系统服务的性能行为来解决如何加速全系统模拟。通过研究操作系统服务的性能行为,我们发现每个操作系统服务都表现出多个但有限的行为点,这些行为点经常重复。操作系统服务还表现出特定于应用程序的性能行为和大量不规则的出现模式。我们利用观测来加速全系统仿真。模拟运行分为两个互不重叠的阶段:一个是学习阶段,在这个阶段中,操作系统服务实例的性能行为被表征和记录;另一个是预测阶段,在这个阶段中,详细的模拟被更快的模拟模式取代。在预测期间,通过模拟获得操作系统服务实例的行为签名,同时根据其签名和操作系统服务过去性能行为的记录预测实例的性能。使用严格的统计算法来确定何时在学习周期和预测周期之间切换。我们用一组操作系统密集型应用程序和最新版本的Linux操作系统来测试我们的模拟加速方法,这些操作系统运行在Simics(一个流行的全系统模拟器)上实现的详细的处理器和内存层次模型之上。平均而言,该方法只需要学习11%的OS服务调用,就可以产生高度准确的性能估计。这将导致估计的模拟加速提高4.9倍,平均性能预测误差仅为3.2%,最坏情况误差为4.2%
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信