Fakult ä t f ü r informatik informatik 12 technische universit ä t dortmund Data flow models Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra.

Slides:



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

Z-Transformation Die bilaterale Z-Transformation eines Signals x[n] ist die formale Reihe X(z): wobei n alle ganzen Zahlen durchläuft und z, im Allgemeinen,
Service Discovery in Home Environments
P. Marwedel Informatik 12, U. Dortmund
Finite state machines & message passing: SDL
R. Zankl – Ch. Oelschlegel – M. Schüler – M. Karg – H. Obermayer R. Gottanka – F. Rösch – P. Keidler – A. Spangler th Expert Meeting Business.
Informatik 12, TU Dortmund
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 Mapping of Applications to Platforms Peter Marwedel TU Dortmund, Informatik 12 Germany.
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 Hardware/Software Partitioning Peter Marwedel Informatik 12 TU Dortmund Germany Chapter.
Aufgabenbesprechung Programming Contest. Order 7 Bo Pat Jean Kevin Claude William Marybeth 6 Jim Ben Zoe Joey Frederick Annabelle 0 SET 1 Bo Jean Claude.
NUMEX – Numerical experiments for the GME Fachhochschule Bonn-Rhein-Sieg Wolfgang Joppich PFTOOL - Precipitation forecast toolbox Semi-Lagrangian Mass-Integrating.
Lancing: What is the future? Lutz Heinemann Profil Institute for Clinical Research, San Diego, US Profil Institut für Stoffwechselforschung, Neuss Science.
Three minutes presentation I ArbeitsschritteW Seminar I-Prax: Inhaltserschließung visueller Medien, Spree WS 2010/2011 Giving directions.
Thomas Herrmann Software - Ergonomie bei interaktiven Medien Step 6: Ein/ Ausgabe Instrumente (Device-based controls) Trackball. Joystick.
CCNA Exploration Network Fundamentals
5th IAEA Technical Meeting on ECRH Gandhinagar – February 2009
Die Hausaufgaben: Machen Sie Ü. 7 auf S. 29
1 IDA, TU Braunschweig SuReal – Sicherheitsgarantien unter Realzeitanforderungen Jonas Rox Braunschweig, Jonas Rox Braunschweig,
Adjektive Endungen von Frau Templeton.
Introduction to Articles
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
Sanjay Patil Standards Architect – SAP AG April 2008
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
Morphology and Syntax More on sentence structure.
BAS5SE | Fachhochschule Hagenberg | Daniel Khan | S SPR5 MVC Plugin Development SPR6P.
Deutsch 1 G Stunde. Donnerstag, der 18. Oktober 2012 Deutsch 1, G Stunde Heute ist ein E- Tag Unit: Family & homeFamilie & Zuhause Objectives: Phrases.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
Department of Computer Science Homepage HTML Preprocessor Perl Database Revision Control System © 1998, Leonhard Jaschke, Institut für Wissenschaftliches.
INTAKT- Interkulturelle Berufsfelderkundungen als ausbildungsbezogene Lerneinheiten in berufsqualifizierenden Auslandspraktika DE/10/LLP-LdV/TOI/
States in the development of a new service During the development a service will pass through a chain of stages determining the service.
Guten Morgen!.
Verben Wiederholung Deutsch III Notizen.
Fach: Informatik Thema: Maschinendatenerfassung Klasse: 2AHWILJahrgang: 2013/2014 Höhere Technische Bundes-Lehr-und Versuchsanstalt St.Pölten Fachbereich.
Kölner Karneval By Logan Mack
Impairments in Polarization-Multiplexed DWDM Channels due to Cross- Polarization Modulation Marcus Winter Christian-Alexander Bunge Klaus Petermann Hochfrequenztechnik-Photonik.
Ein Projekt des Technischen Jugendfreizeit- und Bildungsvereins (tjfbv) e.V. kommunizieren.de Blended Learning for people with disabilities.
Image Processing and Analysis Introduction. How do we see things ?
Fakultät für informatik informatik 12 technische universität dortmund Memory-architecture aware compilation - Sessions Peter Marwedel TU Dortmund.
Cross-Polarization Modulation in DWDM Systems
External Labels – The rules For all external labels the following rules apply (external labels are all labels which are not inside of a shape) - all labels.
© Boardworks Ltd of 8 Time Manner Place © Boardworks Ltd of 8 This icon indicates that the slide contains activities created in Flash. These.
Alltagsleben Treffpunkt Deutsch Sixth Edition
Can you tell me about your school?
Adjectiv Endungen Lite: Adjective following articles and pre-ceeding nouns. Colors and Clothes.
Relativpronomen / Relativsätze:
Sentence Structure Subject and verb are always together. Subject and verb are always together. Subject and verb must agree Subject and verb must agree.
KIT – die Kooperation von Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH) Vorlesung Knowledge Discovery - Institut AIFB Tempus fugit Towards.
Separable Verbs Turn to page R22 in your German One Book R22 is in the back of the book There are examples at the top of the page.
1 Intern | ST-IN/PRM-EU | | © Robert Bosch GmbH Alle Rechte vorbehalten, auch bzgl. jeder Verfügung, Verwertung, Reproduktion, Bearbeitung,
Plusquamperfekt The past of the past.
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.
THE PERFECT TENSE IN GERMAN
Adjective Endings Nominative & Accusative Cases describing auf deutsch The information contained in this document may not be duplicated or distributed.
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.
You need to use your mouse to see this presentation
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.
Fakultät für informatik informatik 12 technische universität dortmund Lab 2: Heterogeneous System Modeling in Ptolemy - Session 6 - Peter Marwedel Heiko.
 Präsentation transkript:

fakult ä t f ü r informatik informatik 12 technische universit ä t dortmund Data flow models Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra Nolte, Gesine Marwedel, /10/08

- 2 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Models of computation considered in this course Communication/ local computations Shared memory Message passing Synchronous | Asynchronous Undefined components Plain text, use cases | (Message) sequence charts Communicating finite state machines StateChartsSDL Data flow(Not useful)Kahn networks, SDF Petri nets C/E nets, P/T nets, … Discrete event (DE) model VHDL, Verilog, SystemC, … Only experimental systems, e.g. distributed DE in Ptolemy Von Neumann modelC, C++, Java C, C++, Java with libraries CSP, ADA |

- 3 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Data flow as a natural model of applications Examples Registering for courses Video on demand system

- 4 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Data flow modeling Def.: The process of identifying, modeling and documenting how data moves around an information system. Data flow modeling examines processes (activities that transform data from one form to another), data stores (the holding areas for data), external entities (what sends data into a system or receives data from a system, and data flows (routes by which data can flow). See also S. Edwards: ~sedwards/classes/2001/w /presentations/dataflow.ppt

- 5 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Reference model for data flow: Kahn process networks Special case: Kahn process networks: executable task graphs; Communication via infinitely large FIFOs For asynchronous message passing: communication between tasks is buffered

- 6 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Properties of Kahn process networks (1) Each node corresponds to one program/task; Communication is only via channels; Channels include FIFOs as large as needed; Channels transmit information within an unpredictable but finite amount of time; Mapping from 1 input seq. to 1 output sequence; In general, execution times are unknown; Send operations are non-blocking, reads are blocking. One producer and one consumer; i.e. there is only one sender per channel;

- 7 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Properties of Kahn process networks (2) There is only one sender per channel. A process cannot check whether data is available before attempting a read. A process cannot wait for data for more than one port at a time. Therefore, the order of reads depends only on data, not on the arrival time. Therefore, Kahn process networks are determinate (!); for a given input, the result will always the same, regardless of the speed of the nodes. SDL-like conflicts at FIFOs do not exist. This is the key beauty of KPNs!

- 8 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Properties of Kahn process networks (3) © R. Gupta (UCSD), W. Wolf (Princeton), 2003 It is a challenge to schedule KPNs without accumulating tokens Animation levi animation Process f(in int u, in int v, out int w){ int i; bool b = true; for (;;) { i= b ? wait(u) : wait(v); //wait return next token in FIFO, blocks if empty printf (%i\n,i); send (i,w); //writes a token into a FIFO w/o blocking b = !b; } Model of parallel computations used in practice Example:

- 9 - technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Asynchronous message passing: Synchronous data flow (SDF) Asynchronous message passing= tasks do not have to wait until output is accepted. Synchronous data flow = all tokens are consumed at the same time. SDF model allows static scheduling of token production and consumption. In the general case, buffers may be needed at edges.

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Synchronous Dataflow (SDF) Fixed Production/Consumption Rates Balance equations (one for each channel): Schedulable statically Decidable: buffer memory requirements deadlock fire B { … consume M … } fire A { … produce N … } channel N M number of tokens consumed number of firings per iteration number of tokens produced Source: ptolemy.eecs.berkeley.edu/presentations/03/streamingEAL.ppt

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Parallel Scheduling of SDF Models A C D B SequentialParallel SDF is suitable for automated mapping onto parallel processors and synthesis of parallel circuits. Many scheduling optimization problems can be formulated. Some can be solved, too! Source: ptolemy.eecs.berkeley.edu/presentations/03/streamingEAL.ppt

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Similar MoC: Simulink - example - From ess/helpdesk/help/toolbox/ fuzzy/fuzzyt25.shtml Semantics? Simulink uses an idealized timing model for block execution and communication. Both happen infinitely fast at exact points in simulated time. Thereafter, simulated time is advanced by exact time steps. All values on edges are constant in between time steps. [Nicolae Marian, Yue Ma]

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Code automatically generated © MathWorks, cmsimages/rt_forloop_code_wl_7430.gif Starting point for model-based design

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Actor languages © E. Lee, Berkeley

technische universität dortmund fakultät für informatik p. marwedel, informatik 12, 2008 Summary Data flow model of computation Motivation Kahn process networks SDF Visual programming languages Simulink