+ All Categories
Home > Documents > Queuing Analysis

Queuing Analysis

Date post: 05-Jan-2016
Category:
Upload: louvain
View: 40 times
Download: 1 times
Share this document with a friend
Description:
Queuing Analysis. An example of a Queue. Web server: handles requests in 1 msec If requests arrive at a constant rate of 1000 req/sec or less, everything works fine. In reality, arrival rate is not constant but varies. Suppose arrival rate is irregular with an average of 500 req/sec. - PowerPoint PPT Presentation
Popular Tags:
22
1 Queuing Analysis
Transcript
Page 1: Queuing Analysis

1

Queuing Analysis

Page 2: Queuing Analysis

2

An example of a Queue

• Web server: handles requests in 1 msec

• If requests arrive at a constant rate of 1000 req/sec or less, everything works fine.

• In reality, arrival rate is not constant but varies.

• Suppose arrival rate is irregular with an average of 500 req/sec.

Page 3: Queuing Analysis

3

Single Server Queue

Page 4: Queuing Analysis

4

Example

Page 5: Queuing Analysis

5

Multiserver Queue

Page 6: Queuing Analysis

6

Difference with Multi Single Server Queue

Page 7: Queuing Analysis

7

Parameters

• Theoretical maximum input rate that can be handled by the system is:• In practice: 70-90%.

ST1

max

Page 8: Queuing Analysis

8

Basic Queuing Relationships

Page 9: Queuing Analysis

9

Queuing Formulas

Page 10: Queuing Analysis

10

Example

• Messages arrive at a switching center for a particular outgoing communication line in a Poisson manner with a mean arrival rate of 180 messages per hour. Message length is distributed exponentially with a mean length of 14,400 characters. Line speed is 9600 bps.

Page 11: Queuing Analysis

11

Example (cont’d)

• What is the mean waiting time in the switching center?

mean message length = 14400 X 8 = 115200 bits

average service time = Ts = 115200 / 9600 = 12 sec

arrival rate = = 180 / 3600 = 0.05 message/sec

utilization = = 0.05 X 12 = 0.6

mean waiting time = T = 0.6 X 12 / (1-0.6) = 18 sec

Page 12: Queuing Analysis

12

Example (cont’d)

• How many messages will be waiting in the switching center for transmission on the average?

messages waiting = = 0.6X0.6/(1-0.6)= 0.9 messages

Page 13: Queuing Analysis

13

Self Similar Traffic

Page 14: Queuing Analysis

14

Self Similarity

• The idea is that something looks the same when viewed from different degrees of “magnification” or different scales on a dimension, such as the time dimension.

• It’s a unifying concept underlying fractals, chaos, power laws, and a common attribute in many laws of nature and in phenomena in the world around us.

Page 15: Queuing Analysis

15

Cantor

Each left portion in a step is a full replica of the preceding step

Page 16: Queuing Analysis

16

Self Similarity of Ethernet Traffic

• Seminal paper by W. Leland et al published in 1993, examined Ethernet traffic between 1989 and 1992, gathering 4 sets of data, each lasting 20 to 40 hours, with a resolution of 20 microseconds.

• Paper shattered the illusion of Poison distribution being adequate for traffic analysis.

• Proved Ethernet traffic is self similar with a Hurst factor of H = 0.9

• 0 < H <1 ; the higher H, the more self similar the pattern

Page 17: Queuing Analysis

17

Page 18: Queuing Analysis

18

Nature of self-similar traffic

• Burstiness: small variations over small time periods, big variations over big time periods (as seen in the figure of slide 23)– As a result of this: If the traffic averaged over longer

periods is plotted, one sees the same percentage of variation as when averaged over short time periods (see figure on slide 25, columns left and right)

– Note: In the case of Poisson traffic, the percentage variations decrease as the time period over which the traffic values are averaged increases (see middle column)

Page 19: Queuing Analysis

19

Self Similar Traffic in Simulation

• A superposition of many Pareto-distributed ON-OFF sources can be used to generate self similar traffic.

• Pareto distribution is a heavy-tailed distribution: the tail decays much more slowly than the exponential distribution.

• Typical sample includes many small values and a few very large values (bursty).

Page 20: Queuing Analysis

20

Page 21: Queuing Analysis

21

How Inaccurate Are Older Models?

Page 22: Queuing Analysis

22

Why is the Internet traffic self-similar ?

• It took long time to understand why the Internet traffic is rather self-similar. It appears that the TCP protocol, which is currently used by most applications over the Internet, introduces this traffic property. The speed of data transmission of TCP is influenced by congestion control when a packet gets lost. Through this mechanism, the many independent TCP connections that run over the Internet become dependent on one another. The interaction is quite complex and involves the retransmission process after time-out. The net result is that the traffic becomes self-similar.

• Note that voice and video streaming does not use TCP. As these types of applications become more important over the Internet, it can be expected that the traffic will become less self-similar.

• It is to be noted that the arrival pattern of new sessions (e.g. TELNET sessions or Web server sessions) have been observed to follow a Poisson distribution.


Recommended