Dynamic Instrumentation Technology for Kernel Performance Evaluation Supporting Multi-Version Linux

冯国富,魏恒义,储鹰,董小社
DOI: https://doi.org/10.3321/j.issn:0253-987x.2008.06.006
2008-01-01
Abstract:According to the IA32 architecture and the source code which resides in the directory /arch under the Linux source code tree, a stable operating system framework attaching to the architecture tightly is abstracted.Then a dynamic instrumentation technology based on the framework is proposed for the Linux kernel performance evaluation.The major scheme of the performance evaluation technology includes both the entry and the exit instrumentation techniques by means of address table rewriting and code splicing respectively.The evaluation codes based on this technology can be written in a high level language and be deployed into the system memory dynamically.The experiment results show that the technology is suitable for both 2.4.x and 2.6.x series kernels,overhead of the kernel performance evaluation tool based on this technology is only about 6% of that based on interrupt mechanism,and the technology can be applied to find performance problems caused by either the hardware or the operating system kernel.
What problem does this paper attempt to address?