리눅스 기반 시스템에서 서비스의 지연 원인을 분석하기 위한 태스크 체인 인지 경량 프로파일링 도구
Jung Ho Kim, 박대동, 홍성수 · 대한전자공학회 학술대회 · 2016
Linux-based system has been widely used in smartphone and smart TV which are already prevalent, as well as in next-generation IT research such as internet of things (IoT), cyber-physical system (CPS) and autonomous vehicle. One of the important factors in determining user quality in the system is the interactivity of a service. Therefore, manufacturers and laboratories have conducted various researches to improve the interactivity. The purpose of the researches is to shorten the end-to end latency from input to output of a service. To do so, it is essential to analyze the cause of the latency in various aspects. The end-to-end latency is determined from a task chain. Task chain is a sequence of tasks performed from when a user input event is delivered to when the final result is output. There are various profiling tools for Linux-based system, such as Ftrace, LTTNG, AddressSanitizer, gdb, Mutrace and so on. However, they do not meet the three requirements derived from the properties of a task chain. Furthermore they do not perform a holistic analysis of the task chain and have excessive runtime overhead. In this paper, we propose a lightweight task chain-aware profiling tool to overcome the two limitations. We have implemented the proposed tool on Nexus 5 with Android 4.4.2 KitKat. We measured the overhead of the tool when performing Antutu and PassMark which are the representative benchmarks of Android. The runtime overhead is only 2.378% at maximum and memory waste is negligible.
Cited by 0 works.