Using Coloured Petri Nets with Time (CPN Tools) to Model - - PowerPoint PPT Presentation

using coloured petri nets with time cpn tools to model
SMART_READER_LITE
LIVE PREVIEW

Using Coloured Petri Nets with Time (CPN Tools) to Model - - PowerPoint PPT Presentation

Using Coloured Petri Nets with Time (CPN Tools) to Model Interconnection Network Amin Ranjbar December 2008 Outline Background Interconnection Networks Colored Petri Net Motivation Model and Design Numerical Results


slide-1
SLIDE 1

Using Coloured Petri Nets with Time (CPN Tools) to Model Interconnection Network

Amin Ranjbar December 2008

slide-2
SLIDE 2

2

Outline

Background

Interconnection Networks Colored Petri Net

Motivation Model and Design Numerical Results Conclusion

slide-3
SLIDE 3

3

Background: What is Interconnection Network?

A set of processors with local memories

which communicate through a network.

Terminology

Topology: The way nodes are interconnected. Routing Algorithm: Determines the path from

source to destination.

slide-4
SLIDE 4

4

Background: Interconnection Network Topology

slide-5
SLIDE 5

5

Background: Interconnection Network Topology

Hypercube

slide-6
SLIDE 6

6

Background: Interconnection Network – Routing Algorithm

Topologies are simple and regular Very low delay and extra high bandwidth are

needed

Simple routing algorithms are developed for

interconnection networks (deadlock is an important concern)

Example: e-cube routing in hypercube

networks

Messages are routed along first dimension, then

routing continues in other dimensions.

slide-7
SLIDE 7

Background: Interconnection Network – Routing Algorithm (e-Cube)

(0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,1,1) (1,1,0) (1,0,0) (0,1,1)

slide-8
SLIDE 8

Background: Interconnection Network – Routing Algorithm (e-Cube)

(0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,1,1) (1,1,0) (1,0,0) (0,1,1) (1,1,1)

slide-9
SLIDE 9

Background: Interconnection Network – Routing Algorithm (e-Cube)

(0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,1,1) (1,1,0) (1,0,0) (0,1,1) (1,1,1)

slide-10
SLIDE 10

Background: Interconnection Network – Routing Algorithm (e-Cube)

(0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,1,1) (1,1,0) (1,0,0) (0,1,1) (1,1,1)

slide-11
SLIDE 11

Background: Interconnection Network – Routing Algorithm (e-Cube)

(0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,1,1) (1,1,0) (1,0,0) (0,1,1) (1,1,1)

slide-12
SLIDE 12

12

Background: What is CPN?

Modelling language for systems where

synchronisation, communication, and resource sharing are important.

Combination of Petri Nets and Programming

Language.

Control structures, synchronisation, communication,

and resource sharing are described by Petri Nets.

Data and data manipulations are described by

functional programming language.

CPN models are validated by means of

simulation and verified by means of state spaces and place invariants.

slide-13
SLIDE 13

13

Background: What is CPN?

Places describe the state of the system. Places carry markers, called tokens. Transitions describe the actions of the system Arcs tell how actions modify the state and when

they occur

slide-14
SLIDE 14

14

Background: CPN Advantages

The relationship between CP-nets and ordinary

Petri nets (PT-nets) is analogous to the relationship between high-level programming languages and assembly code.

In theory, the two levels have exactly the

same computational power.

In practice, high-level languages have much

more modelling power – because they have better structuring facilities, e.g., types and modules.

CPN has:

Color (type) Time

Hierarchy

slide-15
SLIDE 15

15

Motivation

The interconnection network plays a central role in

determining the overall performance of a multi- computer system.

If

the network cannot provide adequate performance, for a particular application, nodes will frequently be forced to wait for data to arrive.

The best approach for performance evaluation of

interconnection networks is a simulator which can provide an extensible framework for evaluating different interconnection networks.

slide-16
SLIDE 16

16

Design and Model (One Dimensional – System)

slide-17
SLIDE 17

17

Design and Model (Node)

slide-18
SLIDE 18

18

Design and Model (Two Dimensional – System)

slide-19
SLIDE 19

19

Design and Model (Two Dimensional Node)

slide-20
SLIDE 20

20

Design and Model (Three Dimensional – System)

slide-21
SLIDE 21

21

Design and Model (Three Dimensional Node)

slide-22
SLIDE 22

22

Results: One Dimensional

One Dimensional

50 100 150 200 250 300 350 400 0.2 0.4 0.6 0.8 1 1.2 Message Generation Rate Average Total Latency

Message latency Queue Delay

slide-23
SLIDE 23

23

Results: One Dimensional

Two Dimensional

50 100 150 200 250 300 350 400 0.2 0.4 0.6 0.8 1 1.2 Message Generation Rate Average Total Latency

Message latency Queue Delay

slide-24
SLIDE 24

24

Results: Three Dimensional

Three Dimensional

50 100 150 200 250 300 350 400 0.2 0.4 0.6 0.8 1 1.2 Message Generation Rate Average Total Latency

Message latency Queue Delay

slide-25
SLIDE 25

Numerical Results:

50 100 150 200 250 300 350 400 0.2 0.4 0.6 0.8 1 1.2

Message Generation Rate Average Message Total Latency

One Dimension Two Dimension Three Dimension

slide-26
SLIDE 26

Numerical Results:

50 100 150 200 250 300 350 400 0.2 0.4 0.6 0.8 1 1.2

Message Generation Rate Average Sending Queue Delay

One Dimension Two Dimension Three Dimension

slide-27
SLIDE 27

Conclusion

Average Message latency in three

dimensional hypercube is always more than two or one dimensional.

Average Message Latency increases by

increasing message generation rate.

Average Queue length in one dimensional

hypercube is always more than two or three dimensional.

Average Queue length increases by

increasing message generation rate.

slide-28
SLIDE 28

Thank you !

Question ?