Slotted Aloha, instability D n is the drift , i.e. expected change in - - PowerPoint PPT Presentation

slotted aloha instability
SMART_READER_LITE
LIVE PREVIEW

Slotted Aloha, instability D n is the drift , i.e. expected change in - - PowerPoint PPT Presentation

Slotted Aloha, instability D n is the drift , i.e. expected change in backlog over one slot time starting in state n , D n = ( m n ) q a P s P s G ( n ) e G ( n ) is probability of successful transmission, and also expected number


slide-1
SLIDE 1

Slotted Aloha, instability

Dn is the drift, i.e. expected change in backlog over one

slot time starting in state n, Dn = (m − n)qa − Ps

Ps ≈ G(n)e−G(n) is probability of successful

transmission, and also expected number of successful transmissions

G(n) = (m − n)qa + nqr is the attempt rate, the expected

number of attempted transmission in a slot when the system is in state n The probability of an idle slot is approximately e−G(n)

Information Networks – p. 1

slide-2
SLIDE 2

Slotted Aloha, instability

2 4 6 8 10 12 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 Departure/arrival rate as function of attempted rate for qr=0.2,0.3,0.4,0.6

Information Networks – p. 2

slide-3
SLIDE 3

Slotted Aloha, instability

Since G(n)e−G(n) is maximum 1/e for G(n) = 1 we again see that maximum departure rate is 1/e We can also see that they system may have two stable points and the departure rate is almost 0 at the other stable point, so if the system jumps to the undesirable stable point we can get departure rate almost 0 for a long time If we increase qr the delay in retransmitting collided packets decreases, but also the linear relationship between n and the attempt rate G(n) = mqa + n(qr − qa) changes (G(n) increases with n faster when qr is increased)

Information Networks – p. 3

slide-4
SLIDE 4

Slotted Aloha, instability

Increasing qr thus leads to fewer backlogged packets required to exceed the unstable equilibrium point Alternatively, if qr is decreased the delay increases and it becomes more difficult to exceed the unstable equilibrium point If qr is decreased enough only one stable point will remain, but then the backlog is a significant fraction of

m so both an appreciable number of arriving packets

are discarded and the delay is excessively large If we choose qr small enough for stable operation the delay is considerably greater than with TDM thus this approach is not of a very great practical importance

Information Networks – p. 4

slide-5
SLIDE 5

Slotted Aloha, instability

If we replace the no-buffering assumption (a) with the infinite node assumption (b), the attempt rate becomes

G(n) = λ + nqr, and the drift Dn = λ − Ps so the straight

line in our graph becomes horizontal The undesirable stable point disappears, but once the system passes the unstable equilibrium it tends to increase without bound In this case there is no steady-state distribution for our infinite-state Markov model, and the expected backlog increases without bound From a practical point of view, if λ << 1/e and qr is moderate then the system could be expected to remain in the desirable stable state for very long periods

Information Networks – p. 5

slide-6
SLIDE 6

Slotted Aloha, Stabilization

Since Ps = G(n)e−G(n) which is maximized when

G(n) = 1 one approach to achieving stability is to

change qr to maintain attempt rate G(n) at 1 The problem is that n is unknown to the nodes and can

  • nly be estimated from the feedback

With no-buffering assumption (a) the system discards large numbers of arriving packages and has a very large but finite delay With infinite-node assumption (b) no arrivals are discarded but the delay becomes infinite We will now use the infinite-node assumption

Information Networks – p. 6

slide-7
SLIDE 7

Slotted Aloha, Stabilization

We define a multiaccess system as stable for a given arrival rate if the expected delay per packet is finite The maximum stable throughput is defined as the least upper bound of arrival rates for which the system is stable The ordinary slotted Aloha has maximum stable throughput 0 When estimate of backlog is perfect and G(n) = 1, idles

  • ccur with probability 1/e ≈ 0.368, success occur with

probability 1/e, and collisions occur with probability

1 − 2/e ≈ 0.264, thus the rule for changing qr should

allow fewer collisions than idles

Information Networks – p. 7

slide-8
SLIDE 8

Slotted Aloha, Stabilization

If all backlogged nodes use the same retransmission probability the maximum stable throughput is at most

1/e, since when backlog is large the Poisson

approximation becomes more accurate, the success rate is then limited to 1/e and the drift is positive for

λ > 1/e

Pseudo-Bayesian algorithm: new arrivals are regarded as backlogged immediately on arrival Attempt rate G(n) = nqr, probability of successful transmission is nqr(1 − qr)n−1 Each node maintains an estimate ˆ

n of the backlog n at

the beginning of each slot

Information Networks – p. 8

slide-9
SLIDE 9

Pseudo-Bayesian stabilization

Each backlogged packed is transmitted with probability

qr(ˆ n) = min {1, 1/ˆ n}

The estimated backlog ˆ

nk+1 at slot k + 1 is updated from

the estimated backlog ˆ

nk at slot k and feedback for slot k according to ˆ nk+1 =      max {λ, ˆ nk + λ − 1},

for idle or success

ˆ nk + λ + (e − 2)−1,

for collision Addition of λ to take new arrivals into account Subtraction of 1 for successful transmissions to account for succesful departure

Information Networks – p. 9

slide-10
SLIDE 10

Pseudo-Bayesian stabilization

Subtracting of 1 for idle transmission for decreasing estimate when too many idle slots occur Adding (e − 2)−1 on collisions to increase estimate when too many collisions occur. For large backlogs, if ˆ

n = n we get attempt rate 1, and

idles with probability 1/e, collision with probability

(e − 2)/e, so decreasing by 1 on idle and increasing by (e − 2)−1 on collision maintains balance between n and ˆ n on average

Information Networks – p. 10

slide-11
SLIDE 11

Pseudo-Bayesian stabilization

Assume that probability distribution of nk is Poisson with mean ˆ

nk ≥ 1, i.e. P(nk = ν) = ˆ nν

k

ν! e−ˆ

nk

Each packet transmitted with probability 1/ˆ

nk P(idle) =

  • ν=0

P(nk = ν)(1 − 1 ˆ nk )ν =

  • ν=0

ˆ nν

k

ν! e−ˆ

nk(1 − 1

ˆ nk )ν =

  • ν=0

(ˆ nk − 1)ν ν! e−ˆ

nk = e−ˆ nkeˆ nk−1 = e−1

Information Networks – p. 11

slide-12
SLIDE 12

Pseudo-Bayesian stabilization

The a posteriori probability that there were ν packets in the system given that the slot was idle is

P(nk = ν|idle) = P(idle|nk = ν)P(nk = ν) P(idle) = (1 − 1

ˆ nk )ν · ˆ nν

k

ν! e−ˆ nk

e−1 = (ˆ nk − 1)ν ν! e−(ˆ

nk−1)

Thus the a posteriori probability is Poisson distributed with mean ˆ

nk − 1

Information Networks – p. 12

slide-13
SLIDE 13

Pseudo-Bayesian stabilization

Similarly the probability for successful transmission

P(succ) =

  • ν=0

ˆ nν

k

ν! e−ˆ

nkν(1 − 1

ˆ nk )ν−1 1 ˆ nk =

  • ν=1

(ˆ nk − 1)ν−1 (ν − 1)! e−ˆ

nk = e−ˆ nkeˆ nk−1 = e−1

Information Networks – p. 13

slide-14
SLIDE 14

Pseudo-Bayesian stabilization

The a posteriori probability that there were ν + 1 packets in the system given that the slot had a successful transmission is

P(nk = ν + 1|succ) = P(succ|nk = ν + 1)P(nk = ν + 1) P(succ) = (ν + 1)(1 − 1

ˆ nk )ν 1 ˆ nk · ˆ nν+1

k

(ν+1)!e−ˆ nk

e−1 = (ˆ nk − 1)ν ν! e−(ˆ

nk−1)

Thus the a posteriori probability for the remaining packets is Poisson distributed with mean ˆ

nk − 1

Information Networks – p. 14

slide-15
SLIDE 15

Pseudo-Bayesian stabilization

Taking the new arrivals into account we get that given an a priori Poisson probability on nk with mean ˆ

nk ≥ 1,

then given an idle or successful slot, the probability distribution of nk+1 is Poisson with mean nk + λ − 1 Given a collision, the a posteriori probability is not quite Poisson but may be reasonably approximated by a Poisson with mean ˆ

nk+1 = ˆ nk + λ + (e − 2)−1

This is the reason the algorithm is called Pseudo-Bayesian

Information Networks – p. 15

slide-16
SLIDE 16

Pseudo-Bayesian stabilization

In applications the arrival rate λ is typically unknown and slowly varying One possibility is to estimate λ by time-averaging rate of successful transmissions, however nothing has been proven about stability of the algorithm when using dynamic estimate of λ An alternative is to use a fixed value for λ, it can be shown that using 1/e will give stability for all actual

λ < 1/e.

Information Networks – p. 16

slide-17
SLIDE 17

Markov chain example

No-buffering assumption with m = 2 nodes,

qa = 0.1, qr = 0.3.

1 2

0.01 0.27 0.03 0.42 0.99 0.58 0.7

The probabilities (p(k+1)

, p(k+1)

1

, p(k+1)

2

) for the states at slot k + 1 can be expressed in the probabilities at slot k and the

transition probabilities

(p(k+1) , p(k+1)

1

, p(k+1)

2

) = (p(k)

0 , p(k) 1 , p(k) 2 )

   0.99 0.01 0.27 0.7 0.03 0.42 0.58   

Information Networks – p. 17

slide-18
SLIDE 18

Markov chain example

We thus have p(k+1) = p(k)A = p(k−1)A2 = . . . = p(0)Ak+1, where p(0) is the initial probability distribution at first time

  • slot. Since the matrix has a right eigenvector (1, 1, 1)t with

eigenvalue 1, it also has a left eigenvector with eigenvalue

  • 1. This is the largest possible eigenvalue and when k → ∞

the probability state will converge to this stationary probability distribution. The eigenvector equation system p(A − I) = 0 is underdetermined since it has a one-parameter solution

  • space. By replacing one of the equations with the

normalizing condition p0 + p1 + p2 = 1 we get a unique

  • solution. This means that we replace one of the columns

with a column with only ones.

Information Networks – p. 18

slide-19
SLIDE 19

Markov chain example

To find stationary probability distribution we solve the equation system

(p0, p1, p2)    −0.01 1 0.27 −0.3 1 0.42 1    = (0, 0, 1)

which has the solution p0 ≈ 0.94, p1 ≈ 0.035, p2 ≈ 0.025, thus expected value of number of backlogged nodes is

E[n] = 1 · p1 + 2 · p2 ≈ 0.085. From Little’s theorem we get

average queueing delay (due to retransmissions) is T = n/λ and since qa = 1 − e−λ/2 we get λ = 2 ln(1/(1 − qa)) ≈ 0.21 and T ≈ 0.40

Information Networks – p. 19