Share to: share facebook share twitter share wa share telegram print page

M/M/c queue

In queueing theory, a discipline within the mathematical theory of probability, the M/M/c queue (or Erlang–C model[1]: 495 ) is a multi-server queueing model.[2] In Kendall's notation it describes a system where arrivals form a single queue and are governed by a Poisson process, there are c servers, and job service times are exponentially distributed.[3] It is a generalisation of the M/M/1 queue which considers only a single server. The model with infinitely many servers is the M/M/∞ queue.

Model definition

An M/M/c queue is a stochastic process whose state space is the set {0, 1, 2, 3, ...} where the value corresponds to the number of customers in the system, including any currently in service.

  • Arrivals occur at rate λ according to a Poisson process and move the process from state i to i+1.
  • Service times have an exponential distribution with parameter μ. If there are fewer than c jobs, some of the servers will be idle. If there are more than c jobs, the jobs queue in a buffer.
  • The buffer is of infinite size, so there is no limit on the number of customers it can contain.

The model can be described as a continuous time Markov chain with transition rate matrix

on the state space {0, 1, 2, 3, ...}. The model is a type of birth–death process. We write ρ = λ/(c μ) for the server utilization and require ρ < 1 for the queue to be stable. ρ represents the average proportion of time which each of the servers is occupied (assuming jobs finding more than one vacant server choose their servers randomly).

The state space diagram for this chain is as below.

Stationary analysis

Number of customers in the system

If the traffic intensity is greater than one then the queue will grow without bound but if server utilization then the system has a stationary distribution with probability mass function[4][5]

where πk is the probability that the system contains k customers.

The probability that an arriving customer is forced to join the queue (all servers are occupied) is given by

which is referred to as Erlang's C formula and is often denoted C(c, λ/μ) or E2,c(λ/μ).[4] The average number of customers in the system (in service and in the queue) is given by[6]

Busy period of server

The busy period of the M/M/c queue can either refer to:

  • full busy period: the time period between an arrival which finds c−1 customers in the system until a departure which leaves the system with c−1 customers
  • partial busy period: the time period between an arrival which finds the system empty until a departure which leaves the system again empty.[7]

Write[8][9] Tk = min( t: k jobs in the system at time 0+ and k − 1 jobs in the system at time t) and ηk(s) for the Laplace–Stieltjes transform of the distribution of Tk. Then[8]

  1. For k > c, Tk has the same distribution as Tc.
  2. For k = c,
  3. For k < c,

Response time

The response time is the total amount of time a customer spends in both the queue and in service. The average response time is the same for all work conserving service disciplines and is[6]

Customers in first-come, first-served discipline

The customer either experiences an immediate exponential service, or must wait for k customers to be served before their own service, thus experiencing an Erlang distribution with shape parameter k + 1.[10]

Customers in processor sharing discipline

In a processor sharing queue the service capacity of the queue is split equally between the jobs in the queue. In the M/M/c queue this means that when there are c or fewer jobs in the system, each job is serviced at rate μ. However, when there are more than c jobs in the system the service rate of each job decreases and is where n is the number of jobs in the system. This means that arrivals after a job of interest can impact the service time of the job of interest. The Laplace–Stieltjes transform of the response time distribution has been shown to be a solution to a Volterra integral equation from which moments can be computed.[11] An approximation has been offered for the response time distribution.[12][13]

Finite capacity

In an M/M/c/K queue only K customers can queue at any one time (including those in service[4]). Any further arrivals to the queue are considered "lost". We assume that K ≥ c. The model has transition rate matrix

on the state space {0, 1, 2, ..., c, ..., K}. In the case where c = K, the M/M/c/c queue is also known as the Erlang–B model.[1]: 495 

Transient analysis

See Takács for a transient solution[14] and Stadje for busy period results.[15]

Stationary analysis

Stationary probabilities are given by[16]

The average number of customers in the system is [16]

and the average time in the system for a customer is [16]

The average time in the queue for a customer is [16]

The average number of customers in the queue can be obtained by using the effective arrival rate. The effective arrival rate is calculated by [16]

Thus we can obtain the average number of customers in the queue by [16]

An implementation of the above calculations in Python can be found.[17]

Heavy-traffic limits

Writing X(t) for the number of customers in the system at time t, it can be shown that under three different conditions the process

converges to a diffusion process.[1]: 490 

  1. Fix μ and c, increase λ and scale by n = 1/(1 − ρ)2.
  2. Fix μ and ρ, increase λ and c, and scale by n = c.
  3. Fix as a constant β where

and increase λ and c using the scale n = c or n = 1/(1 − ρ)2. This case is called the Halfin–Whitt regime.[18]

See also

References

  1. ^ a b c Gautam, Natarajan (2012). Analysis of Queues: Methods and Applications. CRC Press. ISBN 9781439806586.
  2. ^ Harrison, Peter; Patel, Naresh M. (1992). Performance Modelling of Communication Networks and Computer Architectures. Addison–Wesley. p. 173.
  3. ^ Kendall, D. G. (1953). "Stochastic Processes Occurring in the Theory of Queues and their Analysis by the Method of the Imbedded Markov Chain". The Annals of Mathematical Statistics. 24 (3): 338–354. doi:10.1214/aoms/1177728975. JSTOR 2236285.
  4. ^ a b c Kleinrock, Leonard (1975). Queueing Systems Volume 1: Theory. pp. 101–103, 404. ISBN 0471491101.
  5. ^ Bolch, G.; Greiner, S.; de Meer, H.; Trivedi, K. S. (1998). "Single Station Queueing Systems". Queueing Networks and Markov Chains. pp. 209–262. doi:10.1002/0471200581.ch6. ISBN 0471193666.
  6. ^ a b Barbeau, Michel; Kranakis, Evangelos (2007). Principles of Ad-hoc Networking. John Wiley & Sons. p. 42. ISBN 978-0470032909.
  7. ^ Artalejo, J. R.; Lopez-Herrero, M. J. (2001). "Analysis of the Busy Period for the M/M/c Queue: An Algorithmic Approach". Journal of Applied Probability. 38 (1): 209–222. doi:10.1239/jap/996986654. JSTOR 3215752. S2CID 123361268.
  8. ^ a b Omahen, K.; Marathe, V. (1978). "Analysis and Applications of the Delay Cycle for the M/M/c Queueing System". Journal of the ACM. 25 (2): 283. doi:10.1145/322063.322072. S2CID 16257795.
  9. ^ Daley, D. J.; Servi, L. D. (1998). "Idle and busy periods in stable M / M / k queues". Journal of Applied Probability. 35 (4): 950. doi:10.1239/jap/1032438390. S2CID 121993161.
  10. ^ Iversen, Villy B. (June 20, 2001). "ITU/ITC Teletraffic Engineering Handbook" (PDF). Retrieved August 7, 2012.
  11. ^ Braband, J. (1994). "Waiting time distributions for M/M/N processor sharing queues". Communications in Statistics. Stochastic Models. 10 (3): 533–548. doi:10.1080/15326349408807309.
  12. ^ Braband, J. (1995). "Waiting time distributions for closed M/M/N processor sharing queues". Queueing Systems. 19 (3): 331–344. doi:10.1007/BF01150417. S2CID 6284577.
  13. ^ Braband, Jens; Schassberger, Rolf (21–23 September 1993). "Random Quantum Allocation: A New Approach to Waiting Time Distributions for M/M/N Processor Sharing Queues". In Walke, Bernhard H.; Spaniol, Otto [in German] (eds.). Messung, Modellierung und Bewertung von Rechen- und Kommunikationssystemen: 7. ITG/GI-Fachtagung. Aachen, Germany: Springer. pp. 130–142. ISBN 3540572015.
  14. ^ Takács, L. (1962). Introduction to the Theory of Queues. London: Oxford University Press. pp. 12–21.
  15. ^ Stadje, W. (1995). "The busy periods of some queueing systems". Stochastic Processes and Their Applications. 55: 159–167. doi:10.1016/0304-4149(94)00032-O.
  16. ^ a b c d e f Allen, Arnold O. (1990). Probability, Statistics, and Queueing Theory: With Computer Science Applications. Gulf Professional Publishing. pp. 679–680. ISBN 0120510510.
  17. ^ "Basic Calculator for Queueing Theory". GitHub.
  18. ^ Halfin, Shlomo; Whitt, Ward (1981). "Heavy-Traffic Limits for Queues with Many Exponential Servers" (PDF). Operations Research. 29 (3): 567–588. doi:10.1287/opre.29.3.567. JSTOR 170115.

Read other articles:

بيغ كوميك سبيرايتسBig Comic Spirits (بالإنجليزية) معلومات عامةتصدر كل أسبوعبلد المنشأ  اليابانالتأسيس 14 أكتوبر 1980 أول نشر 14 أكتوبر 1980مواقع الويب bigcomicbros.net… (اليابانية)spi-net.jp (اليابانية) التحريراللغة ‍اليابانيةالتصنيفات مانغا سينن[1][2]الإدارةالشركة شوغاكوكانالناشر شو...

جون بارومان   معلومات شخصية الميلاد 11 مارس 1967 (56 سنة)[1]  غلاسكو  الإقامة أوروراسان دييغوجوليتغلاسكو  مواطنة الولايات المتحدة[2][3] المملكة المتحدة  إخوة وأخوات كارول بارومان  الحياة العملية المدرسة الأم جامعة دي بول  المهنة مغني،  وكاتب[4]...

Species of African plant commonly used for incense Typical habitat (Giba River gorge in Ethiopia) with, at left, a flowering Boswellia papyrifera tree Boswellia papyrifera Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Sapindales Family: Burseraceae Genus: Boswellia Species: B. papyrifera Binomial name Boswellia papyrifera(Delile ex Caill.) Hochst., 1843 Synonyms[1] Amyris papyrifera Delile ex Caill. Boswell...

Rinkaby församlingFöre detta församling Rinkaby kyrkaLandSverigeKommunÖrebro kommun[1]TrossamfundSvenska kyrkanStiftSträngnäs stiftBildadmedeltidenAvskild frånRinkaby socken (1863)Upphörd31 december 2001Uppgått iGlanshammars församlingUpphov tillRinkaby distriktKarta Rinkaby församling, Strängnäs stifts läge i Örebro län. Rinkaby församling, Strängnäs stifts läge i Örebro län.Koordinat59°18′50″N 15°20′14″Ö / 59.313888888889°N 15.337222222222°...

S. Alan SternLahir22 November 1957 (umur 66)New Orleans, Louisiana, A.S.KebangsaanAmerikaAlmamaterUniversitas Texas, AustinUniversitas Colorado, BoulderKarier ilmiahBidangAstrofisikateknik aerospaceIlmu pengetahuan planetariumInstitusiNASASouthwest Research Institute S. Alan Stern (kelahiran 22 November 1957, di New Orleans, Louisiana) adalah seorang ilmuwan planetarium Amerika. Ia adalah investigator prinsipal misi New Horizons ke Pluto dan Ketua Ilmuwan di Moon Express.[1][...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يوليو 2019) ديمنغ تشن   معلومات شخصية الميلاد 18 نوفمبر 1970 (53 سنة)  نيويورك  مواطنة الولايات المتحدة  عدد الأولاد 3   الحياة العملية المدرسة الأم جامعة هارفارد...

Dorno    Comuna   Localização DornoLocalização de Dorno na Itália Coordenadas 45° 9' N 8° 57' E Região Lombardia Província Pavia Características geográficas Área total 30 km² População total 4 182 hab. Densidade 139 hab./km² Altitude 90 m Outros dados Comunas limítrofes Alagna, Garlasco, Gropello Cairoli, Pieve Albignola, Sannazzaro de' Burgondi, Scaldasole, Valeggio, Zinasco Código ISTAT 018061 Código postal 27020 Prefixo tel...

Stasiun Iwatsuka岩塚駅LokasiNakamura, Nagoya, Aichi(名古屋市中村区岩塚町字向田37-1)JepangPengelolaBiro Transportasi Kota NagoyaJalurJalur HigashiyamaPenghubung antarmoda Terminal bus Informasi lainKode stasiunH03SejarahDibuka1982Penumpang20077.639 per hari Sunting kotak info • L • BBantuan penggunaan templat ini Stasiun Iwatsuka (岩塚駅code: ja is deprecated , Iwatsuka-eki) adalah sebuah stasiun kereta api di Nakamura-ku, Nagoya, Prefektur Aichi, Jepang.&#...

Letter of the Cyrillic script Not to be confused with І, Latin letter N and Greek letter Ν. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: I Cyrillic – news · newspapers · books · scholar · JSTOR (June 2016) (Learn how and when to remove this template message) Cyrillic letter Cyrillic letter IPhoneti...

According to the tradition of the Physiologus and medieval bestiaries, the aspidochelone is a fabled sea creature, variously described as a large whale or vast sea turtle, and a giant sea monster with huge spines on the ridge of its back. No matter what form it is, it is always described as being so huge that it is often mistaken for an island and appears to be rocky with crevices and valleys with trees and greenery and having sand dunes all over it. The name aspidochelone appears to be a com...

Bus uap Prancis. Bus Uap (bahasa Inggris: Steam Bus) adalah bus yang bertenaga mesin uap. Kendaraan-kendaraan awal bertenaga uap yang dirancang untuk mengangkut penumpang juga dikenal sebagai angkutan uap. Lihat pula Mobil uap Pranala luar Wikimedia Commons memiliki media mengenai Bus uap. The Steam Bus (1833-1923) oleh Peter Gould Pembuatan replika bus uap Enterprise Hancock yang bisa dijalankan Diarsipkan 2007-05-03 di Wayback Machine. Catatan perjalanan ke Brighton menumpang bus uap Infant

Soviet VTOL fighter prototype Yak-141 Yakovlev Yak-141 at the 1992 Farnborough Airshow Role VTOL fighter aircraftType of aircraft National origin Soviet Union Manufacturer Yakovlev First flight 9 March 1987 Status Cancelled in August 1991 Primary user Soviet Navy Number built 4[1][2][3][4][5][6][7][8] The Yakovlev Yak-141 (Russian: Яковлев Як-141; NATO reporting name Freestyle), also known as the Yak-41, is a Soviet...

2009 documentary film by Barry Ptolemy This article is about the 2009 film. For the 1953 science fiction novel, see The Transcendent Man. Transcendent ManTheatrical release posterDirected byBarry PtolemyProduced byBarry PtolemyFelicia PtolemyStarringRay KurzweilCinematographyShawn DufraineEdited byMeg DeckerDoobie WhiteMusic byPhilip GlassProductioncompaniesPtolemaic ProductionsTherapy StudiosDistributed byDocuramaRelease dates November 5, 2009 (2009-11-05) (AFI Film Festiv...

1989 film by Dominique Deruddere Wait Until Spring, BandiniMovie posterDirected byDominique DeruddereScreenplay byDominique DeruddereBased onWait Until Spring, Bandiniby John FanteProduced byShay CunliffeTom LuddyErwin ProvoostFred RoosStarringJoe MantegnaFaye DunawayBurt YoungCinematographyJean-François RobinEdited byLudo TrochMusic byAngelo BadalamentiProductioncompanyZoetrope StudiosDistributed byOrion ClassicsRelease date 29 June 1989 (1989-06-29) (US) Running time100 ...

State park in Lewis County, New York Whetstone Gulf State ParkWhetstone Creek in Whetstone Gulf State Park, September 2011.Location of Whetstone Gulf State Park within New York StateTypeState parkLocation6065 West Road Lowville, New York[1]Nearest cityLowville, New YorkCoordinates43°42′07″N 75°28′26″W / 43.702°N 75.474°W / 43.702; -75.474Area515 acres (2.08 km2)[2]Created1929 (1929)[3]Operated byNew York State Off...

国際子ども図書館International Library of Children's Literature 国際子ども図書館 正面玄関施設情報正式名称 国立国会図書館 国際子ども図書館前身 帝国図書館国立国会図書館支部上野図書館専門分野 児童書事業主体 国会管理運営 国会開館 2000年(平成12年)1月所在地 〒110-0007東京都台東区上野公園12-49位置 北緯35度43分10.5秒 東経139度46分25.4秒 / 北緯35.719583度 東経139....

American baseball player For the American businessman and baseball fanatic, see Michael T. McGreevy. Baseball player Michael McGreevyMcGreevy with the Palm Beach Cardinals in 2021St. Louis Cardinals PitcherBorn: (2000-07-08) July 8, 2000 (age 23)San Clemente, California, U.S.Bats: RightThrows: Right Michael Steven McGreevy (born July 8, 2000) is an American professional baseball pitcher in the St. Louis Cardinals organization. Amateur career McGreevy grew up in San Clemente, California, ...

Historical region in Ukraine Representation of Pokuttia (c. 1639) Pokuttia Coat of arms of Pokuttia Pokuttia, also known as Pokuttya or Pokutia (Ukrainian: Покуття, romanized: Pokuttia; Polish: Pokucie; German: Pokutien; Romanian: Pocuția), is a historical area of East-Central Europe, situated between the Dniester and Cheremosh rivers and the Carpathian Mountains, in the south-western part of modern Ukraine. Part of the Antean tribal alliance since the 4th century, it joined Kiev...

УэйкWake Island Флаг Герб Основано 1899 Официальный язык английский Форма правления Владение США Территория  • Всего 6,5 км² Население  • Оценка 150 чел.  • Перепись (2009) 0 чел. Валюта доллар США Интернет-домены .us (ранее .um) Часовой пояс UTC+12  Медиафайлы на В...

Piece of wood kept in the Church of Santa Croce Titulus Crucis The Titulus Crucis (Latin for Title of the Cross) is a piece of wood kept in the Church of Santa Croce in Gerusalemme in Rome which is claimed to be the titulus (title panel) of the True Cross on which Jesus Christ was crucified.[1] It is venerated by some Catholics as a relic associated with Jesus. Its authenticity is disputed, with some scholars confirming a plausible authenticity,[2] while others ignore[3 ...

Kembali kehalaman sebelumnya