November 25, 20151 KFT & Tracing Collaboration Tim Bird Sony Electronics.

Slides:



Advertisements
Similar presentations
Accelerating The Application Lifecycle. DEPLOY DEFINE DESIGN TEST DEVELOP CHANGE MANAGEMENT Application Lifecycle Management #1 in Java Meta, Giga, Gartner.
Advertisements

K T A U Kernel Tuning and Analysis Utilities Department of Computer and Information Science Performance Research Laboratory University of Oregon.
Ch-11 Project Execution and Termination. System Testing This involves two different phases with two different outputs First phase is system test planning.
INTROPERF: TRANSPARENT CONTEXT- SENSITIVE MULTI-LAYER PERFORMANCE INFERENCE USING SYSTEM STACK TRACES Chung Hwan Kim*, Junghwan Rhee, Hui Zhang, Nipun.
Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
Measuring Function Duration with Ftrace By Tim Bird Sony Corporation of America On ARM.
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
Chapter 3: System design. System design Creating system components Three primary components – designing data structure and content – create software –
Mgt 20600: IT Management & Applications Databases
CASE Tools CIS 376 Bruce R. Maxim UM-Dearborn. Prerequisites to Software Tool Use Collection of useful tools that help in every step of building a product.
VB in Context Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh Pittsburgh, Pa 15260
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Code Coverage Testing Using Hardware Performance Monitoring Support Alex Shye, Matthew Iyer, Vijay Janapa Reddi and Daniel A. Connors University of Colorado.
1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.
A New Soar Debugger In Java Douglas Pearson
Version 4 for Windows NEX T. Welcome to SphinxSurvey Version 4,4, the integrated solution for all your survey needs... Question list Questionnaire Design.
Bottom-Up Integration Testing After unit testing of individual components the components are combined together into a system. Bottom-Up Integration: each.
June 11, 2005 CELF International Technical Conferece, Yokohama, Japan1 Learning the Kernel and Finding Performance Problems with KFI Tim Bird Sony Electronics,
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
A Portable Virtual Machine for Program Debugging and Directing Camil Demetrescu University of Rome “La Sapienza” Irene Finocchi University of Rome “Tor.
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
Introduction to database systems
1. There are different assistant software tools and methods that help in managing the network in different things such as: 1. Special management programs.
Designing a Discrete Event Simulation Tool Peter L. Jackson School of Operations Research and Industrial Engineering March 15, 2003 Cornell University.
Adventures in Mastering the Use of Performance Evaluation Tools Manuel Ríos Morales ICOM 5995 December 4, 2002.
CS 584. Performance Analysis Remember: In measuring, we change what we are measuring. 3 Basic Steps Data Collection Data Transformation Data Visualization.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  The course describes the performance analysis and profiling tools.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
SIMO SIMulation and Optimization ”New generation forest planning system” Antti Mäkinen Dept. of Forest Resource Management / University of Helsinki.
Status of Embedded Linux Linux Symposium Canada Live Report Tim Bird - CELF AG Chair.
Slide title minimum 48 pt Slide subtitle minimum 30 pt Tracing Framework Tracing and monitoring Framework (TMF) TCF Agent LTTng integration
SIMO SIMulation and Optimization ”New generation forest planning system” Antti Mäkinen & Jussi Rasinmäki Dept. of Forest Resource Management.
Debugging parallel programs. Breakpoint debugging Probably the most widely familiar method of debugging programs is breakpoint debugging. In this method,
CISC Machine Learning for Solving Systems Problems Presented by: Suman Chander B Dept of Computer & Information Sciences University of Delaware Automatic.
Overview of dtrace Adam Leko UPC Group HCS Research Laboratory University of Florida Color encoding key: Blue: Information Red: Negative note Green: Positive.
Advanced Science and Technology Letters Vol.73 (FGCN 2014), pp A Linux Filesystem Performance Analysis.
7. Data Import Export Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis Using Spreadsheets 1.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Copyright © 2009 Ericsson, Made available under the Eclipse Public License.
Public Libraries Survey Data File Overview. What We’ll Talk About PLS: Public Libraries Survey State level data Public library data (Administrative Entities)
T EST T OOLS U NIT VI This unit contains the overview of the test tools. Also prerequisites for applying these tools, tools selection and implementation.
1 ROGUE Dynamic Optimization Framework Using Pin Vijay Janapa Reddi PhD. Candidate - Electrical And Computer Engineering University of Colorado at Boulder.
Profiling/Tracing Method and Tool Evaluation Strategy Summary Slides Hung-Hsun Su UPC Group, HCS lab 1/25/2005.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Beyond Application Profiling to System Aware Analysis Elena Laskavaia, QNX Bill Graham, QNX.
CMon Application Monitor & Exception Manager. If I use CMon what benefits do I get? You can fix the application bugs easily. Fixing the errors in a short.
Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.
IT for quantitative information Working with Spreadsheets 1.
Systemtap Frank Ch. Eigler software developer. Systemtap review Script language is safely compiled into C kernel module Module uses kprobes and other.
FUDConBrussels Fedora ProjectFedora Project – 24 February 2007 FUDConBrussels THIS IS SYSTEMTAP Dynamic instrumentation.
Tracing for Hardware, Driver and Binary Reverse Engineering in Linux Mathieu Desnoyers Recon 2006.
REDCap General Overview
Chapter 11 Designing Inputs, Outputs, and Controls.
Architecture Concept Documents
Computer Aided Software Engineering (CASE)
Protection of System Resources
Kernel Tracing David Ferry, Chris Gill
Data Warehouse.
An Overview Microsoft Office.
Cover page.
MANAGING DATA RESOURCES
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
Analytics Plus Product Overview 1.
Analysis models and design models
COCOMO Models.
Tutorial 7 – Integrating Access With the Web and With Other Programs
Kernel Tracing David Ferry, Chris Gill, Brian Kocoloski
CS703 - Advanced Operating Systems
SeeSoft A Visualization Tool..
Presentation transcript:

November 25, KFT & Tracing Collaboration Tim Bird Sony Electronics

November 25, KFT Quickie Overview KFT = Kernel Function Trace –Uses a compiler switch (-finstrument_functions) to instrument EVERY function in kernel –Low-intrusion patch to kernel source –Optimized for finding latency problems Filters for long-duration function calls Maintains a function stack from which short duration functions are constantly popped Historically used to find places to improve bootup time

November 25, KFT Example kftstatic.conf Output: (cat /proc/kft_data | addr2sym -m System.map) trigger start entry start_kernel trigger end entry to_userspace filter mintime 500 Entry Delta PID Function Called At start_kernel L6+0x setup_arch start_kernel+0x setup_memory setup_arch+0x2a register_bootmem_low_pages setup_memory+0x8f...

November 25, More Information Has triggers, filters Can trace very early - from first kernel instruction Uses procfs for control and data (everything ASCII) Post-processing tool shows: –functions sorted by duration, call count, local time, etc. –call tree, including interrupts Google: “KernelFunctionTrace” (all one word)

November 25, Tracing Collaboration

November 25, Why Collaborate Want to avoid duplicating effort Want to avoid conflicts and re-inforce efforts –E.g. Kernel will support AT MOST one set of static tracepoints Want to produce awesome tools with great capabilities and usefulness It’s open source, dang-it! How to proceed? –Groups have talked before - was there any outcome?

November 25, Tracing Terminology Phases: –trace definition/configuration –trace generation activation, control, capture, termination –post-processing formatting the data and visualization Kinds of data gathering –event-based –sample-based

November 25, Tracing Terminology tracepoint/probe point - a location in the traced software, which, when encountered, “emits” an event trace/probe handler - the code to execute when an event occurs or a sample is taken trace definition - the set of tracepoints, handlers and constraints which determine what events are collected and how they are processed post-processing - manipulation of the trace data after the trace is collected aggregation - updating statistics or other analytical information, based on trace events or samples filters - criteria used to limit the events that are captured or processed triggers - criteria used to start and stop tracing automatically visualization tool - tool to present trace data graphically to make it easier to analyze Tracepoints and trace handlers can be defined either in-source (as compiled-in, or static tracepoints) or externally (inserted as dynamic tracepoints)

November 25, Tracer Comparison Chart Flexibility KFT LTTng SystemTap Specialized tracers

November 25, Tracer Comparison Table KFTLTTngSystemTAP Target user embedded developer system admin Instrumentation every function, by compiler static definitions in source programmable, using external definition Control interface echo and cat, using /proc lttctl and lttd, using netlink stap, using insmod and kprobe Overhead mediumlowhigh Trace format ascii, fixedbinary, with xml schema programmable, printf and ascii-art Post-processing kd, text- oriented lttv, graphicalsystemtapgui??

November 25, Tracer Commonalities Ummm…

November 25, Ideas Integrate KFT into LTTng Have LTTng support externally-defined, but compiled-in, tracepoints Stabilize trace buffer mechanism in kernel Build best-of-systemtap functions module, which can be compiled-in Standardize trace file format What else???