Using dynamic kernel instrumentation for kernel and application tuning

被引:11
|
作者
Tamches, A [1 ]
Miller, BP [1 ]
机构
[1] Univ Wisconsin, Dept Comp Sci, Madison, WI 53706 USA
关键词
D O I
10.1177/109434209901300309
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The authors have designed a new technology-fine-grained dynamic instrumentation of commodity operating system kernels-that can insert runtime-generated code at almost any machine code instruction of an unmodified operating system kernel. This technology is ideally suited for kernel performance profiling, debugging, code coverage, runtime optimization, and extensibility. They have written a tool called Kernlnst that implements dynamic instrumentation on a stock production Solaris 2.5.1 kernel running on an UltraSparc CPU. They have written a kernel performance profiler on top of Kernlnst. Measuring kernel performance has a two-way benefit: it can suggest optimizations to both the kernel and applications that spend much of their time in kernel code. In this paper, the authors present their experiences using Kernlnst to identify kernel bottlenecks when running a Web proxy server. By profiling kernel routines, they were able to understand performance bottlenecks inherent in the proxy's disk cache organization. The authors used this understanding to make two changes-one to the kernel and one to the application-that cumulatively reduce the percentage of elapsed time that the proxy spends opening disk cache files for writing from 40% to 7%.
引用
收藏
页码:263 / 276
页数:14
相关论文
共 50 条
  • [1] Using dynamic kernel instrumentation for kernel and application tuning
    Tamches, Ariel
    Miller, Barton P.
    International Journal of High Performance Computing Applications, 13 (03): : 263 - 276
  • [2] GILK: A dynamic instrumentation tool for the Linux kernel
    Pearce, DJ
    Kelly, PHJ
    Field, T
    Harder, U
    COMPUTER PERFORMANCE EVALUATION: MODELLING TECHNIQUES AND TOOLS, 2002, 2324 : 220 - 226
  • [3] Comprehensive Kernel Instrumentation via Dynamic Binary Translation
    Feiner, Peter
    Brown, Angela Demke
    Goel, Ashvin
    ASPLOS XVII: SEVENTEENTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, 2012, : 135 - 146
  • [4] Comprehensive Kernel Instrumentation via Dynamic Binary Translation
    Feiner, Peter
    Brown, Angela Demke
    Goel, Ashvin
    ACM SIGPLAN NOTICES, 2012, 47 (04) : 135 - 146
  • [5] Light-weight kernel instrumentation framework using dynamic binary translation
    Dongwoo Lee
    Inhyuk Kim
    Jeehong Kim
    Hyung Kook Jun
    Won Tae Kim
    Sangwon Lee
    Young Ik Eom
    The Journal of Supercomputing, 2013, 66 : 1613 - 1628
  • [6] Light-weight kernel instrumentation framework using dynamic binary translation
    Lee, Dongwoo
    Kim, Inhyuk
    Kim, Jeehong
    Jun, Hyung Kook
    Kim, Won Tae
    Lee, Sangwon
    Eom, Young Ik
    JOURNAL OF SUPERCOMPUTING, 2013, 66 (03) : 1613 - 1628
  • [7] Kernel Tuning Toolkit
    Petrovic, Filip
    Filipovic, Jiri
    SOFTWAREX, 2023, 22
  • [8] Hidden Process Detection using Kernel Functions Instrumentation
    Hebbal, Yacine
    Laniepce, Sylvie
    Menaud, Jean-Marc
    2017 IEEE CONFERENCE ON DEPENDABLE AND SECURE COMPUTING, 2017, : 138 - 145
  • [9] Kernel Spectral Clustering for dynamic data using Multiple Kernel Learning
    Peluffo-Ordonez, D.
    Garcia-Vega, S.
    Langone, R.
    Suykens, J. A. K.
    Castellanos-Dominguez, G.
    2013 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2013,
  • [10] Using virtualization for online kernel profiling, code coverage and instrumentation
    Khen, Eviatar
    Zaidenberg, Nezer J.
    Averbuch, Amir
    PROCEEDINGS OF THE 2011 INTERNATIONAL SYMPOSIUM ON PERFORMANCE EVALUATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS, 2011, : 104 - 110