Fakultät für informatik informatik 12 technische universität dortmund Evaluation and Validation Peter Marwedel TU Dortmund, Informatik 12 Germany 2009/12/09.

Slides:



Advertisements
Ähnliche Präsentationen
Finding the Pattern You Need: The Design Pattern Intent Ontology
Advertisements

P. Marwedel Informatik 12, U. Dortmund
Fakultät für informatik informatik 12 technische universität dortmund Optimizations Peter Marwedel TU Dortmund Informatik 12 Germany 2009/01/17 Graphics:
fakultät für informatik informatik 12 technische universität dortmund Optimizations Peter Marwedel TU Dortmund Informatik 12 Germany 2009/01/10 Graphics:
Fakultät für informatik informatik 12 technische universität dortmund Mapping of Applications to Platforms Peter Marwedel TU Dortmund, Informatik 12 Germany.
Fakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra Nolte,
Peter Marwedel TU Dortmund, Informatik 12
Fakultät für informatik informatik 12 technische universität dortmund Hardware/Software Partitioning Peter Marwedel Informatik 12 TU Dortmund Germany Chapter.
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
Titelmasterformat durch Klicken bearbeiten Textmasterformate durch Klicken bearbeiten Zweite Ebene Dritte Ebene Vierte Ebene Fünfte Ebene 1 Titelmasterformat.
1 Intern | ST-IN/PRM-EU | | © Robert Bosch GmbH Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung,
Universität StuttgartInstitut für Wasserbau, Lehrstuhl für Hydrologie und Geohydrologie Copulas (1) András Bárdossy IWS Universität Stuttgart.
How Does Fuzzy Arithmetic Work ? © Hartwig Jeschke Institut für Mikroelektronische Schaltungen und Systeme Universität Hannover
Technische Universität München 1 CADUI' June FUNDP Namur G B I The FUSE-System: an Integrated User Interface Design Environment Frank Lonczewski.
Institut für Angewandte Mikroelektronik und Datentechnik Course and contest Results of Phase Selected Topics in VLSI Design (Module 24513) ©
KIT – die Kooperation von Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH) The dependence of convection-related parameters on surface and.
Institut für Angewandte Mikroelektronik und Datentechnik Phase 5 Architectural impact on ASIC and FPGA Nils Büscher Selected Topics in VLSI Design (Module.
Institut für Angewandte Mikroelektronik und Datentechnik Course and contest Results of Phase 3 Vincent Wiese Selected Topics in VLSI Design (Module 24513)
Die Fragen Wörter Wer? Was? Wann?.
Synchronization: Multiversion Concurrency Control
Institut für Angewandte Mikroelektronik und Datentechnik Course and contest Results of Phase 4 Nils Büscher Selected Topics in VLSI Design (Module 24513)
Stephanie Müller, Rechtswissenschaftliches Institut, Universität Zürich, Rämistrasse 74/17, 8001 Zürich, Criminal liability.
Literary Machines, zusammengestellt für ::COLLABOR:: von H. Mittendorfer Literary MACHINES 1980 bis 1987, by Theodor Holm NELSON ISBN
Teammeeting NTW, Uta Bilow International Masterclasses 2013.
The influence of spatial variability of polar firn on microwave emission Martin Proksch 1, Henning Löwe 1, Stefanie Weissbach 2, Martin Schneebeli 1 1.
Einführung in die Informatik 1. Computational Thinking Institut für Informatik und angewandte Mathematik.
3rd Review, Vienna, 16th of April 1999 SIT-MOON ESPRIT Project Nr Siemens AG Österreich Robotiker Technische Universität Wien Politecnico di Milano.
Nachweis von B 0 s -Oszillationen mit dem ATLAS Detektor am LHC B. Epp 1, V.M. Ghete 2, E. Kneringer 1, D. Kuhn 1, A. Nairz 3 1 Institut für Experimentalphysik,
Physik multimedial Lehr- und Lernmodule für das Studium der Physik als Nebenfach Julika Mimkes: Links to e-learning content for.
Nuklearmedizinsche Klinik und Poliklinik Klinikum rechts der Isar Technische Universität München Image reconstruction, MR-based attenuation correction,
Institut für Angewandte Mikroelektronik und Datentechnik Results of phase 5: Investigations on a specific topic Special Features of the Virtex-6 FPGAs.
Fakultät für informatik informatik 12 technische universität dortmund Lab 2: Heterogeneous System Modeling in Ptolemy - Session 6 - Peter Marwedel Heiko.
1 Konica Minolta IT Solutions Prinzip Partnerschaft MANAGED MONITORING ÜBERWACHJUNG DER SERVERINFRASTRUKTUR UND ANWENDUNGEN DIREKT AUS DER CLOUD.
KLIMA SUCHT SCHUTZ EINE KAMPAGNE GEFÖRDERT VOM BUNDESUMWELTMINISTERIUM Co2 online.
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
© Crown copyright 2011, Department for Education These materials have been designed to be reproduced for internal circulation, research and teaching or.
COST working group 2 – EMM Erreichbarkeitsatlas
Berliner Elektronenspeicherring-Gesellschaft für Synchrotronstrahlung m.b.H., Albert-Einstein-Straße 15, Berlin frontend control at BESSY R. Fleischhauer.
Fakultät für Gesundheitswissenschaften Gesundheitsökonomie und Gesundheitsmanagement Universität Bielefeld WP 3.1 and WP 4.1: Macrocost.
Kapitel 2 Grammar INDEX 1.Subjects & Verbs 2.Conjugation of Verbs 3.Subject Verb Agreement 4.Person and Number 5.Present Tense 6.Word Order: Position of.
D. Sturzebecher, Institut für Betriebssysteme und Rechnerverbund, TU-Braunschweig Tele-Teaching with MACS n Tele-Teaching Requirements and Scenarios n.
Heavy duty asphalt; The Hamburg Way Bergisch Gladbach June
10.3 Lektion 10 Geschichte und Gesellschaft STRUKTUREN © and ® 2012 Vista Higher Learning, Inc Der Konjunktiv I and indirect speech —Ich komme.
© 2012 IBM Corporation © 2013 IBM Corporation IBM Storage Germany Community Josef Weingand Infos / Find me on:
Technische Universität München Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 1 Concepts for remote control of VLBI-telescopes: on the way.
© Boardworks Ltd of 8 © Boardworks Ltd of 8 This icon indicates that the slide contains activities created in Flash. These activities are not.
Sentence Structure Questions
Freizeit Thema 5 Kapitel 1 (1)
Azure Countdown Wenn der Freund und Helfer Freunde und Helfer braucht: Sichere Content-Upload-Plattform für Bürger.
Sentence Structure Connectives
Englisch Grundlagen, Modal Verbs
Cryo-Test LESER Test Bench
The dynamic ultrasound
Data Hazards 0x30 sub $6 $0 $1 0x34 add $7 $6 $
IETF 80 Prague DISPATCH WG
Get your Project started
Senseo Wir erweitern die statischen Informationen mit Hilfe von Laufzeitinformationen. Einbindung in IDE resp. JDT.
Metadata - Catalogues and Digitised works
Pädagogische Hochschule NÖ
IT QM Part2 Lecture 7 PSE GSC
Ferrite Material Modeling (1) : Kicker principle
Collaborative Webmeeting November 24th, 2010 Geneve / Darmstadt
Official Statistics Web Cartography in Germany − Regional Statistics, Federal and European Elections, Future Activities − Joint Working Party meeting.
CSL211 Computer Architecture
Integrating Knowledge Discovery into Knowledge Management
Eine Präsentation von Heiko Gericke
Zhunussova G., AA 81. Linguistic communication, i.e. the use of language, is characteristically vocal and verbal behaviour, involving the use of discrete.
 Präsentation transkript:

fakultät für informatik informatik 12 technische universität dortmund Evaluation and Validation Peter Marwedel TU Dortmund, Informatik 12 Germany 2009/12/09 Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 © These slides use Microsoft cliparts. All Microsoft restrictions apply.

- 2 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Structure of this course 2: Specification 3: ES-hardware 4: system software (RTOS, middleware, …) 8: Test 5: Validation & Evaluation (energy, cost, performance, …) 7: Optimization 6: Application mapping Application Knowledge Design repository Design Numbers denote sequence of chapters

- 3 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Performance evaluation  Estimated cost and performance values: Difficult to generate sufficiently precise estimates; Balance between run-time and precision  Accurate cost and performance values: Can be done with normal tools (such as compilers). As precise as the input data is. π x We need to compute average and worst case execution times

- 4 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Thiele’s real-time calculus (RTC)/ Modular performance analysis (MPA) - Arrival curves  T 2T3T  T 2T3T T-JT+J periodic event streamperiodic event stream with jitter Arrival curves describe the maximum and minimum number of events arriving in some time interval  Examples

- 5 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Thiele’s real-time calculus (RTC)/ Modular performance analysis (MPA) - Service curves - Service curves  u resp.  ℓ describe the maximum and minimum service capacity available in some time interval  s T bandwidth b TDMA bus TsT-sT+s bsbs 2T Example:

- 6 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Thiele’s real-time calculus (RTC)/ Modular performance analysis (MPA) - Workload characterization -  u resp.  ℓ describe the maximum and minimum service capacity required as a function of the number e of events Example e WCET=4 BCET=3  u u  ℓ ℓ (Defined only for an integer number of events)

- 7 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Workload required for incoming stream Incoming workload Upper and lower bounds on the number of events

- 8 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Thiele’s real-time calculus (RTC)/ Modular performance analysis (MPA) - System of real time components - RTC RTC’ RTC” … Incoming event streams and available capacity are transformed by real-time components: Theoretical results allow the computation of properties of outgoing streams 

- 9 - technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Thiele’s real-time calculus (RTC)/ Modular performance analysis (MPA) - Transformation of arrival and service curves Resulting arrival curves: Remaining service curves: Where:

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Thiele’s real-time calculus Remarks  Details of the proofs can be found in relevant references  Results also include bounds on buffer sizes and on maximum latency.  Theory has been extended into various directions, e.g. for computing remaining battery capacities

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Application: In-Car Navigation System Car radio with navigation system User interface needs to be responsive Traffic messages (TMC) must be processed in a timely way Several applications may execute concurrently © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 System Overview NAVRAD MMI DB Communication © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 NAVRAD MMI DB Communication Use case 1: Change Audio Volume < 200 ms < 50 ms © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Use case 1: Change Audio Volume © Thiele, ETHZ Communication Resource Demand

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 NAVRAD MMI DB Communication < 200 ms Use case 2: Lookup Destination Address © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Use case 2: Lookup Destination Address © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 NAVRAD MMI DB Communication Use case 3: Receive TMC Messages < 1000 ms © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Use case 3: Receive TMC Messages © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Proposed Architecture Alternatives NAV RAD MMI 22 MIPS 11 MIPS 113 MIPS NAVRAD MMI 22 MIPS 11 MIPS113 MIPS RAD 260 MIPS NAV MMI 22 MIPS RAD 130 MIPS MMI NAV 113 MIPS MMI 260 MIPS RAD NAV 72 kbps 57 kbps 72 kbps (A) (E)(D)(C) (B) © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Step 1: Environment (Event Steams) Event Stream Model e.g. Address Lookup (1 event / sec) uu ll [s] [events] 1 1 © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Step 2: Architectural Elements Event Stream Model e.g. Address Lookup (1 event / sec) Resource Model e.g. unloaded RISC CPU (113 MIPS) ℓ=uℓ=u uu ℓℓ [s] [MIPS] [events] © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Step 3: Mapping / Scheduling Rate Monotonic Scheduling (Pre-emptive fixed priority scheduling):  Priority 1:Change Volume (p=1/32 s)  Priority 2:Address Lookup (p=1 s)  Priority 3:Receive TMC (p=6 s) © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Step 4: Performance Model CPU1BUSCPU3 CPU2 Change Volume Receive TMC     NAVRAD MMI Address Lookup   MMI NAVRAD © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Step 5: Analysis CPU1BUSCPU3 CPU2 Change Volume Receive TMC     NAVRAD MMI Address Lookup   MMI NAVRAD © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Analysis – Design Question 1 How do the proposed system architectures compare in respect to end-to-end delays? © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 End-to-end delays: (A)(E)(D)(C)(B) Analysis – Design Question 1 © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Analysis – Design Question 2 How robust is architecture A? Where is the bottleneck of this architecture? NAVRAD MMI 22 MIPS 11 MIPS113 MIPS 72 kbps (A) © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Sensitivity to input rate: Sensitivity to resource capacity: Analysis – Design Question 2 NAV RAD MMI © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 TMC delay vs. MMI processor speed: Analysis – Design Question 2 NAVRAD MMI 22 MIPS 11 MIPS113 MIPS 72 kbps (A) 26.4 MIPS © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Analysis – Design Question 3 Architecture D is chosen for further investigation. How should the processors be dimensioned? RAD 130 MIPS MMI NAV 113 MIPS 72 kbps (D) © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 RAD 130 MIPS MMI NAV 113 MIPS 72 kbps 33 MIPS 29 MIPS Analysis – Design Question 3 d max = 200 d max = 1000 d max = 50 d max = 200 © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Conclusions  Easy to construct models (~ half day)  Evaluation speed is fast and linear to model complexity (~ 1s per evaluation)  Needs little information to construct early models (Fits early design cycle very well)  Even though involved mathematics is very complex, the method is easy to use (Language of engineers) © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Acknowledgement and References The presentation contains contributions by  Samarjit Chakraborty (NUS)  Simon Künzli, Ernesto Wandeler, Alexander Maxiaguine (ETHZ)  Andreas Herkersdorf, Patricia Sagmeister (IBM)  Jonas Greutert (Netmodule) Many publications are available from © Thiele, ETHZ

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 SYMTA SYMTA (Ernst, TU Braunschweig) works with standard streams (periodic, periodic with jitter streams) and focuses on computing end-to-end guarantees in multiprocessor based systems See

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Worst/best case execution times (1) WCET Actually possible worst case Observed execution time Actually best possible ex. time BCET' WCET’ (tighter bound) BCET t Other authors WCET BCET Estimated WCET Estimated BCET Feasible execution times Observed WCET Definition used in this course Next slide

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Worst/best case execution times (2) Requirements on WCET estimates:  Safeness: WCET  WCET EST !  Tightness: WCET EST – WCET  minimal © h. falk/p. marwedel WCET EST

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Worst case execution times (3) Complexity:  in the general case: undecidable if a bound exists.  for restricted programs: simple for “old“ architectures, very complex for new architectures with pipelines, caches, interrupts, virtual memory, etc. Approaches:  for hardware: requires detailed timing behavior  for software: requires availability of machine programs; complex analysis (see, e.g., Presentation by R. FEST (DVD in German), starting at min. 31:35 min.-47:00

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 WCET estimation: AiT (AbsInt) Executable program CFG-Builder Loop Trafo AIP File ILP-Generator ILP-Solver Evaluation WCET Visuali- zation Loop Bounds Static analyzer Value Analyzer Cache/Pipeline Analyzer PER-File CRL-File Path Analysis

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 WCET estimation for caches Behavior at program joins Worst case Best case {c}{e}{a}{d} {a}{}{c,f}{d} {c}{e}{a}{d} {a}{c,f}{}{d} {} {a,c}{d} {a,c}{e,f}{}{d} Intersection+max. age Union+min. age TagIndexOffset LRU-based replacement ==== Address Movie: Presentation by Reinhard Freiburg ES days (German)

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Energy models  Tiwari (1994): Energy consumption within processors  Simunic (1999): Using values from data sheets. Allows modeling of all components, but not very precise.  Russell, Jacome (1998): Measurements for 2 fixed configurations  Steinke et al., UniDo (2001): mixed model using measurements and prediction  Jouppi (1996): Energy consumption of caches predicted by CACTI.

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Steinke’s model E.g.: ATMEL board with ARM7TDMI and ext. SRAM Data Memory Instruction Memory IAddr VDD ALU Multi- plier Barrel Shifter Register File Instr. Decoder & Control Logic Instr Imm Reg Value Reg# Opcode ARM7 DAddr mA Data Instr

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 CACTI model Comparison with SPICE Cache model used

technische universität dortmund fakultät für informatik  p. marwedel, informatik 12, 2009 Summary Performance analysis  Simulation-based techniques Trade-off between speed and accuracy (  end of chapter 2)  Formal performance analysis Thiele’s real-time calculus (RTC)/Modular performance analysis (MPA) -Using bounds on the number of events in input streams -Using bounds on available processing capability -Derives bounds on the number of events in output streams -Derives bound on remaining processing capability, buffer sizes, … -Examples demonstrate design procedure based on RTC  Evaluation of objective “energy/power consumption”