Performance Modeling and Benchmarking of Event-Based ... - DVS
Performance Modeling and Benchmarking of Event-Based ... - DVS
Performance Modeling and Benchmarking of Event-Based ... - DVS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2.3. INTRODUCTION TO QUEUEING PETRI NETS 23<br />
Queue<br />
Depository<br />
Nested QPN<br />
Transition<br />
Token<br />
o o o o o o o<br />
o o<br />
Ordinary<br />
Place<br />
Queueing<br />
Place<br />
Subnet<br />
Place<br />
Figure 2.7: QPN Notation<br />
Apart from this, QPNs behaves similar to CGSPN. Formally QPNs are defined as follows:<br />
Definition 5 A Queueing PN (QPN) is an 8-tuple QP N = (P, T, C, I − , I + , M 0 , Q, W ) where:<br />
1. CP N = (P, T, C, I − , I + , M 0 ) is the underlying Colored PN<br />
2. Q = ( ˜Q 1 , ˜Q 2 , (q 1 , ..., q |P | )) where<br />
• ˜Q 1 ⊆ P is the set <strong>of</strong> timed queueing places,<br />
• ˜Q 2 ⊆ P is the set <strong>of</strong> immediate queueing places, ˜Q1 ∩ ˜Q 2 = ∅ <strong>and</strong><br />
• q i denotes the description <strong>of</strong> a queue taking all colors <strong>of</strong> C(p i ) into consideration, if<br />
p i is a queueing place or equals the keyword ‘null’, if p i is an ordinary place.<br />
3. W = ( ˜W 1 , ˜W2 , (w 1 , ..., w |T | )) where<br />
• ˜W 1 ⊆ T is the set <strong>of</strong> timed transitions,<br />
• ˜W 2 ⊆ T is the set <strong>of</strong> immediate transitions, ˜W1 ∩ ˜W 2 = ∅, ˜W1 ∪ ˜W 2 = T <strong>and</strong><br />
• w i ∈ [C(t i ) ↦−→ R + ] such that ∀c ∈ C(t i ) : w i (c) ∈ R + is interpreted as a rate <strong>of</strong> a<br />
negative exponential distribution specifying the firing delay due to color c, if t i ∈ ˜W 1<br />
or a firing weight specifying the relative firing frequency due to color c, if t i ∈ ˜W 2 .<br />
Example 1 (QPN [26]) Figure 2.8 shows an example <strong>of</strong> a QPN model <strong>of</strong> a central server<br />
system with memory constraints based on [26]. Place p 2 represents several terminals, where users<br />
start jobs (modeled with tokens <strong>of</strong> color ‘o’) after a certain thinking time. These jobs request<br />
service at the CPU (represented by a G/C/1/PS queue, where C st<strong>and</strong>s for Coxian distribution)<br />
<strong>and</strong> two disk subsystems (represented by G/C/1/FCFS queues). To enter the system each job<br />
has to allocate a certain amount <strong>of</strong> memory. The amount <strong>of</strong> memory needed by each job is<br />
assumed to be the same, which is represented by a token <strong>of</strong> color ‘m’ on place p 1 . According to<br />
Definition 5, we have the following: QP N = (P, T, C, I − , I + , M 0 , Q, W ) where<br />
• CP N = (P, T, C, I − , I + , M 0 ) is the underlying Colored PN as depicted in Figure 2.8,<br />
• Q = ( ˜Q 1 , ˜Q 2 , (null, G/C/∞/IS, G/C/1/PS, null,<br />
G/C/1/FCFS, G/C/1/FCFS)),<br />
˜Q 1 = {p 2 , p 3 , p 5 , p 6 }, ˜Q 2 = ∅,<br />
• W = ( ˜W 1 , ˜W2 , (w 1 , ..., w |T | )), where ˜W 1 = ∅, ˜W2 = T <strong>and</strong> ∀c ∈ C(t i ) : w i (c) := 1, so that<br />
all transition firings are equally likely.