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.
关键词
Keywords
references
ANDERSON J M, BERC L M, DEAN J, et al. Continuous profiling: where have all the cycles gone?[C]∥16th ACM Symposium on Operating System Principles. New York, USA: ACM, 1997: 357-390.
MOORE B, SLABACH T, SCHAELICKE L. Profiling interrupt handler performance through kernel instrumentation [C]∥Proceedings of the International Conference on Computer Design. Los Alamitos, CA, USA: IEEE Computer Society, 2003:156-163.
BROWN A, SELTZER M. Operating system benchmarking in the wake of lmbench: a case study of the performance of netbsd on the Intel x86 architecture [C]∥ACM SIGMETRICS International Conference on the Measurement and Modeling of Computer Systems. New York, USA: ACM, 1997:214-224.
PEARCE D J, KELLY P H J, FIELD T, et al. GILK: a dynamic instrumentation tool for the Linux kernel [C]∥Proceedings of the 12th International Conference on Computer Performance Evaluation. Berlin, Germany: Springer-Verlag,2002:220-226.