|
n τ (1 - τ)n-1 Ps × Ptr = --------------- × (1 - (1 - τ)n) = n τ (1 - τ)n-1 1 - (1 - τ)n |
Also:
Ҏ[ exactly 1 transmission ] = n τ (1 - τ)n-1 = Ptr × Ps ...... (A) |
This is not a coincidence, because:
Ҏ[ exactly 1 transmission ] = Ҏ[ we have a successful transmission ] = Ҏ[ successful packet transmission | 0 transmission ] × Ҏ[ 0 transmission ] + Ҏ[ successful packet transmission | ≥ 1 transmission ] × Ҏ[ ≥ 1 transmission ] (This is the Law of Total Probability - See: click here) |
|
Total amount of useful time S = -------------------------------- Total amount of time |
However, the general approach can rarely be applied directly
Notes:
|
Avg. length of the payload in a slot × Ҏ[ slot contains exactly one transmission ] S = ---------------------------------------------------------------------------------------- Avg. length of a slot Avg. length of the payload in a slot × C(n,1) τ1 (1 - τ)n-1 = ------------------------------------------------------------- Avg. length of a slot Avg. length of the payload in a slot × n τ (1 - τ)n-1 = ------------------------------------------------------ (See note: click here) Avg. length of a slot Avg. length of the payload in a slot × Ptr × Ps = ------------------------------------------------- Avg. length of a slot E[P] × Ptr × Ps = ------------------------- ........ (3) Avg. length of a slot (E[P] = Avg. length of the payload in a slot) |
|
|
Avg. length of a slot = Weighted average of the length of the 3 diff. kinds of slot = Ҏ[ 0 transmission ] × σ + Ҏ[ 1 transmission ] × Ts + Ҏ[ > 1 transmission ] × Tc = (1 - Ptr)×σ + (PtrPs)×Ts + (Ptr(1-Ps))×Tc .......... (4) |
E[P] × Ptr × Ps S = ----------------------- ........ (3) (click here) Avg. length of a slot Avg. length of a slot = (1 - Ptr)×σ + (PtrPs)×Ts + (Ptr(1-Ps))×Tc ........ (4) |
|
Note:
|
Ts = ( H + E[P] + SIFT + δ ) + ( ACK + DIFS + δ ) ..... (6) Tc = H + E[P] + DIFT + δ ..... (7) |
Ts = ( RTS + SIFT + δ ) + ( CTS + SIFT + δ ) + ( H + E[P] + SIFT + δ ) + ( ACK + DIFS + δ ) ..... (8) Tc = RTS + DIFT + δ ..... (9) |
Since I am not trying to teach you probability, I will skip this analysis
|
E[P] × Ptr × Ps S = ------------------------- ........ (3) Avg. length of a slot
|
Notes:
|