Distributed Execution of Ptolemy Models - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Distributed Execution of Ptolemy Models

Description:

Message relay (ptAgent) ptAgent. ptAgent. ptAgent. Naming Service. Register ... a lower level, e.g., communication observer, debugger and life-time management ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 23
Provided by: elle95
Category:

less

Transcript and Presenter's Notes

Title: Distributed Execution of Ptolemy Models


1
  • Distributed Execution of Ptolemy Models
  • Yang Zhao (ellen_zh_at_eecs)
  • Thomas H. Feng (tfeng_at_eecs)
  • Class Project for EE290N

2
Demo
3
Overview
  • A framework to distributedly execute Ptolemy
    models (currently, PN models)
  • DPN (Distributed PN) domain in Ptolemy
  • Startup and communication between submodels
  • PN semantics (blocking read, blocking write)
  • Model deployment
  • Communication framework based on CORBA
  • Dynamically lookup machines (Naming Service)
  • Ptolemy process startup on request (ptAgent)
  • Message relay (ptAgent)

4
Register (1)
Naming Service
ptAgent
ptAgent
ptAgent
5
Register (2)
Naming Service
ptAgent
Register to Naming Service (ptAgent, Models)
ptAgent
ptAgent
6
Lookup (1)
Naming Service
ptAgent
Look up to Naming Service (ptAgent, Models)
ptAgent
ptAgent
7
Lookup (2)
Naming Service
ptAgent
after look up for ptAgent
ptAgent
ptAgent
8
Distributed Execution in Ptolemy
  • Two major ways
  • Distribute a big model to a set of hosts and have
    them cooperate when executing to maintain the
    entire behavior.
  • Discover applications or models currently running
    in the system and join them ex, distributed
    games, chat rooms.

9
Lookup for Available ptAgents
10
Configuration
DOPLAP11
DOPLAP11
DOPLAP19
11
Model Deployment
Parse the model with the given configuration
DOPLAP11
DOPLAP11
DOPLAP19
12
Model Deployment
Double click to distribute model.
ptAgent
ptAgent
13
Model Deployment
Double click to distribute model.
Launch/start model
Launch/start model
ptAgent
ptAgent
14
Model Execution
CommunicationHelper
CommunicationHelper
ptAgent
ptAgent
15
Distributed Execution
Publisher/Consumer
Publisher/Consumer
CommunicationHelper
CommunicationHelper
Event channel
ptAgent
ptAgent
16
Distributed Execution in Ptolemy
  • Two major ways
  • Distribute a big model to a set of hosts and have
    them cooperate when executing to maintain the
    entire behavior.
  • Discover applications or models currently running
    in the system and join them ex, distributed
    games, chat rooms.

17
Chat demo
ptAgent
ptAgent
Host1
18
Chat demo
ptAgent
ptAgent
Host1
19
Chat demo
connect to
ptAgent
ptAgent
Host1
20
Yet another way to use
21
Yet another way to use
22
Future Work
  • Extend the current implementation to support more
    domains (e.g., DE, SDF)
  • Improve communication efficiency to enable
    high-performance execution
  • To preserve the semantics of timed domains,
    realize backtracking with AspectJ
  • Provide more facility at a lower level, e.g.,
    communication observer, debugger and life-time
    management
Write a Comment
User Comments (0)
About PowerShow.com