Skip to main content

L4oprof: A System-Wide Profiler Using Hardware PMU in L4 Environment

  • Conference paper
Embedded Software and Systems (ICESS 2007)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4523))

Included in the following conference series:

  • 1268 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Intel. IA-32 Architecture Software Developer’s Manual. Vol 3. System Programming Guide (2003)

    Google Scholar 

  2. Liedtke, J.: L4 reference manual (486, Pentium, PPro). Research Report RC 20549, IBM T. J. Watson Research Center, Yorktown Heights, NY (September 1996)

    Google Scholar 

  3. Lackorzynski, A.: L4Linux Porting Optimizations. Master’s thesis, TU Dresden (March 2004)

    Google Scholar 

  4. Operating Systems Group Technische Universitat Dresden. The l4 environment, http://www.tudos.org/l4env

  5. Levon, J.: OProfile, http://oprofile.sourceforge.net

  6. 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)

    Google Scholar 

  7. Intel. The VTuneTM Performance Analyzers, http://www.intel.com/software/products/vtune

  8. Eranian, S.: The perfmon2 interface speciation. Technical Report HPL-2004-200(R.1), HP Labs (Feb. 2005)

    Google Scholar 

  9. Pettersson, M.: The Perfctr interface, http://user.it.uu.se/mikpe/linux/perfctr

  10. ICL Team University of Tennessee. PAPI: The Performance API, http://icl.cs.utk.edu/papi/index.html

  11. Weigand, A.: Tracing unter L4/Fiasco. Grober Beleg, Technische Universitat Dresden, Lehrstuhl fur Betriebssysteme (2003)

    Google Scholar 

  12. Riegel, T.: A generalized approach to runtime monitoring for real-time systems. Diploma thesis, Technische Universitat Dresden, Lehrstuhl fur Betriebssysteme (2005)

    Google Scholar 

  13. Pohlack, M., Dobel, B., Lackorzynsiki, A.: Towards Runtime Monitoring in Real-Time Systems. In: Eighth Real-Time Linux Workshop (October 2006)

    Google Scholar 

  14. Pohlack, M.: The rt_mon monitoring framework (2004)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. The University of Illinois. Iperf, http://dast.nlanr.net/Projects/Iperf

  17. Hohmuth, M.: The Fiasco kernel: System architecture. Technical Report TUD-FI02-06-Juli-2002, TU Dresden, I, 2 (2002)

    Google Scholar 

  18. Free Software Foundation, Multiboot Specification, http://www.gnu.org/software/grub/manual/multiboot/multiboot.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Yann-Hang Lee Heung-Nam Kim Jong Kim Yongwan Park Laurence T. Yang Sung Won Kim

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics