Fakultät für informatik informatik 12 technische universität dortmund Mapping of Applications to Platforms Peter Marwedel TU Dortmund, Informatik 12 Germany.

Slides:



Advertisements
Ähnliche Präsentationen
Cadastre for the 21st Century – The German Way
Advertisements

PSI and Competition The General Framework
Finding the Pattern You Need: The Design Pattern Intent Ontology
E-Solutions mySchoeller.com for Felix Schoeller Imaging
H - A - M - L - E - IC T Teachers Acting Patterns while Teaching with New Media in the Subjects German, Mathematics and Computer Science Prof. S. Blömeke,
Embedded System Hardware
P. Marwedel Informatik 12, U. Dortmund
Finite state machines & message passing: SDL
Mapping of Applications to Multi-Processor Systems
Fakultät für informatik informatik 12 technische universität dortmund Mapping of Applications to Multi-Processor Systems Peter Marwedel Informatik 12 TU.
R. Zankl – Ch. Oelschlegel – M. Schüler – M. Karg – H. Obermayer R. Gottanka – F. Rösch – P. Keidler – A. Spangler th Expert Meeting Business.
Dr. M. Schlottke Common Description of Web Services Source: P. Gerbert, 2002 Web Services allow to establish B2B e-commerce on the fly Web Services allow.
Multi electron atoms Atoms with Z>1 contain >1 electron. This changes the atomic structure considerably because in addition to the electron-nucleus interaction,
fakultät für informatik informatik 12 technische universität dortmund Test Peter Marwedel TU Dortmund Informatik 12 Germany 2009/01/17 Graphics: © Alexandra.
Embedded & Real-time Operating Systems
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 Optimizations Peter Marwedel TU Dortmund Informatik 12 Germany 2010/01/13 Graphics:
Fakultät für informatik informatik 12 technische universität dortmund Universität Dortmund Middleware 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 Embedded System Hardware Peter Marwedel Informatik 12 TU Dortmund Germany 2011/03/09.
Fakultät für informatik informatik 12 technische universität dortmund Hardware/Software Partitioning Peter Marwedel Informatik 12 TU Dortmund Germany Chapter.
Fakult ä t f ü r informatik informatik 12 technische universit ä t dortmund Data flow models Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra.
Technische universität dortmund fakultät für informatik informatik 12 Embedded System Hardware Peter Marwedel Informatik 12 TU Dortmund Germany
Wozu die Autokorrelationsfunktion?
Hier wird Wissen Wirklichkeit Computer Architecture – Part 10 – page 1 of 31 – Prof. Dr. Uwe Brinkschulte, Prof. Dr. Klaus Waldschmidt Part 10 Thread and.
Hier wird Wissen Wirklichkeit Computer Architecture – Part 5 – page 1 of 25 – Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting Part 5 Fundamentals in.
Institut für Verkehrsführung und Fahrzeugsteuerung > Technologien aus Luft- und Raumfahrt für Straße und Schiene Automatic Maneuver Recognition in the.
Thomas Herrmann Software - Ergonomie bei interaktiven Medien Step 6: Ein/ Ausgabe Instrumente (Device-based controls) Trackball. Joystick.
Institut für Umweltphysik/Fernerkundung Physik/Elektrotechnik Fachbereich 1 SADDU June 2008 S. Noël, K.Bramstedt,
1 IDA, TU Braunschweig SuReal – Sicherheitsgarantien unter Realzeitanforderungen Jonas Rox Braunschweig, Jonas Rox Braunschweig,
INSTITUT FÜR DATENTECHNIK UND KOMMUNIKATIONS- NETZE 1 Steffen Stein, TU Braunschweig, 2009 A Timing-Aware Update Mechanism for Networked Real-Time Systems.
Adjektive Endungen von Frau Templeton.
Integration of renewable energies: competition between storage, the power grid and flexible demand Thomas Hamacher.
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
Institut für Solare Energieversorgungstechnik Verein an der Universität Kassel Bereich Energetische Biomassenutzung, Hanau Dipl.-Ing. J. Müller Bioturbine,
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
BAS5SE | Fachhochschule Hagenberg | Daniel Khan | S SPR5 MVC Plugin Development SPR6P.
Alp-Water-Scarce Water Management Strategies against Water Scarcity in the Alps 4 th General Meeting Cambery, 21 st September 2010 Water Scarcity Warning.
Technische Universität Berlin Fakultät für Verkehrs- und Maschinensysteme, Institut für Mechanik Lehrstuhl für Kontinuumsmechanik und Materialtheorie,
Wortschatz der Schulhof the playground die Aula the hall
INTAKT- Interkulturelle Berufsfelderkundungen als ausbildungsbezogene Lerneinheiten in berufsqualifizierenden Auslandspraktika DE/10/LLP-LdV/TOI/
Institut für Umweltphysik/Fernerkundung Physik/Elektrotechnik Fachbereich 1 K. Bramstedt, L. Amekudzi, J. Meyer IFE/IUP Tangent heights in occultation.
1 Competence Center ELANFraunhofer FOKUS COLORPICKER: Zum Auswählen der korrekten Farbe mit dem Tool »Farbe auswählen« auf das jeweilige Feld unten klicken.
Einführung Bild und Erkenntnis Einige Probleme Fazit Eberhard Karls Universität Tübingen Philosophische Fakultät Institut für Medienwissenschaft Epistemic.
Ein Projekt des Technischen Jugendfreizeit- und Bildungsvereins (tjfbv) e.V. kommunizieren.de Blended Learning for people with disabilities.
Fakultät für informatik informatik 12 technische universität dortmund Memory-architecture aware compilation - Sessions Peter Marwedel TU Dortmund.
ESSnet Workshop Conclusions.
By: Jade Bowerman. German numbers are quite a bit like our own. You start with one through ten and then you add 20, 30, 40 or 50 to them. For time you.
Alltagsleben Treffpunkt Deutsch Sixth Edition
Berner Fachhochschule Hochschule für Agrar-, Forst- und Lebensmittelwissenschaften HAFL 95% der Ammoniakemissionen aus der Landwirtschaft Rindvieh Pflanzenbau.
Globale Plattform-Entwicklung für steigende Nachhaltigkeit
AVL-Trees (according to Adelson-Velskii & Landis, 1962) In normal search trees, the complexity of find, insert and delete operations in search.
KIT – die Kooperation von Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH) Vorlesung Knowledge Discovery - Institut AIFB Tempus fugit Towards.
1 Intern | ST-IN/PRM-EU | | © Robert Bosch GmbH Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung,
Fakultät für informatik informatik 12 technische universität dortmund Standard Optimization Techniques 2010/12/20 Peter Marwedel TU Dortmund, Informatik.
Fakultät für informatik informatik 12 technische universität dortmund Memory architecture description languages - Session 20 - Peter Marwedel TU Dortmund.
Launch ON Global.vi System ID object name classname Services to suscribe Observer Control Ref vi-path Service name Step 1 : Objects register to the Global.vi´s,
1 Stevens Direct Scaling Methods and the Uniqueness Problem: Empirical Evaluation of an Axiom fundamental to Interval Scale Level.
Technische Universität München Spatial aspects of the formation of GMO-free or GMO clubs Maarten J. Punt Technische Universität München.
Lehrstuhl für Waldbau, Technische Universität MünchenBudapest, 10./11. December 2006 WP 1 Status (TUM) Bernhard Felbermeier.
Technische Universität München 1 CADUI' June FUNDP Namur G B I The FUSE-System: an Integrated User Interface Design Environment Frank Lonczewski.
TUM in CrossGrid Role and Contribution Fakultät für Informatik der Technischen Universität München Informatik X: Rechnertechnik und Rechnerorganisation.
Andreas Burger ZENTRUM FÜR MEDIZINISCHE LEHRE RUHR-UNIVERSITÄT BOCHUM Irkutsk October 2012 Report about the lecture "Report of the TEMPUS IV- Project Nr.
Data Mining Spectral Clustering Junli Zhu SS 2005.
Technische Universität München Fakultät für Informatik Computer Graphics SS 2014 Rüdiger Westermann Lehrstuhl für Computer Graphik und Visualisierung.
Proposal for a unified XML-file of the avalanche report... © Patrick NAIRZ, Avalanche Warning Center Tyrol - Why do we need a unified XML-file? - Integration.
Fakultät für informatik informatik 12 technische universität dortmund Mapping: Applications  Platforms - Sessions Peter Marwedel TU Dortmund Informatik.
Institut für Angewandte Mikroelektronik und Datentechnik Phase 5 Architectural impact on ASIC and FPGA Nils Büscher Selected Topics in VLSI Design (Module.
 Präsentation transkript:

fakultät für informatik informatik 12 technische universität dortmund Mapping of Applications to Platforms Peter Marwedel TU Dortmund, Informatik 12 Germany 2009/12/15 © These slides use Microsoft cliparts. All Microsoft restrictions apply. Graphics: © Alexandra Nolte, Gesine Marwedel, 2003

- 2 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 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 TU Dortmund Classes of mapping algorithms considered in this course Classical scheduling algorithms Mostly for independent tasks & ignoring communication, mostly for mono- and homogeneous multiprocessors Dependent tasks as considered in architectural synthesis Initially designed in different context, but applicable Hardware/software partitioning Dependent tasks, heterogeneous systems, focus on resource assignment Design space exploration using genetic algorithms Heterogeneous systems, incl. communication modeling

- 4 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Classification of Scheduling Problems Scheduling Independent Tasks EDD, EDF, LLF, RMS Dependent Tasks Resource constrained Time constrained Uncon- strained ASAP, ALAP FDSLS 1 Proc. LDF

- 5 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Dependent tasks The problem of deciding whether or not a schedule exists for a set of dependent tasks and a given deadline is NP-complete in general [Garey/Johnson]. Strategies: 1.Add resources, so that scheduling becomes easier 2.Split problem into static and dynamic part so that only a minimum of decisions need to be taken at run-time. 3.Use scheduling algorithms from high-level synthesis

- 6 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Taskgraph Assumption: execution time = 1 for all tasks a bcdefg hij klm n z

- 7 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund As soon as possible (ASAP) scheduling ASAP: All tasks are scheduled as early as possible Loop over (integer) time steps: Compute the set of unscheduled tasks for which all predecessors have finished their computation Schedule these tasks to start at the current time step.

- 8 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund As soon as possible (ASAP) scheduling: Example =0 =2 =3 =4 =5 a bcdefg hij klm n z =1

- 9 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund As-late-as-possible (ALAP) scheduling ALAP: All tasks are scheduled as late as possible Start at last time step*: Schedule tasks with no successors and tasks for which all successors have already been scheduled. * Generate a list, starting at its end

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund As-late-as-possible (ALAP) scheduling: Example =0 =2 =3 =4 =5 Start a bcdefg hij klm n z =1

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund (Resource constrained) List Scheduling List scheduling: extension of ALAP/ASAP method Preparation: Topological sort of task graph G=(V,E) Computation of priority of each task: Possible priorities u : Number of successors Longest path Mobility = (ALAP schedule)- (ASAP schedule) Source: Teich: Dig. HW/SW Systeme

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Mobility as a priority function urgent less urgent Mobility is not very precise =1 =2 =3 =4 =5 =1 =2 =3 =4 =5 a bcdefg hij klm n z =0 a bcdefg hij klm n z

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Algorithm List( G(V,E), B, u ){ i :=0; repeat { Compute set of candidate tasks A i ; Compute set of not terminated tasks G i ; Select S i A i of maximum priority r such that | S i | + | G i | B (*resource constraint*) foreach ( v j S i ): ( v j ):= i ; (*set start time*) i := i +1; } until (all nodes are scheduled); return ( ); } Complexity: O (| V |) may be repeated for different task/ processor classes

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Example Assuming B =2, unit execution time and u : path length u (a)= u (b)=4 u (c)= u (f)=3 u (d)= u (g)= u (h)= u (j)=2 u (e)= u (i)= u (k)=1 i : G i =0 ab i cf g hj k d e a b c f g d e h i j k =0 =1 =2 =3 =4 =5 Modified example based on J. Teich

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund (Time constrained) Force-directed scheduling Goal: balanced utilization of resources Based on spring model; Originally proposed for high-level synthesis * [Pierre G. Paulin, J.P. Knight, Force-directed scheduling in automatic data path synthesis, Design Automation Conference (DAC), 1987, S ] © ACM

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Phase 1: Generation of ASAP and ALAP Schedule =1 =2 =3 =4 =5 =1 =2 =3 =4 =5 a bcdefg hij klm n z =0 a bcdefg hij klm n z

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Next: computation of forces Direct forces push each task into the direction of lower values of D(i). Impact of direct forces on dependent tasks taken into account by indirect forces Balanced resource usage smallest forces For our simple example and time constraint=6: result = ALAP schedule i =1 =2 =3 =4 =5 a bcdefg hij klm n z =0 More precisely …

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 1.Compute time frames R ( j ) 2. Compute probability P(j,i) of assignment j i R ( j )={ASAP-control step … ALAP-control step} if 0 otherwise

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 3. Compute distribution D(i) (# Operations in control step i ) P(j,i)D(i)D(i)

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 4. Compute direct forces (1) P i ( j, i): for force on task j in time step i, if j is mapped to time step i. The new probability for executing j in i is 1; the previous was P ( j, i ). The new probability for executing j in i i is 0; the previous was P ( j, i ). i if otherwise

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 4. Compute direct forces (2) SF ( j, i ) is the overall change of direct forces resulting from the mapping of j to time step i. Example otherwise if

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 4. Compute direct forces (3) Direct force if task/operation 1 is mapped to time step 2

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 5. Compute indirect forces (1) D Mapping task 1 to time step 2 implies mapping task 2 to time step 3 Consider predecessor and successor forces: P j, i ( j, i) is the in the probability of mapping j to i resulting from the mapping of j to i j predecessor of j j successor of j

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund 5. Compute indirect forces (2) Example: Computation of successor forces for task 1 in time step 2 j predecessor of j j successor of j

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Overall forces The total force is the sum of direct and indirect forces: In the example: The low value suggests mapping task 1 to time step 2

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Overall approach procedure forceDirectedScheduling; begin AsapScheduling; AlapScheduling; while not all tasks scheduled do begin select task T with smallest total force; schedule task T at time step minimizing forces; recompute forces; end; end May be repeated for different task/ processor classes Not sufficient for today's complex, heterogeneous hardware platforms

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Evaluation of HLS-Scheduling Focus on considering dependencies Mostly heuristics, few proofs on optimality Not using global knowledge about periods etc. Considering discrete time intervals Variable execution time available only as an extension Includes modeling of heterogeneous systems

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2009 TU Dortmund Conclusion HLS-based scheduling ASAP ALAP List scheduling (LS) Force-directed scheduling (FDS) Evaluation