1 / 48

3.6

3.6. Queueing networks. Multi-dimensional systems Introduction to queueing networks Symmetric queueing systems, Jackson’s theorem Closed networks : single chain Closed networks : several chains Egyéb kérdések. Multi-service queueing systems – 1.

ismet
Télécharger la présentation

3.6

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3.6 Queueingnetworks • Multi-dimensional systems • Introduction to queueing networks • Symmetric queueing systems, Jackson’s theorem • Closednetworks: singlechain • Closednetworks: severalchains • Egyéb kérdések

  2. Multi-service queueing systems – 1. In reversible systems , the departure process is of the same type as the arrival process, in the investigated cases: Poisson processes. In this case several queueing systems may be combined into a network of queueing systems. Customers of same type (class, service, stream) belong to a specficchain, a queueing system is a node in a queueing network In multi-service queueing systems and in queueing networks the waiting time is defined as the total sojourn time , including the service time, s. E.g. if in the Internet, the bandwidth is smaller than requested, then the mean transfer time Wt will be bigger then s and the increase, i. e. is defined as the mean virtual waiting time The available bandwidhtn is expressed as BBU-s (Basic Bandwidht Unit) BBU might be: channel, time slot, server.

  3. Multi-service queueing systems – 2. Example. In general there are N PCT1 input processes with j arrival and μ1 departure intensities (j = 1 … N) (The exact value of the μi departure intensities requires further consideration !)

  4. Multi-service queueing systems – 3. PS: ProcessorSharing PR: PreemptiveResume

  5. Queueingnetworks, introduction – 1. • A queueing system consists of nodes (group of servers with the same function) and requests travelling from node to node. • In queueing networks we define the queue-length in a node as the total number of customers in the node, including customers being served. • A queueing network might be: • open – the number of requests may change, i. e. M/M/n • closed– the number of requests is fixed, i.e. Palm’s machine repair model • The departure process from one node is the arrival process at another node, special attention should be payed to the departure process

  6. p22 Queueingnetworks, introduction – 2. Fournodes. Fouropenchains. State: where: givesthenumber of requestsinnodek and pj,kis theprobability, that a requesthavingleft nodej. is directedtonodek.

  7. Symmetric systems • The queueing system is symmetric if both the arrival and the departure processes are Poissonian. • The four models: • M/M/nstate probabilitiesand • M/G/∞*state probabilities(Poisson !) • M/G/1–PS* state probabilities • M/G/1-LCFS-PR* state probabilities * immediate service! Reversibility PS = Processor Sharing PR = Preemptive Resume

  8. Jackson’s theorem– 1. Jackson’s theorem: Consider an open queueing network with K nodessatisfying the following conditions:

  9. Jackson’s theorem – 2. Further if denotes the state probabilities (ik requests are at node k), there is a statistical equilibrium, and is valid, then the state probabilities haveproduct form: Jackson’s first model refers only to open queueing systems

  10. Jackson’s theorem – 3. • InJackson'ssecondmodelthe arrival intensity from • outside: • may depend on the current number of customers in the network, • furthermore, μkcan dependon the number of customers at node k. In this way, we can model queueing networks which • are either closed, open, or mixed. In all three cases, the state probabilities have productform.

  11. Independence assumption Kleinrock’s independence assumption If we consider a real-life data network, then the packets will have the same constant length,and therefore the same service time on all links and nodes of equal speed. The theory ofqueueing networks assumes that a packet (a customer) samples a new service time in everynode. This is a necessary assumption for the product form. This assumption was firstinvestigated by Kleinrock (1964 [66]), and it turns out to be a good approximation in praxis.

  12. Single open chain Open system One has to find the state probabilities where ikis the number of requests in node k. Steps: 1. solution of 2. using μi–s one may get Ai –k. 3. by considering Erlang's delay system one may get the state probabilities for each node.

  13. Single closed-chain – 1. Convolution algorithm for closed networks We only know the relativeload at each node, not the absolute load, i.e. cΛjis obtained, but c is unknown. Wecan obtain the relative state probabilities. Finally, by normalizing we get the normalizedstate probabilities.Largesystem complexrun. Steps:

  14. Single closed-chain – 2. Convolution algorithm for closed networks Steps:

  15. Single closed-chain – 3.

  16. Singleclosed-chain – 4. CPU M/M/1 node Terminals M/G/1 – IS* node Example 12.4.1 λ1= λ λ2= λ See details in the Textbook *IS = Immediate Service – There is always a free terminal for the new task.

  17. Single closed-chain – 5. Assumptions: S constant. S circulating jobs. The CPU andthe I/O channelsserve each job several times. A departing job will immediatly replaced by a new on. exponentialholding times s = 1/μ Example 12.4.2S = 4 K = 3 (CPU + 2 I/O) See details in the Textbook

  18. Singleclosed-chain – 6. MVA (MeanValueAlgorithm) Remember! K nodes, S jobs (in a single chain), αkrelative traffics. Recursion according the number x of jobs. At node kthere are Lk(x)jobs on the average.

  19. Singleclosed-chain – 7. Steps: (Preemptive Resume) (Processor Sharing) average sojourn time!! itt azonnal kiszolgálják sk is theaverage holding timeinnodek which has nkservers.

  20. Singleclosed-chain – 8. There is no waiting in the system, if x=1Wk (1) = sk Example for nk = 1 but the method might be generalized for any nk.

  21. Singleclosed-chain – 9. Example 12.4.3(= 12.4.2 but with MVA) K=3, S=4, Recursion formulae: relative k values: See details in the Textbook

  22. BCMP queueing networks Queueing networks with more than one type of customers also have product form state probabilities. (Generalization of Jackson’s second model. BCMP Baskett, Chandy, Muntzés Palacios - 1975) Necessary conditions: BCMP–networks can be evaluated with the multi-dimensional convolution algorithm and themultidimensional MVA algorithm.

  23. Mixed queueing networks Mixed queueing networks (open & closed) are calculated by first calculating the traffic load ineach node from the open chains. This traffic must be carried to enter statistical equilibrium.The capacity of the nodes are reduced by this traffic, and the closed queueing network iscalculated by the reduced capacity. So the main problem is to calculate closed networks.For this we have more algorithms among which the most important ones are convolutionalgorithm and the MVA (Mean Value Algorithm) algorithm.

  24. Complexity

  25. 4. Traffic measurement • Principles and methods • Theory of sampling • Continuous measurement • Scanning

  26. Introduction • Traffic measurement gathering of data about thetraffic of real or fictisous systems which serve requests arriving in a random way. • A minimum of technical and administrative efforts should result in a maximum of information andbenefit. • A measurement during a limited time intervalcorresponds to a registration of a certain realizationof the traffic process. • Margin of error  condfidence interval. • For practical purposes it is in general sufficientto know the mean value and the variance.

  27. Principles, methods – 1. Whatdowemeasure? Howdowemeasure? Continuous measurement the measuring point is active, it activates the measuring equipment at the instant of the event Scanning the measuring point is passive, the measuring equipment itself tests from time to time, if any changes have taken place. Events arrival of requests, number of jobs, number of lost requests, etc. Time intervals holding times, waiting times, execution times of jobs, etc.

  28. Principles, methods – 2. • Continuousmeasurement - examples: • electro-mechanicalcounters (e.g. number of copies) • x-yplotters (earthquakesurvaillance) • Ampere-hourmeters • watermeters • Scanning - examples: • call-chargingimpulses • measuring of carriedtrafficbyrepeatedscans

  29. Principles, methods – 3. Busy state of servers: actual scanned

  30. Principles, methods – 4. Registration of changes

  31. Theory of sampling – 1. A sample of n IDD*observations with unknown finite mean value m1 and finite variance б2are available (population parameters) The average value and variance of the sample: These are functions of a rv., they are rv.-s also(sample distribution) andrepresent an estimation of the average value and variance of the unknown population: (corrected empirical variance) *IDD= Independent and Identically Distributed

  32. Theory of sampling – 2. The accuracy of an estimate of a sample parameter is described by means of a confidence interval : This is valid, if the samples are independent. Independence is fulfilled, if measurements take place on different days, but samples are not independent for a samples taken by scanning in a limited time interval.

  33. Theory of sampling – 3. Percentiles of the t−distribution with n degrees of freedom. A specific value of αcorresponds to a probability mass α/2in both tails of the t−distribution. When n is large,then we may use the percentiles of the Normal distribution.

  34. Theory of sampling – 4. Mean value of sample Corrected empirical variance

  35. Continuous measurement– 1. Time intervals marked by full lines are measured in case a. and b.,respectively. Relationships valid for stochastic sums might in principle be applied if the measuring period is unlimited. Application in practice is possible with precaution !

  36. Stochastic sum - 1. From the mathematical point of view the evaluation of the measurement consist of calculating the sum of a random amount of random variables Service without congestion. Arrival process and holding times are independent. The number of arriving requests in the given period of length T is a random variable: N. Ti. gives the holding time of the i-th incoming request.Distribution of Ti –s is uniform. Total traffic in T See 2.3.3 of Textbook

  37. Stochastic sum - 2. The problem in graphical form: A stochastic sum may be interpreted as a series/parallel combination of random variable. Ti and N are stochastically independent

  38. Stochastic sum 3. For a given i-th branch: mean value variance second non-central moment For all ibranches: variance, since the number of holding times is an r.v. variance, since the holding time is an r.v.

  39. Continuous measurement – 2. • Applying the relationships of the „stochastic sum”: • The amount of traffic (holding times) and traffic • intensity (arrival of requests) should be independent. • This is fulfilled, if congestion is negligible. • Assumption: Poisson input process Number of requests in interval T: Thus the required service time i.e. traffic: Palm’s form factor The first and second non-central moments of the holding time.

  40. Continuous measurement – 3. The distribution ST of the stochastic sum is a compound Poisson distribution. represents amount of traffic. The average value of the number occupied servers represents  traffic intensity = the amount of traffic per time unit if the time unit equals the average holding time: Valid for any holding time distribution !

  41. 2.9) Continuous measurement – 4. Independent of holding time distribution. Depends on holding time distribution See the following Figure ! Relative accuracy of measurement: The measurement of smaller intensities is more precise!!

  42. Result of holding time measurements Figure 1.18: Frequency function for holding times of trunks in a local switching centre.

  43. Scanning measurement – 1. Constant scanning interval (h) The continuously distributed holding time is approximated with a discretely distributed holding time. The continuous time intervals may overlap. Estimation is therefore more difficult.

  44. Scanning measurement – 2. If the real holding times have a distribution function F(t), thenit can be shown that one will observe the following discrete distribution: It can also be shown that for any distribution function F(t) one will always observe the correct mean value:

  45. Scanning measurement – 3. For exponential holding times – the so called Westerberg distribution may be observed: !!!

  46. Scanning measurement – 4. Sampling measurement Continuous measurement for exponential distribution: 2A/T ≠ butit =, ifh  0 Measurement by scanning = sampling from a sample!!

  47. Final overview Info-communication systems handle service requests the totality of which is simply denominated as traffic. Traffic handling capacity has an influence on service quality. Arrivals and holding times of service requests in info-communication systems have random nature, their forecasting is not simple. Traffic handling capacity can be estimated by mathematical models and computer simulation. Nowadays the importance of network traffic management methods e.g. software basedrouting algorithms is increasing. Network planning requires some understanding of traffic engineering.

More Related