Tracing Time Operating System State Determination

Jean-Hugues Deschênes, M. Desnoyers, M. Dagenais
{"title":"Tracing Time Operating System State Determination","authors":"Jean-Hugues Deschênes, M. Desnoyers, M. Dagenais","doi":"10.2174/1874107X00802010040","DOIUrl":null,"url":null,"abstract":"In recent years, tracing operating system behavior by recording kernel events has proven to be a particularly ef- fective tool. However, when used to characterize the system's behavior through time, including its state, the list of state transitions that the kernel events represent is not sufficient to characterize the state for the entire data acquisition period. The initial operating system state, when tracing starts, is also required. The challenge lies in obtaining a complete snapshot of the initial state, while minimizing the impact on the system being traced. This impact may be in terms of CPU or disk I/O consumption, instrumentation memory, or burst activity at trace start time detrimental to the real-time response. Such impact is especially disturbing on small real-time limited resources embedded systems. In this paper, we will propose an efficient approach to extract such initial state information and discuss the software mod- ule we have developed to provide the aforementioned data to the LTTng tracing tool and its accompanying viewer, LTTV. This module not only improves LTTV's accuracy by providing the initial state of all processes in the system, but also pro- vides an inventory of relevant kernel objects at minimal cost, without increasing noticeably the interrupt latency.","PeriodicalId":262856,"journal":{"name":"The Open Software Engineering Journal","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-01-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Open Software Engineering Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2174/1874107X00802010040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

In recent years, tracing operating system behavior by recording kernel events has proven to be a particularly ef- fective tool. However, when used to characterize the system's behavior through time, including its state, the list of state transitions that the kernel events represent is not sufficient to characterize the state for the entire data acquisition period. The initial operating system state, when tracing starts, is also required. The challenge lies in obtaining a complete snapshot of the initial state, while minimizing the impact on the system being traced. This impact may be in terms of CPU or disk I/O consumption, instrumentation memory, or burst activity at trace start time detrimental to the real-time response. Such impact is especially disturbing on small real-time limited resources embedded systems. In this paper, we will propose an efficient approach to extract such initial state information and discuss the software mod- ule we have developed to provide the aforementioned data to the LTTng tracing tool and its accompanying viewer, LTTV. This module not only improves LTTV's accuracy by providing the initial state of all processes in the system, but also pro- vides an inventory of relevant kernel objects at minimal cost, without increasing noticeably the interrupt latency.
跟踪时间操作系统状态确定
近年来,通过记录内核事件来跟踪操作系统行为已被证明是一种特别有效的工具。然而,当用于描述系统随时间的行为(包括其状态)时,内核事件所表示的状态转换列表不足以描述整个数据采集周期的状态。跟踪开始时的初始操作系统状态也是必需的。挑战在于获取初始状态的完整快照,同时最小化对所跟踪系统的影响。这种影响可能体现在CPU或磁盘I/O消耗、检测内存或跟踪启动时的突发活动方面,对实时响应有害。这种影响对实时资源有限的小型嵌入式系统尤其令人不安。在本文中,我们将提出一种有效的方法来提取这些初始状态信息,并讨论我们开发的软件模块,以向LTTng跟踪工具及其附带的查看器LTTV提供上述数据。该模块不仅通过提供系统中所有进程的初始状态提高了LTTV的准确性,而且还以最小的成本提供了相关内核对象的清单,而不会显著增加中断延迟。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信