LCA14-206: Scheduler tooling and benchmarking. Tue-4-Mar, 11:15am, Zoran Markovic, Vincent Guittot

Similar documents
CS 477/677 Analysis of Algorithms Fall 2007 Dr. George Bebis Course Project Due Date: 11/29/2007

Department of Electrical Engineering, University of Waterloo. Introduction

ENSC Discrete Time Systems. Project Outline. Semester

I.S. 239 Mark Twain. Grade 7 Mathematics Spring Performance Task: Proportional Relationships

GENESIS Structural Optimization for ANSYS Mechanical

Lab 1 The Scientific Method

This section is primarily focused on tools to aid us in finding roots/zeros/ -intercepts of polynomials. Essentially, our focus turns to solving.

NUMBERS, MATHEMATICS AND EQUATIONS

Technical Bulletin. Generation Interconnection Procedures. Revisions to Cluster 4, Phase 1 Study Methodology

making triangle (ie same reference angle) ). This is a standard form that will allow us all to have the X= y=

Comparison of hybrid ensemble-4dvar with EnKF and 4DVar for regional-scale data assimilation

DESIGN OPTIMIZATION OF HIGH-LIFT CONFIGURATIONS USING A VISCOUS ADJOINT-BASED METHOD

ECE 545 Project Deliverables

READING STATECHART DIAGRAMS

Verification of Quality Parameters of a Solar Panel and Modification in Formulae of its Series Resistance

A Quick Overview of the. Framework for K 12 Science Education

Physics 2B Chapter 23 Notes - Faraday s Law & Inductors Spring 2018

Five Whys How To Do It Better

Math Foundations 10 Work Plan

Misc. ArcMap Stuff Andrew Phay

Assessment Primer: Writing Instructional Objectives

Introduction to Models and Properties

THE LIFE OF AN OBJECT IT SYSTEMS

Aircraft Performance - Drag

In the OLG model, agents live for two periods. they work and divide their labour income between consumption and

Checking the resolved resonance region in EXFOR database

The standards are taught in the following sequence.

The steps of the engineering design process are to:

Activity Guide Loops and Random Numbers

Churn Prediction using Dynamic RFM-Augmented node2vec

NGSS High School Physics Domain Model

5 th grade Common Core Standards

Reinforcement Learning" CMPSCI 383 Nov 29, 2011!

Internal vs. external validity. External validity. This section is based on Stock and Watson s Chapter 9.

Section 6-2: Simplex Method: Maximization with Problem Constraints of the Form ~

Space Shuttle Ascent Mass vs. Time

Dead-beat controller design

the results to larger systems due to prop'erties of the projection algorithm. First, the number of hidden nodes must

Chapter 3: Cluster Analysis

Design and Simulation of Dc-Dc Voltage Converters Using Matlab/Simulink

Simulation of Line Outage Distribution Factors (L.O.D.F) Calculation for N-Buses System

Land Information New Zealand Topographic Strategy DRAFT (for discussion)

Physics 2010 Motion with Constant Acceleration Experiment 1

AP Physics Laboratory #4.1: Projectile Launcher

CONSTRUCTING STATECHART DIAGRAMS

Resampling Methods. Chapter 5. Chapter 5 1 / 52

Medium Scale Integrated (MSI) devices [Sections 2.9 and 2.10]

ANSWER KEY FOR MATH 10 SAMPLE EXAMINATION. Instructions: If asked to label the axes please use real world (contextual) labels

ENG2410 Digital Design Sequential Circuits: Part B

Competency Statements for Wm. E. Hay Mathematics for grades 7 through 12:

Lecture 02 CSE 40547/60547 Computing at the Nanoscale

[COLLEGE ALGEBRA EXAM I REVIEW TOPICS] ( u s e t h i s t o m a k e s u r e y o u a r e r e a d y )

A Scalable Recurrent Neural Network Framework for Model-free

Plan o o. I(t) Divide problem into sub-problems Modify schematic and coordinate system (if needed) Write general equations

Tutorial 3: Building a spectral library in Skyline

Evaluating enterprise support: state of the art and future challenges. Dirk Czarnitzki KU Leuven, Belgium, and ZEW Mannheim, Germany

Functions. EXPLORE \g the Inverse of ao Exponential Function

EDA Engineering Design & Analysis Ltd

CHAPTER 3 INEQUALITIES. Copyright -The Institute of Chartered Accountants of India

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Weathering. Title: Chemical and Mechanical Weathering. Grade Level: Subject/Content: Earth and Space Science

Ecology 302 Lecture III. Exponential Growth (Gotelli, Chapter 1; Ricklefs, Chapter 11, pp )

Dataflow Analysis and Abstract Interpretation

Admin. MDP Search Trees. Optimal Quantities. Reinforcement Learning

We can see from the graph above that the intersection is, i.e., [ ).

Relativity Integration Points Guide. July 3, 2018 Version

CHAPTER 24: INFERENCE IN REGRESSION. Chapter 24: Make inferences about the population from which the sample data came.

AP Physics Kinematic Wrap Up

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement number

SIZE BIAS IN LINE TRANSECT SAMPLING: A FIELD TEST. Mark C. Otto Statistics Research Division, Bureau of the Census Washington, D.C , U.S.A.

Optimization Programming Problems For Control And Management Of Bacterial Disease With Two Stage Growth/Spread Among Plants

FIZIKA ANGOL NYELVEN JAVÍTÁSI-ÉRTÉKELÉSI ÚTMUTATÓ

CHAPTER 2 Algebraic Expressions and Fundamental Operations

Part 3 Introduction to statistical classification techniques

Revision: August 19, E Main Suite D Pullman, WA (509) Voice and Fax

How do scientists measure trees? What is DBH?

Determining the Accuracy of Modal Parameter Estimation Methods

sin sin Reminder, repetition Image formation by simple curved surface (sphere with radius r): The power (refractive strength):

WYSE Academic Challenge Regional Mathematics 2007 Solution Set

THERMAL TEST LEVELS & DURATIONS

Sections 15.1 to 15.12, 16.1 and 16.2 of the textbook (Robbins-Miller) cover the materials required for this topic.

MODULE FOUR. This module addresses functions. SC Academic Elementary Algebra Standards:

Web-based GIS Systems for Radionuclides Monitoring. Dr. Todd Pierce Locus Technologies

ESE 403 Operations Research Fall Examination 1

Hypothesis Tests for One Population Mean

COMP 551 Applied Machine Learning Lecture 9: Support Vector Machines (cont d)

Math Foundations 20 Work Plan

EXCERPTS. Fire Dynamics Simulator (Version 5) Technical Reference Guide Volume 3: Validation

E-Waybill in Tally.ERP9. V e r s i o n : 1. 0 g s a n t r a w e b. c o m w w w. t a l l y h e l p. c o m

, which yields. where z1. and z2

Computational modeling techniques

Instructional Plan. Representational/Drawing Level

WRITING THE REPORT. Organizing the report. Title Page. Table of Contents

Unit Project Descriptio

NAME: Prof. Ruiz. 1. [5 points] What is the difference between simple random sampling and stratified random sampling?

Kepler's Laws of Planetary Motion

FCA-22 Free Chlorine Analyzer ELECTRO-CHEMICAL DEVICES

If (IV) is (increased, decreased, changed), then (DV) will (increase, decrease, change) because (reason based on prior research).

CAUSAL INFERENCE. Technical Track Session I. Phillippe Leite. The World Bank

Transcription:

LCA14-206: Scheduler tling and benchmarking Tue-4-Mar, 11:15am, Zran Markvic, Vincent Guittt

Scheduler Tls and Benchmarking Frm Energy Aware mini-summit @ Ksummit 2013 extract frm [1]: Ing Mlnar came in with a cmplaint: nne f the pwer-management wrk starts with measurements f the system's pwer behavir. Withut a cherent apprach t measuring the effects f a patch, there is n real way t judge these patches t decide which nes shuld g in. We cannt, he said, merge scheduler patches n faith, hping that they smehw make things better. [1] https://lwn.net/articles/571414/ Tls need t: Generate repetitive, deterministic lad patterns Evaluate perfrmance and/r pwer cnsumptin Check fr vilatin f scheduling cnstraints lad scheduler energy mdel schedule idle stat hardware estimated pwer pwer www.linar.rg

Lad Generatin www.linar.rg

Lad Generatin: Cyclictest Maintained by Clark Williams f RedHat Devised t measure real-time perfrmance Measures latencies in respnse times Perfrms timer sleep, fllwed by clck_gettime() Cmpares requested sleep time t measured time Difference is the latency Starts a number f threads whse sleep can be staggered in time Linar versin als busy-lps a specified number f iteratins after wakeup Tgether with sleep time, this represents the peridic lad pattern Aut Lad calibratin www.linar.rg

Lad Generatin: rt-app Maintained by Giacm Bagnli and Juri Lelli Used t test deadline scheduler Use jsn file t describe scenari Lcking scenari fr thread dependency Task pririty setting Runtime, Perid and deadline Generate stats and trace events fr debugging and analyses www.linar.rg

Lad Generatin: New Develpment Ability t generate custm lad sequences Perid, Lad & Deadline nn peridic lad Aut Lad calibratin Task pririty setting Task dependency with lck scenari Lad cnfiguratin file Generate ftrace event and statistic Shared bject library fr linking int ther scheduler tls Other? www.linar.rg

Estimating Pwer Cnsumptin www.linar.rg

Energy Mdel www.linar.rg

Energy Mdel Each platfrm has different pwer cnsumptin parameters As a cnsequence, schedules are platfrm-specific, i.e. Each platfrm may have its wn view f what s mst efficient There is n apples-t-apples cmparisn f efficiency acrss platfrms, but We can cmpare multiple scheduler slutins n a single platfrm It wuld be prudent t characterize scheduler implementatin n a multitude f platfrms www.linar.rg

Benchmarking www.linar.rg

Benchmarking Given an energy mdel, evaluate a schedule Capture the time spent in each C-state and P-state Run it thrugh the energy mdel t assess pwer cnsumptin Als, verify cnstraints Hw lng did it take t cmplete prcessing? Were any f the deadlines missed? Were tasks prperly priritized? Was it dne within thermal budget? www.linar.rg

Idlestat Helps t assess hw much energy was spent fr a particular schedule Dcumentatin RFC pending Makes n assumptin abut the energy mdel Uses kernel FTRACE functin t capture: Entry and exit times fr each C-state Entry and exit times fr each P-state Raised IRQs idlestat is nn-intrusive t C-state and P-state transitins: Sleeps while traces are captured Parses/analyzes traces after the acquisitin is cmplete www.linar.rg

Idlestat clustera@state hits ttal(us) avg(us) min(us) max(us) C1 10821 5879554.00 543.35 0.00 23163.00 C2 0 0.00 0.00 0.00 0.00 C3 78 2929290.00 37555.00 0.00 101441.00 cpu0@state hits ttal(us) avg(us) min(us) max(us) C1 6744 6407808.00 950.15 0.00 23194.00 C2 3 8819.00 2939.67 549.00 5310.00 C3 75 2960110.00 39468.13 213.00 101441.00 350 1047 204490.00 195.31 0.00 4578.00 700 5628 396247.00 70.41 0.00 1465.00 920 0 0.00 0.00 0.00 0.00 cpu0 wakeups name cunt irq109 ehci_hcd:usb1 1727 irq029 twd 4524 cpu1@state hits ttal(us) avg(us) min(us) max(us) C1 6544 6398931.00 977.83 0.00 36255.00 C2 1 1129.00 1129.00 1129.00 1129.00 C3 77 2955293.00 38380.43 122.00 101471.00 350 1124 212428.00 188.99 0.00 18677.00 700 5366 408782.00 76.18 0.00 946.00 920 0 0.00 0.00 0.00 0.00 cpu1 wakeups name cunt irq029 twd 4737 www.linar.rg

Idlestat Hw d we get pwer parameters? Device tree/manufacturer s data? Linear fitting? Methd evaluated n TC2 Wrk in prgress Has registers t measure per-cluster pwer cnsumptin Has 2 clusters, 5 cres, 2 C-states and 8 P-states each Large slutin space (~50 pwer parameters) Linear fitting simplified t slving 6x6 equatin system fr A7s nly, single P-state (350MHz) ~2.6% errr* (cyclictest -t 10 -L c0p15 --latency 100000 -q) www.linar.rg

Benchmarking: Enhancements Related t verificatin f scheduling cnstraints Assessment f perfrmance: Time executin: launch executable and wait t cmplete Add synchrnizatin pints t lad generatin tl Time between synchrnizatin pints represents a measure f perfrmance Assessment f prcessing latencies Hw d we d this in a nn-intrusive manner? Inside lad generatin utility? Thermal assessment Energy cnsumed ver time Overshting/undershting target www.linar.rg

Mre abut Linar Cnnect: http://cnnect.linar.rg Mre abut Linar: http://www.linar.rg/abut/ Mre abut Linar engineering: http://www.linar.rg/engineering/ Linar members: www.linar.rg/members