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

M/M/1 queue

M/M/1 queue diagram
An M/M/1 queueing node

In queueing theory, a discipline within the mathematical theory of probability, an M/M/1 queue represents the queue length in a system having a single server, where arrivals are determined by a Poisson process and job service times have an exponential distribution. The model name is written in Kendall's notation. The model is the most elementary of queueing models[1] and an attractive object of study as closed-form expressions can be obtained for many metrics of interest in this model. An extension of this model with more than one server is the M/M/c queue.

Model definition

An M/M/1 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 rate parameter μ in the M/M/1 queue, where 1/μ is the mean service time.
  • All arrival times and services times are (usually) assumed to be independent of one another.[2]
  • A single server serves customers one at a time from the front of the queue, according to a first-come, first-served discipline. When the service is complete the customer leaves the queue and the number of customers in the system reduces by one.
  • 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,...}. This is the same continuous time Markov chain as in a birth–death process. The state space diagram for this chain is as below.

Stationary analysis

The model is considered stable only if λ < μ. If, on average, arrivals happen faster than service completions the queue will grow indefinitely long and the system will not have a stationary distribution. The stationary distribution is the limiting distribution for large values of t.

Various performance measures can be computed explicitly for the M/M/1 queue. We write ρ = λ/μ for the utilization of the buffer and require ρ < 1 for the queue to be stable. ρ represents the average proportion of time which the server is occupied.

The probability that the stationary process is in state i (contains i customers, including those in service) is[3]: 172–173 

Average number of customers in the system

We see that the number of customers in the system is geometrically distributed with parameter 1 − ρ. Thus the average number of customers in the system is ρ/(1 − ρ) and the variance of number of customers in the system is ρ/(1 − ρ)2. This result holds for any work conserving service regime, such as processor sharing.[4]

Busy period of server

The busy period is the time period measured between the instant a customer arrives to an empty system until the instant a customer departs leaving behind an empty system. The busy period has probability density function[5][6][7][8]

where I1 is a modified Bessel function of the first kind,[9] obtained by using Laplace transforms and inverting the solution.[10]

The Laplace transform of the M/M/1 busy period is given by[11][12][13]: 215 

which gives the moments of the busy period, in particular the mean is 1/(μ − λ) and variance is given by

Response time

The average response time or sojourn time (total time a customer spends in the system) does not depend on scheduling discipline and can be computed using Little's law as 1/(μ − λ). The average time spent waiting is 1/(μ − λ) − 1/μ = ρ/(μ − λ). The distribution of response times experienced does depend on scheduling discipline.

First-come, first-served discipline

For customers who arrive and find the queue as a stationary process, the response time they experience (the sum of both waiting time and service time) has Laplace transform (μ − λ)/(s + μ − λ)[14] and therefore probability density function[15]

Processor sharing discipline

In an M/M/1-PS queue there is no waiting line and all jobs receive an equal proportion of the service capacity.[16] Suppose the single server serves at rate 16 and there are 4 jobs in the system, each job will experience service at rate 4. The rate at which jobs receive service changes each time a job arrives at or departs from the system.[16]

For customers who arrive to find the queue as a stationary process, the Laplace transform of the distribution of response times experienced by customers was published in 1970,[16] for which an integral representation is known.[17] The waiting time distribution (response time less service time) for a customer requiring x amount of service has transform[3]: 356 

where r is the smaller root of the equation

The mean response time for a job arriving and requiring amount x of service can therefore be computed as x μ/(μ − λ). An alternative approach computes the same results using a spectral expansion method.[4]

Transient solution

We can write a probability mass function dependent on t to describe the probability that the M/M/1 queue is in a particular state at a given time. We assume that the queue is initially in state i and write pk(t) for the probability of being in state k at time t. Then[2][18]

where is the initial number of customers in the station at time ,, and is the modified Bessel function of the first kind. Moments for the transient solution can be expressed as the sum of two monotone functions.[19]

Diffusion approximation

When the utilization ρ is close to 1 the process can be approximated by a reflected Brownian motion with drift parameter λ – μ and variance parameter λ + μ. This heavy traffic limit was first introduced by John Kingman.[20]

References

  1. ^ Sturgul, John R. (2000). Mine design: examples using simulation. SME. p. vi. ISBN 0-87335-181-9.
  2. ^ a b Kleinrock, Leonard (1975). Queueing Systems Volume 1: Theory. p. 77. ISBN 0471491101.
  3. ^ a b Harrison, Peter; Patel, Naresh M. (1992). Performance Modelling of Communication Networks and Computer Architectures. Addison–Wesley.
  4. ^ a b Guillemin, F.; Boyer, J. (2001). "Analysis of the M/M/1 Queue with Processor Sharing via Spectral Theory" (PDF). Queueing Systems. 39 (4): 377. doi:10.1023/A:1013913827667. Archived from the original (PDF) on 2006-11-29.
  5. ^ Abate, J.; Whitt, W. (1988). "Simple spectral representations for the M/M/1 queue" (PDF). Queueing Systems. 3 (4): 321. doi:10.1007/BF01157854.
  6. ^ Keilson, J.; Kooharian, A. (1960). "On Time Dependent Queuing Processes". The Annals of Mathematical Statistics. 31 (1): 104–112. doi:10.1214/aoms/1177705991. JSTOR 2237497.
  7. ^ Karlin, Samuel; McGregor, James (1958). "Many server queueing processes with Poisson input and exponential service times" (PDF). Pacific J. Math. 8 (1): 87–118. doi:10.2140/pjm.1958.8.87. MR 0097132.
  8. ^ Gross, Donald; Shortle, John F.; Thompson, James M.; Harris, Carl M. (2011-09-23). "2.12 Busy-Period Analysis". Fundamentals of Queueing Theory. Wiley. ISBN 1118211642.
  9. ^ Adan, Ivo. "Course QUE: Queueing Theory, Fall 2003: The M/M/1 system" (PDF). Retrieved 2012-08-06.
  10. ^ Stewart, William J. (2009). Probability, Markov chains, queues, and simulation: the mathematical basis of performance modeling. Princeton University Press. p. 530. ISBN 978-0-691-14062-9.
  11. ^ Asmussen, S. R. (2003). "Queueing Theory at the Markovian Level". Applied Probability and Queues. Stochastic Modelling and Applied Probability. Vol. 51. pp. 60–31. doi:10.1007/0-387-21525-5_3. ISBN 978-0-387-00211-8.
  12. ^ Adan, I.; Resing, J. (1996). "Simple analysis of a fluid queue driven by an M/M/1 queue". Queueing Systems. 22 (1–2): 171–174. doi:10.1007/BF01159399.
  13. ^ Kleinrock, Leonard (1975). Queueing Systems: Theory, Volume 1. Wiley. ISBN 0471491101.
  14. ^ Harrison, P. G. (1993). "Response time distributions in queueing network models". Performance Evaluation of Computer and Communication Systems. Lecture Notes in Computer Science. Vol. 729. pp. 147–164. doi:10.1007/BFb0013852. ISBN 3-540-57297-X.
  15. ^ Stewart, William J. (2009). Probability, Markov chains, queues, and simulation: the mathematical basis of performance modeling. Princeton University Press. p. 409. ISBN 978-0-691-14062-9.
  16. ^ a b c Coffman, E. G.; Muntz, R. R.; Trotter, H. (1970). "Waiting Time Distributions for Processor-Sharing Systems". Journal of the ACM. 17: 123–130. doi:10.1145/321556.321568.
  17. ^ Morrison, J. A. (1985). "Response-Time Distribution for a Processor-Sharing System". SIAM Journal on Applied Mathematics. 45 (1): 152–167. doi:10.1137/0145007. JSTOR 2101088.
  18. ^ Robertazzi, Thomas G. (2000). Computer Networks and Systems. New York, NY: Springer New York. p. 72. doi:10.1007/978-1-4612-1164-8. ISBN 978-1-4612-7029-4.
  19. ^ Abate, J.; Whitt, W. (1987). "Transient behavior of the M/M/l queue: Starting at the origin" (PDF). Queueing Systems. 2: 41–65. doi:10.1007/BF01182933.
  20. ^ Kingman, J. F. C.; Atiyah (October 1961). "The single server queue in heavy traffic". Mathematical Proceedings of the Cambridge Philosophical Society. 57 (4): 902. doi:10.1017/S0305004100036094. JSTOR 2984229.

Read other articles:

Grand Prix F1 Malaysia 2005 merupakan balapan Formula 1 pada 20 Maret 2005 di Sepang.[1] Lomba Pos No Pembalap Tim Lap Waktu/Tersingkir Grid Poin 1 5 Fernando Alonso Renault 56 1:31'33.736 1 10 2 16 Jarno Trulli Toyota 56 +24.3 d 2 8 3 8 Nick Heidfeld Williams-BMW 56 +32.1 d 10 6 4 10 Juan Pablo Montoya McLaren-Mercedes 56 +41.6 d 11 5 5 17 Ralf Schumacher Toyota 56 +51.8 d 5 4 6 14 David Coulthard Red Bull-Cosworth 56 +72.5 d 8 3 7 1 Michael Schumacher Ferrari 56 +79.9 d 13 2 8 15 Ch...

خريطة البعثات الدبلوماسية في السويد تعرض هذه الصفحة قائمة البعثات الدبلوماسية في السويد. حاليا، توجد في العاصمة ستوكهولم 108 سفارات. دول أخرى عديدة لها سفراء معتمدون في السويد، لكن معظمهم يقيم في برلين، أوكوبنهاغن، أوبروكسيل، أولندن. هذه القائمة تستثني القنصليات الفخرية. ...

Kuda Sumbawa. Kuda Sumbawa adalah jenis kuda poni, dinamai berdasarkan pulau tempat mereka dibesarkan, Pulau Sumbawa di Indonesia. Jenis ini sangat mirip dengan kuda Sumba atau Sandalwood Pony, ras yang juga dikembangkan di pulau-pulau ini, yang berasal dari persilangan kuda poni asli dengan kuda-kuda keturunan Arab.[1] Poni Sumbawa keturunan dari kuda Mongolia dan kuda Cina Kuno.[1] Karakteristik Sumbawa, atau dalam bahasa Indonesia kuda-Sumbawa, adalah nama internasional unt...

العلاقات البوروندية البيروفية بوروندي بيرو   بوروندي   بيرو تعديل مصدري - تعديل   العلاقات البوروندية البيروفية هي العلاقات الثنائية التي تجمع بين بوروندي وبيرو.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقارنة ب...

Hospital in NSW, AustraliaNepean HospitalNepean Blue Mountains Local Health DistrictAerial photograph of Nepean HospitalGeographyLocationKingswood, Sydney, NSW, AustraliaCoordinates33°45′36″S 150°42′47″E / 33.7599°S 150.7131°E / -33.7599; 150.7131OrganisationCare systemPublic Medicare (AU)TypeTeachingAffiliated universityUniversity of SydneyServicesEmergency departmentYesBeds520HelipadsHelipad(ICAO: YXNE) Number Length Surface ft m 1 concrete LinksWebsiteNB...

Friedrich Wilhelm II. von Nassau-Siegen (1733) Friedrich Wilhelm II. von Nassau-Siegen, (* 11. November 1706 in Siegen; † 2. März 1734[1] ebenda) war der letzte Fürst von Nassau-Siegen aus der reformierten Linie. Inhaltsverzeichnis 1 Leben 2 Nachkommen 3 Siehe auch 4 Einzelnachweise Leben Er war der älteste Sohn von Friedrich Wilhelm I. Adolf von Nassau-Siegen, (1680–1722) und dessen Frau Elisabeth Franziska von Hessen-Homburg (1681–1707), einer Tochter des Landgrafen Friedri...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يوليو 2019) ريد هوف   معلومات شخصية الميلاد 8 مايو 1891  أوسينينغ  الوفاة 17 سبتمبر 1998 (107 سنة)   دايتونا بيتش  سبب الوفاة سقوط  [لغات أخرى]‏  مواطنة الول...

Buddhist monk For other uses, see Bhiksu. BhikkhuBhikkhus in ThailandChinese nameChinese比丘TranscriptionsStandard MandarinHanyu PinyinbǐqiūWade–GilesPi3-ch'iu1Native Chinese nameChinese和尚、僧侶TranscriptionsStandard MandarinHanyu Pinyinhéshàng, sēnglǚWade–Gileshe2-shang4Burmese nameBurmeseဘိက္ခုTibetan nameTibetanདགེ་སློང་TranscriptionsWylied iclk lojhyTHLgelongVietnamese nameVietnamese alphabetTì-kheo (Tỉ-khâu)Tăng lữChữ Hán比丘...

FIS Alpine World Ski Championships 1997Host citySestriereCountryItalyEvents10Opening3 February 1997 (1997-02-03)Closing15 February 1997 (1997-02-15)Opened byOscar Luigi Scalfaro← Sierra Nevada 1996Vail and Beaver Creek 1999 → The FIS Alpine World Ski Championships 1997 were held in Sestriere, northwestern Italy, from February 3–15, 1997. Nine years later, the area would later host the alpine events for the 2006 Winter Olympics in Turin. Me...

Canadian baseball player (1867–1923) For other people named Peter Wood, see Peter Wood (disambiguation). Baseball player Pete WoodPitcherBorn: (1867-02-01)February 1, 1867Dundas, OntarioDied: March 15, 1923(1923-03-15) (aged 56)ChicagoBatted: UnknownThrew: RightMLB debutJuly 15, 1885, for the Buffalo BisonsLast MLB appearanceSeptember 7, 1889, for the Philadelphia QuakersMLB statisticsWin–loss record9-16Strikeouts46Earned run average4.51 Teams Buffalo Bi...

出典は列挙するだけでなく、脚注などを用いてどの記述の情報源であるかを明記してください。記事の信頼性向上にご協力をお願いいたします。(2017年12月) クリストフ・ザウザーChristoph Sauser 個人情報本名 Christoph Sauserクリストフ・ザウザー生年月日 (1976-04-13) 1976年4月13日(47歳)国籍 スイスチーム情報分野 マウンテンバイク役割 選手グランツール最高成績主要レー...

Togu ParmonanganWadirlem Secapaad Informasi pribadiLahir0 Maret 1971 (umur 52)IndonesiaSuami/istriLestari NapitupuluAlma materAkademi Militer (1994)Karier militerPihak IndonesiaDinas/cabang TNI Angkatan DaratMasa dinas1994—SekarangPangkat KolonelNRP11940017130371SatuanInfanteriPertempuran/perangOperasi SerojaSunting kotak info • L • B Kolonel Inf. Togu Parmonangan, S.I.P., M.M. (lahir Maret 1971) adalah seorang perwira menengah TNI-AD yang saat ini menjabat Wadi...

Colombian politician In this Spanish name, the first or paternal surname is Peralta and the second or maternal family name is Epieyú. Martha Peralta EpieyúSenator of ColombiaIncumbentAssumed office 20 July 2022 Personal detailsBornMartha Isabel Peralta EpieyúLa Guajira, ColombiaOccupationLawyerenvironmentalistpolitician Martha Isabel Peralta Epieyú is a Colombian lawyer, specialist in environmental law and indigenous leader of the Wayuu people belonging to the Epinayú Epieyú...

Football tournamentList of European Cup and UEFA Champions League finalsEuropean Cup / Champions League trophyFounded1955RegionUEFA (Europe)Number of teams32 (group stage)2 (finalists)Current champions Manchester City (1st title)Most successful club(s) Real Madrid(14 titles) 2023 UEFA Champions League final The UEFA Champions League is a seasonal football competition established in 1955.[1] Prior to the 1992–93 season, the tournament was named the European Cup.[1] The UEFA C...

Pour les articles homonymes, voir pont (homonymie) et oscillateur. Pont de Wien, Uwe- est la tension sinusoïdale d'alimentation, Uwy- la tension mesurée. Le pont de Wien est un type de montage en pont, développé en 1891 par le physicien Max Wien[1]. Utilisation originale À l'époque de sa création, le montage en pont était un mode de mesure d'un composant par comparaison avec ceux dont les caractéristiques étaient connues. La technique consistait alors à mettre le composant inconnu ...

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: Hollow Point – news · newspapers · books · scholar · JSTOR (May 2019) (Learn how and when to remove this template message) 1996 American filmHollow PointDirected bySidney J. FurieWritten byRobert GeoffrionStewart HardingStarringThomas Ian GriffithTia CarrereJoh...

Railway line in Victoria, Australia MilduraView of the station in June 2023General informationCoordinates34°10′55″S 142°09′48″E / 34.1820°S 142.1632°E / -34.1820; 142.1632Line(s)MilduraPlatforms1Tracks1Other informationStatusClosedHistoryOpened13 November 1903Closed12 September 1993Services Preceding station   Disused railways   Following station Irymple   Mildura line   Yelta   List of closed railway stations in Victoria   Loc...

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: The Layla Sessions: 20th Anniversary Edition – news · newspapers · books · scholar · JSTOR (June 2020) (Learn how and when to remove this template message) 1990 box set by Derek and the DominosThe Layla Sessions: 20th Anniversary EditionBox set by Derek...

Dance-dramas by Rabindranath Tagore Rabindra Nritya Natya is the group of four dance-dramas composed by Bengal's Nobel laureate Rabindranath Tagore: Chitrangada, Chandalika, Shyama and Shrabangatha.[1][2] The principal characteristic of these works is that the story is told entirely through dance and song. The dances included in them were in the dance form created by Tagore. Tagore also included dance in earlier works such as Tasher Desh (lit. 'The Country of Cards')...

2001 single by Hear'Say EverybodySingle by Hear'Sayfrom the album Everybody B-side Once in a Lifetime The Way I'm Feeling Tonight I Knew You Were Waiting Released26 November 2001 (2001-11-26)Recorded2001StudioBiffco (Dublin, Ireland)GenrePopLength3:54LabelPolydorSongwriter(s) Martin Harrington Ash Howes Richard Stannard Julian Gallagher Andy Caine Producer(s) Ash Howes Martin Harrington Hear'Say singles chronology The Way to Your Love (2001) Everybody (2001) Lovin' Is Easy (200...

Kembali kehalaman sebelumnya