20.01.2015 Views

Performance Modeling and Benchmarking of Event-Based ... - DVS

Performance Modeling and Benchmarking of Event-Based ... - DVS

Performance Modeling and Benchmarking of Event-Based ... - DVS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.1. SPECJMS2007 - A STANDARD BENCHMARK 89<br />

Interaction 6:<br />

ξ6,a se = λ 6<br />

ξ6,a re = λ 6 · |Ψ SM |<br />

ξ j 6,k<br />

= 0, ∀k ∈ Γ, k ≠ a ∧ j ∈ Ω<br />

Interaction 7:<br />

ξ7,a se = λ 7<br />

ξ7,a re = λ 7 · |Ψ SM |<br />

ξ j 7,k<br />

= 0, ∀k ∈ Γ, k ≠ a ∧ j ∈ Ω<br />

Message Throughput per Location We now analyze the message throughput on a per<br />

location basis. The following notation will be used:<br />

χ j l,k<br />

for j ∈ Ω, l ∈ Λ, k ∈ Γ<br />

No <strong>of</strong> messages <strong>of</strong> group k sent/received per sec by a location <strong>of</strong> type l.<br />

χ j l = ∑ k∈Γ ξj l,k<br />

for j ∈ Ω, l ∈ Λ<br />

Total no <strong>of</strong> messages sent/received per sec by a location <strong>of</strong> type l.<br />

SMs participate in all interactions apart from Interaction 2. The following equations characterize<br />

the message throughput <strong>of</strong> each SM:<br />

χ se<br />

SM,a = χ se<br />

SM,b = χ re<br />

SM,c = 0<br />

χ re<br />

SM,a = λ 6 + λ 7<br />

χ re<br />

SM,b = λ 3<br />

χ se<br />

SM,c = λ 5<br />

χ se<br />

SM,d = 2λ 1 + λ 4<br />

χ re<br />

SM,d = 2λ 1 + λ 4<br />

SPs participate only in Interaction 2. Overall λ 2 · |Ψ DC | callForOffers messages are sent<br />

by the DCs per sec. Therefore, every SP receives ρ · λ 2 · |Ψ DC | messages <strong>and</strong> for each <strong>of</strong> them<br />

it sends an <strong>of</strong>fer to the respective DC. The probability that an <strong>of</strong>fer is accepted is 1 ζ<br />

<strong>and</strong> hence<br />

the number <strong>of</strong> SP <strong>of</strong>fers accepted per sec is given by:<br />

ρ · λ 2 · |Ψ DC |<br />

ζ<br />

= λ 2 · |Ψ DC |<br />

|Ψ SP |<br />

The following equations characterize the message throughput <strong>of</strong> each SP:<br />

χ se<br />

SP,a = χ re<br />

SP,a = χ se<br />

SP,b = χ se<br />

SP,c = χ re<br />

SP,c = 0<br />

χ re<br />

SP,b = ρ · λ 2 · |Ψ DC |<br />

χ se<br />

SP,d = ρ · λ 2 · |Ψ DC | + 3λ 2 · |Ψ DC |<br />

|Ψ SP |<br />

χ re<br />

SP,d = 2λ 2 · |Ψ DC |<br />

|Ψ SP |<br />

DCs participate in Interactions 1 <strong>and</strong> 2 both as producers <strong>and</strong> consumers <strong>of</strong> messages. The<br />

number <strong>of</strong> SMs supplied by each DC is given by δ = |Ψ SM |<br />

|Ψ DC | .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!