January 25th, 20052005 CE Linux Forum Technical Conference1 Bootup Time Working Group Discussion Tim Bird, Chair.

Slides:



Advertisements
Similar presentations
Introduction To GIT Rob Di Marco Philly Linux Users Group July 14, 2008.
Advertisements

High level QA strategy for SQL Server enforcer
Dynamic Optimization using ADORE Framework 10/22/2003 Wei Hsu Computer Science and Engineering Department University of Minnesota.
Linux Bootup Time Reduction for Digital Still Camera Chan Ju, Park SW Laboratories Samsung Electronics.
Chapter 6 Security Kernels.
GILK: A Dynamic Instrumentation Tool for the Linux Kernel David J. Pearce, Paul H.J. Kelly, Tony Field and Uli Harder
Accurate and Efficient Replaying of File System Traces Nikolai Joukov, TimothyWong, and Erez Zadok Stony Brook University (FAST 2005) USENIX Conference.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Chapter 13 Embedded Systems
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
The Design of Robust and Efficient Microkernel ManRiX, The Design of Robust and Efficient Microkernel Presented by: Manish Regmi
Certified for Windows Vista. Introducing the Windows Vista Logo Programs.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
June 12, 2005 CELF International Technical Conferece, Yokohama, Japan1 Ottawa Linux Symposium and CE Linux Forum Tim Bird Sony Electronics, Inc.
Introduction to Android Platform Overview
System-level Virtualization for HPC: Recent work on Loadable Hypervisor Modules Systems Research Team Computer Science and Mathematics Division Oak Ridge.
User-Level Process towards Exascale Systems Akio Shimada [1], Atsushi Hori [1], Yutaka Ishikawa [1], Pavan Balaji [2] [1] RIKEN AICS, [2] Argonne National.
Debugging techniques in Linux Debugging Techniques in Linux Chetan Kumar S Wipro Technologies.
Booting and boot levels
OpenTS for Windows Compute Cluster Server. Overview  Introduction  OpenTS (academic) for Windows CCS  T-converter  T-microkernel  OpenTS installer.
CELF Contract Work Update on CELF Projects Tim Bird - CELF AG Chair.
I/O Systems I/O Hardware Application I/O Interface
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
The Linux /proc Filesystem CSE8343 – Fall 2001 Group A1 – Alex MacFarlane, Garrick Williamson, Brad Crabtree.
October 11, 2015CE Linux Forum Members Confidential 1 Embedded Linux BOF Tim Bird Software Engineer, Sony Electronics Chair, CE Linux Forum Architecture.
CELF Project and Conference Information Tim Bird CELF Architecture Group Chair.
Operating Systems of The Future ( and Plan 9 ) Shilad Sen – April 26 th, 2007.
Replay Compilation: Improving Debuggability of a Just-in Time Complier Presenter: Jun Tao.
Enabling Grids for E-sciencE EGEE-III INFSO-RI Using DIANE for astrophysics applications Ladislav Hluchy, Viet Tran Institute of Informatics Slovak.
Linux Architecture Overview 1. Initialization Uboot – hardware init, loads kernel Kernel – remaining initialization, calls “init” Init – 1 st process,
Module 6: Debugging a Windows CE Image.  Overview Debug Zones IDE Debug Setup IDE Debug Commands Platform Builder Integrated Kernel Debugger Other Debugging.
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
November 25, KFT & Tracing Collaboration Tim Bird Sony Electronics.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
PM Summit fall out 2 CE Vendors Spoke at Summit  CELF presented  TI presented  Free Scale presented  Nokia presented  MLI represented.
2006/JAN/20JapanTechnicalJamboree61 Improvement of bootup time using Power Management - Project Update - Hiroki Kaminaga Sony Corporation
Express Application Delivery 1 Ralph Chen Innovative Solutions Co. Ltd Confidential Gaming Application Development Solution Innovation is based on ideas.
January 20, 2006 CELF stuff Tim Bird Sony Electronics CE Linux Forum Architecture Group Chair.
Overview of AIMS Hans Sherburne UPC Group HCS Research Laboratory University of Florida Color encoding key: Blue: Information Red: Negative note Green:
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes 12/25/20151 Flight Software Template for Instrument Critical Design Review Gary M. Heiligman.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
-Merging of Linux/uClinux 2.6 & the Benchmark 년 5 월 14 일 CE Linux Forum Korea Tech Conference1 Korea Tech Conference 2005 년 5 월 14 일, 서울.
Linux Architecture Overview.
National Center for Atmospheric Research Pittsburgh Supercomputing Center National Center for Supercomputing Applications Web100 and Logistical Networking.
1Software Development Using KIDS Software Development using KIDS Developed by David Whitten WorldVistA Education Meeting Las Cruces, NM May 2007.
Performance profiling of Experiments’ Geant4 Simulations Geant4 Technical Forum Ryszard Jurga.
Asymmetric FPGA-loaded hardware accelerators for FPGA- enhanced CPU systems with Linux Performed by:Avi Werner William Backshi Instructor:Evgeny Fiksman.
Kernel Modules – Introduction CSC/ECE 573, Sections 001 Fall, 2012.
© Sony Corporation of America 1 of 17 Kernel Summit 2009 End User Panel Pain Points for Using Linux By Tim Bird Sony Corporation.
Five todos when moving an application to distributed HTC.
Matthew Locke November 2007 A Linux Power Management Architecture.
1 February 6, Patches William Cohen NCSU CSC 591W February 6, 2008.
Linux on ARM7TDMI or Nothing is as easy as it looks Helicon technologies Ltd. How to run uClinux on NXP LPC22xx.
Software and Services Group Embedded Linux and the mainline kernel David Woodhouse CELF Embedded Linux Conference April 2009.
FUDConBrussels Fedora ProjectFedora Project – 24 February 2007 FUDConBrussels THIS IS SYSTEMTAP Dynamic instrumentation.
Chair, Architecture Group
Getting Started with the Kernel
Ottawa Linux Symposium 2007
Selenium and Selenium on Rails
Kernel module & Syscall Hijacking
Chapter 4: Multithreaded Programming
Penguin Weight Watchers
Device-mapper RAID tool Linux-Kongress Hamburg 2005
Linux Architecture Overview.
CSE 303 Concepts and Tools for Software Development
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Midterm Review Brian Kocoloski
Kernel Tracing David Ferry, Chris Gill, Brian Kocoloski
Presentation transcript:

January 25th, CE Linux Forum Technical Conference1 Bootup Time Working Group Discussion Tim Bird, Chair

January 25th, CE Linux Forum Technical Conference2 Technology Overview Timing API Kernel Function Instrumentation Instrumented printk Firmware KernelUser SpaceMeasurement Application XIP RC Script Speedup Library Pre-linking Preset LPJ IDE Preempt IDE noprobe IDE fast probes RTC no-sync Concurrent Init Quick and Safe Shutdown File System Delays Kernel XIP Partial XIP Current Work Future Work

January 25th, CE Linux Forum Technical Conference3 Patches for Bootup Time PatchStatus Kernel XIP (CRAMFS-linear) In patch archive (2.6.9) Preset-LPJIn mainline (since 2.6.8) Short IDE delaysIn patch archive (2.6.8-rc2) RTC nosyncIn patch archive (x86: 2.6.7, ppc:2.6.10) Printk-timesIn patch archive (2.6.10) Kernel Function Instrumentation In patch archive (2.6.9) Linux Trace ToolkitIn patch archive ( and –mm)

January 25th, CE Linux Forum Technical Conference4 Current Status Some patches are being maintained Need assistance extending/maintaining patches for other architectures WG activity has fallen off, due to: Move to 2.6 Laziness by WG Chair Need to restart WG activity

January 25th, CE Linux Forum Technical Conference5 Goals Verify instrumentation tools (printk-times, KFI, LTT) on other architectures Submit existing patches to LKML Focus on user space: –RC scripts –pre-linking

January 25th, CE Linux Forum Technical Conference6 Current Implementations

January 25th, CE Linux Forum Technical Conference7 Short IDE delays IDE init code delays over 70 times during startup Patch changes IDE delay from 50 milliseconds to 5 milliseconds. Patch was submitted to LKML in August, but rejected Need to determine reason for so many calls to delay during IDE init Some calls to delay can be avoided using IDE “noprobe” on the kernel command line Need to evaluate risks of short IDE delays

January 25th, CE Linux Forum Technical Conference8 IDE-noprobe IDE “noprobe” option on kernel command line allows skipping some IDE probing during init. Option is sometimes disabled (overridden) by PCI init code This was true in 2.4,we need to confirm this behaviour in 2.6 Need to find out why noprobe is being overridden Current patch is a quick hack to identify problem. Need to ask LKML about behaviour

January 25th, CE Linux Forum Technical Conference9 RTC No-synch Avoid synchronization with RTC clock edge during first load of system time Have patches for x86 and PPC X86 patch was submitted – apparently ignored Need to submit again

January 25th, CE Linux Forum Technical Conference10 Kernel XIP Execute kernel directly from flash Don’t know current status in kernel

January 25th, CE Linux Forum Technical Conference11 Application XIP Execute applications and libraries directly from flash CRAMFS-linear patch – what is status? RC script speedups –Library prelinking –

January 25th, CE Linux Forum Technical Conference12 Timing API Is a Cross-platform API for timing measurement code Implementations were completed on x86 and PPC Code was never submitted to LKML Code needs to be tested and compared with sched_clock()

January 25th, CE Linux Forum Technical Conference13 Printk-times (a.k.a Instrumented Printk) Shows timing information on each printk line Works on any platform supporting sched_clock() Need to submit to LKML Should add printks at key init checkpoints Checkpionts were identified in April

January 25th, CE Linux Forum Technical Conference14 KFI Measures time and duration of each kernel function Works on any platform supporting sched_clock() Is currently being extended: –untimed traces –more complex triggers –proc fs output (eliminating need for user-space tool) Need to submit to LKML Also want additional post-processing tool to show different trace summary

January 25th, CE Linux Forum Technical Conference15 Research Library Pre-Linking –Link applications to shared libraries ahead of runtime –Need prototype system to measure performance RC script speedups Reduce fork cost and improve use of busybox builtin programs busybox patch needs to be submitted to busybox mailing list for comment

January 25th, CE Linux Forum Technical Conference16 Other Resesearch Concurrent Init Need to find drivers with spare (busywait) cycles Need to identify prototype mechanism for overlapping driver initializations Filesystem measurements Completed initial tests Need to find spots that might be improved.

January 25th, CE Linux Forum Technical Conference17 Overview table ProjectStatus ResearchSpecCELF Impl.2.6 Impl.EvaluatedDocAccepted Calibrate delay/Preset-LPJdone 3 IDE-noprobe3done3033no Short IDE delaysdone00303no Kernel XIPdone Application XIP304400no Timing APIdone3 - KFIdone0 4 2no RTC no-synchdone0 30no RC script speedups30n/a 00no* Concurrent Init202000no Quick and Safe Shutdown320000no File system delays200000no Pre-linking/lazy linking00n/a 00no*

January 25th, CE Linux Forum Technical Conference18 Core Group Noboru Wakabayashi – Hitachi Narm Gadiraju – Intel Kiyoyasu Maruyama – Mistubishi Todd Poynor – Monta Vista Yoshinori Nagai – Sharp Tim Bird – Sony Keisuke Yasui - Toshiba