approximate delay analysis
play

Approximate delay analysis Stabilized slotted Aloha with - PowerPoint PPT Presentation

Approximate delay analysis Stabilized slotted Aloha with pseudo-Bayesian algorithm Assuming arrival rate is known Probability of successful transmission P s = 1 /e if backlog n 2 and P s = 1 if n = 1 Let W i be the delay from arrival of i


  1. Approximate delay analysis Stabilized slotted Aloha with pseudo-Bayesian algorithm Assuming arrival rate λ is known Probability of successful transmission P s = 1 /e if backlog n ≥ 2 and P s = 1 if n = 1 Let W i be the delay from arrival of i th packet until beginning of i th successful transmission We can assume that the average of W i over all i is the expected queueing delay W Let n i be number of backlogged packets at the instant before i ’s arrival (not including any packet currently being successfully transmitted) Information Networks – p.1/22

  2. Approximate delay analysis Let R i be the residual time to beginning of next slot and t 1 the subsequent interval until next successful transmission is completed. Similarly t j the interval from the end of the ( j − 1) subsequent success to the end of the j th subsequent success. After n i successful transmissions y i is the remaining interval until the beginning of next successful transmission, then n i � W i = R i + t j + y i j =1 Information Networks – p.2/22

  3. Approximate delay analysis n i � W i = R i + t j + y i j =1 For each interval t j the backlog is at least 2, thus each slot is successful with probability 1 /e and the expected value of each t j is e Little’s theorem gives E [ n i ] = λE [ W i ] = λW E [ R i ] = 1 / 2 , and we get W = 1 / 2 + λWe + E [ y ] Information Networks – p.3/22

  4. Approximate delay analysis Consider the first slot boundary at which both the ( i − 1) st departure and the i th arrival have occurred If backlog is 1 then y i = 0 If backlog n > 1 , then E [ y i ] = e − 1 Let p n be steady state probability that backlog is n at a slot boundary If state is 1 at beginning of a slot we always get a successful transmission, thus p 1 is the fraction of slots in which state is 1 and a packet is successfully transmitted Information Networks – p.4/22

  5. Approximate delay analysis Total fraction of slots with successful transmission is λ , thus p 1 /λ is the fraction of packets transmitted from state 1 and 1 − p 1 /λ is the fraction transmitted from higher numbered states, in total we get E [ y ] = ( e − 1)(1 − p 1 /λ ) = ( e − 1)( λ − p 1 ) λ The rate of packets transmitted from state 1 is p 1 The probability of state higher than 1 is (1 − p 0 − p 1 ) and successful transmission with probability 1 /e give rate of packets transmitted from higher states as (1 − p 0 − p 1 ) /e Thus we get λ = p 1 + (1 − p 0 − p 1 ) /e Information Networks – p.5/22

  6. Approximate delay analysis State 0 entered only if no new arrivals occurred in the previous slot and previous state was 0 or 1, thus p 0 = ( p 0 + p 1 ) e − λ λe = ( e − 1) p 1 + 1 − p 0 p 0 = ( e − 1) p 1 + 1 − λe ( e − 1) p 1 + (1 − λe ) = (( e − 1) p 1 + (1 − λe ) + p 1 ) e − λ ( e − 1) e λ p 1 + (1 − λe ) e λ = ( e − 1) p 1 + (1 − λe ) + p 1 (1 − λe )( e λ − 1) = p 1 (( e − 1)(1 − e λ ) + 1) (1 − λe )( e λ − 1) p 1 = 1 − ( e − 1)( e λ − 1) Information Networks – p.6/22

  7. Approximate delay analysis Now, combining our equations W = 1 / 2 + λWe + E [ y ] ( e − 1)( λ − p 1 ) E [ y ] = λ (1 − λe )( e λ − 1) p 1 = 1 − ( e − 1)( e λ − 1) We get ( e − 1)( e λ − 1) W = e − 1 / 2 1 − λe − λ (1 − ( e − 1)( e λ − 1)) Information Networks – p.7/22

  8. Time division multiplex For comparison, consider the delay in a time division multiplex system with m traffic streams of equal length packets arriving according to a Poisson process with rate λ/m each Time axis divided into m -slot frames with one time slot dedicated to each traffic stream This corresponds to m M/D/1 queueing systems, each with service rate µ = 1 /m According to M/D/1-formula for queueing delay (3.45) p. 187 the average queueing delay is W q = ρ/ (2 µ (1 − ρ )) where ρ = λ/m 1 /m = λ Information Networks – p.8/22

  9. Time division multiplex Thus we get average queueing delay mλ W q = 2(1 − λ ) In addition to this we have an average delay of m/ 2 waiting for the traffic slot for the traffic stream in question Our total average delay from a packet arrival until it begins transmission is m W TDM = 2(1 − λ ) Information Networks – p.9/22

  10. TDM vs Stabilized Slotted Aloha 20 18 16 14 12 10 8 6 4 2 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Stabilized Slotted Aloha in solid line, TDM with m = 8 in dotted line and with m = 16 in dash-dotted line. Information Networks – p.10/22

  11. Binary exponential backoff For packet radio networks and some other multiaccess situations the assumption of immediate (0,1,e) feedback is unrealistic In some systems a node only receives feedback about its own packets, no feedback in about slots in which it does not transmit This limited feedback is insufficient for the backlog estimation of pseudo-Bayesian strategy An alternative stabilization strategy is binary exponential backoff used in Ethernet If a packet has been transmitted unsuccessfully i times the transmission in successive slots is set to q r = 2 − i Information Networks – p.11/22

  12. Binary exponential backoff When a packet initially arrives it is transmitted immediately in next slot, since the node knows nothing of the backlog this is reasonable With successive collisions any reasonable estimate of backlog would increase which motivates the decrease in retransmission probability q r When q r is reduced the node gets less feedback per slot about the backlog, to play safe it’s reasonable to increase the backlog estimate by larger and larger amounts on each successive collision In the limit as number of nodes approach infinity this strategy is unstable for every arrival rate λ > 0 Information Networks – p.12/22

  13. Unslotted Aloha The original Aloha protocol was unslotted, in this strategy each node, upon receiving a new packet, transmits it immediately rather than waiting for a slot boundary We omit the slotted system assumption If a packet is involved in a collision, it is retransmitted after a random delay We assume that if the transmission times for two packets overlap at all those packets fail and retransmission will be required We assume that each node, after a given propagation delay, can determine whether or not its packets were correctly received Information Networks – p.13/22

  14. Unslotted Aloha If one packet starts transmission at time t , and all packets have unit length, any other transmission starting between t − 1 and t + 1 will cause a collision Assume infinite number of nodes A node is considered backlogged from the time it has determined that its previously transmitted packet was involved in a collision until the time that it attempts retransmission Number of backlogged nodes is n Assume that period until attempted retransmission τ is exponentially distributed with probability density xe − xτ , where x is interpreted as retransmission attempt rate Information Networks – p.14/22

  15. Unslotted Aloha With an overall Poisson arrival rate λ , the times of attempted retransmissions is a time-varying Poisson process with rate G ( n ) = λ + nx where n is the backlog at a given time Let τ i be the interval between the i th and ( i + 1) th transmission attempt, the i th attempt will be successful if both τ i and τ i − 1 exceed 1 (assuming all packets have length 1) The probability distribution for the interval τ i is G ( n ) e − G ( n ) τ i thus the probability that τ i > 1 is e − G ( n ) Assuming τ i and τ i − 1 independent gives probability of successful transmission P s = e − 2 G ( n ) Information Networks – p.15/22

  16. Unslotted Aloha Attempted transmissions occur at rate G ( n ) , the expected number of successful transmissions per unit time, the throughput as a function of n is G ( n ) e − 2 G ( n ) The situation is very similar to slotted Aloha, except the maximum throughput is 1 / (2 e ) achieved when G ( n ) = 1 / 2 We have assumed that backlog is same in intervals surrounding a given transmission attempt, but whenever a backlogged packet initiates a transmission the backlog decreases by 1 and whenever a collided packet is detected it increases by 1, for small x this error is relatively small Information Networks – p.16/22

  17. Unslotted Aloha We have the same stability problems as in slotted Aloha With limited feedback stability is quite difficult to achieve or analyze One advantage with unslotted Aloha is that it can be used with variable length packets, this compensates for some of the inherent throughput loss and gives an advantage in simplicity As for unstabilized slotted Aloha, if we have very small arrival rate λ and very large mean retransmission time the system can be expected to run for a long time without major backlog buildup. Information Networks – p.17/22

  18. Aloha Summary Assuming Poisson arrivals, collision or perfect reception, (0,1,e) feedback, retransmission of collisions, either no buffering or infinite set of nodes Already simplistic analysis identifies maximum throughput 1 /e at attempt rate G = 1 More precise model using a Markov chain with state n , the number of backlogged nodes We can compute steady state probability distribution for number of backlogged nodes, and thus expected number of backlogged nodes and (using Little’s theorem) average delay Information Networks – p.18/22

  19. Slotted Aloha Stationary Probabilities p 0 , p 1 , p m and rejection probability as function of number of nodes m 1 0.8 0.6 0.4 0.2 0 −0.2 0 5 10 15 20 25 30 Information Networks – p.19/22

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend