Abstract
The recent advance of L4 microkernel technology enables building a secure embedded system with comparable performance to a traditional monolithic kernel-based system. According to the different system software architecture, the execution behavior of an application in microkernel environment differs greatly from that in traditional monolithic environment. Therefore, we need a performance profiler to improve performance of the application in microkernel environment. Currently, L4’s profiling tools provides only program-level information such as the number of function calls, IPCs, context switches, etc. In this paper, we present L4oprof, a system-wide statistical profiler in L4 microkernel environment. L4oprof leverages the hardware performance counters of PMU on a CPU to enable profiling of a wide variety of hardware events such as clock cycles and cache and TLB misses. Our evaluation shows that L4oprof incurs 0~3% higher overhead than Linux OProfile. Moreover, the main cause of performance loss in L4Linux applications is shown compared with Linux applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Intel. IA-32 Architecture Software Developer’s Manual. Vol 3. System Programming Guide (2003)
Liedtke, J.: L4 reference manual (486, Pentium, PPro). Research Report RC 20549, IBM T. J. Watson Research Center, Yorktown Heights, NY (September 1996)
Lackorzynski, A.: L4Linux Porting Optimizations. Master’s thesis, TU Dresden (March 2004)
Operating Systems Group Technische Universitat Dresden. The l4 environment, http://www.tudos.org/l4env
Levon, J.: OProfile, http://oprofile.sourceforge.net
Anderson, J.M., Weihl, W.E., Berc, L.M., Dean, J., Ghemawat, S.: Continuous profiling: where have all the cycles gone? ACM Transactions on Computer Systems (1997)
Intel. The VTuneTM Performance Analyzers, http://www.intel.com/software/products/vtune
Eranian, S.: The perfmon2 interface speciation. Technical Report HPL-2004-200(R.1), HP Labs (Feb. 2005)
Pettersson, M.: The Perfctr interface, http://user.it.uu.se/mikpe/linux/perfctr
ICL Team University of Tennessee. PAPI: The Performance API, http://icl.cs.utk.edu/papi/index.html
Weigand, A.: Tracing unter L4/Fiasco. Grober Beleg, Technische Universitat Dresden, Lehrstuhl fur Betriebssysteme (2003)
Riegel, T.: A generalized approach to runtime monitoring for real-time systems. Diploma thesis, Technische Universitat Dresden, Lehrstuhl fur Betriebssysteme (2005)
Pohlack, M., Dobel, B., Lackorzynsiki, A.: Towards Runtime Monitoring in Real-Time Systems. In: Eighth Real-Time Linux Workshop (October 2006)
Pohlack, M.: The rt_mon monitoring framework (2004)
Menon, A., Santos, J.R., Turner, Y., Janakiraman, G., Zwaenepoel, W.: Diagnosing Performance Overheads in the Xen Virtual Machine Environment. In: First ACM/USENIX Conference on Virtual Execution Environments (June 2005)
The University of Illinois. Iperf, http://dast.nlanr.net/Projects/Iperf
Hohmuth, M.: The Fiasco kernel: System architecture. Technical Report TUD-FI02-06-Juli-2002, TU Dresden, I, 2 (2002)
Free Software Foundation, Multiboot Specification, http://www.gnu.org/software/grub/manual/multiboot/multiboot.html
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer Berlin Heidelberg
About this paper
Cite this paper
Eom, J., Kim, D., Park, C. (2007). L4oprof: A System-Wide Profiler Using Hardware PMU in L4 Environment. In: Lee, YH., Kim, HN., Kim, J., Park, Y., Yang, L.T., Kim, S.W. (eds) Embedded Software and Systems. ICESS 2007. Lecture Notes in Computer Science, vol 4523. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-72685-2_51
Download citation
DOI: https://doi.org/10.1007/978-3-540-72685-2_51
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-72684-5
Online ISBN: 978-3-540-72685-2
eBook Packages: Computer ScienceComputer Science (R0)