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.
4.1. MODELING METHODOLOGY FOR EBS 39<br />
where l = HC L(q) <strong>and</strong> r = HR C (q). Assuming that connections use dedicated network links,<br />
the utilization Uq<br />
NET <strong>of</strong> the network link corresponding to connection c q is:<br />
|E|<br />
∑<br />
Uq NET = τqS t t,q NET<br />
(4.9)<br />
t=1<br />
An approximation for the mean response time Rt,q<br />
NET<br />
can be computed according to:<br />
Rt,q NET = SNET t,q<br />
1 − U NET<br />
q<br />
<strong>of</strong> events <strong>of</strong> type e t at connection c q<br />
(4.10)<br />
If multiple connections are sharing a network link, the utilization <strong>of</strong> the network link due<br />
to each <strong>of</strong> these connections must be taken into account when computing the mean response<br />
times at the connections. Assume for example that connections c q1 , c q2 , ..., c qm all share a single<br />
physical network link. The relative utilization <strong>of</strong> the link due to connection c qi is given by:<br />
|E|<br />
∑<br />
Uq NET<br />
i<br />
= τq t i<br />
St,q NET<br />
i<br />
(4.11)<br />
t=1<br />
The total utilization <strong>of</strong> the network link can be computed by summing up the relative<br />
utilizations due to the connections that share it:<br />
U NET<br />
q 1,...,q m<br />
=<br />
m∑<br />
i=1<br />
U NET<br />
q i<br />
(4.12)<br />
An approximation for the mean response time Rt,q NET<br />
i<br />
<strong>of</strong> events <strong>of</strong> type e t at connection c qi<br />
can then be obtained by substituting Uq NET<br />
1,...,q m<br />
for Uq<br />
NET in Eq. 4.10. Now that we have approximations<br />
for the mean response times <strong>of</strong> events at the system nodes <strong>and</strong> network links, we<br />
can use this information to derive an approximation for the mean event delivery latency. In<br />
order to do that we need to capture the paths that events follow on their way from publishers<br />
to subscribers.<br />
Definition 6 (Delivery Path) A delivery path <strong>of</strong> an event is every ordered sequence <strong>of</strong> nodes<br />
(n i1 , n i2 , ..., n im ) without repetitions that is followed by the event upon its delivery to a subscriber<br />
(the event is published at node n i1 <strong>and</strong> delivered to a subscriber at node n im ).<br />
<strong>Event</strong> delivery paths can be determined by monitoring the system during the experiments<br />
conducted to measure the routing probabilities ν t,k<br />
i,j (Section 4.1.2). Every delivery path can be<br />
seen as a vector ⃗w = (n i1 , n i2 , ..., n im ) whose elements are system nodes.<br />
Definition 7 (Dissemination Tree) The set W <strong>of</strong> all delivery paths <strong>of</strong> an event will be referred<br />
to as the dissemination tree <strong>of</strong> the event.<br />
Let W t,k be the union <strong>of</strong> the dissemination trees <strong>of</strong> all events <strong>of</strong> type e t published by publisher<br />
p k . By definition, W t,k = ∅, if publisher p k does not publish any events <strong>of</strong> type e t . Let<br />
W t be the union <strong>of</strong> the dissemination trees <strong>of</strong> all events <strong>of</strong> type e t irrespective <strong>of</strong> the publisher,<br />
i.e., W t = ⋃ |P |<br />
k=1 W t,k is the set <strong>of</strong> all delivery paths <strong>of</strong> events <strong>of</strong> type e t . Let Q(i, j) for<br />
1 ≤ i < j ≤ |N| be the id <strong>of</strong> the connection between nodes n i <strong>and</strong> n j assuming that such a<br />
connection exists.<br />
Definition 8 (Mean Delivery Latency) If ˜W ⊆ W t , the mean delivery latency L t ( ˜W ) <strong>of</strong><br />
an event <strong>of</strong> type e t over the set <strong>of</strong> delivery paths ˜W is defined as the average time it takes to<br />
deliver an event <strong>of</strong> type e t over a r<strong>and</strong>omly chosen path from ˜W .