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

Fork–join queue

A fork–join queueing node

In queueing theory, a discipline within the mathematical theory of probability, a fork–join queue is a queue where incoming jobs are split on arrival for service by numerous servers and joined before departure.[1] The model is often used for parallel computations[2] or systems where products need to be obtained simultaneously from different suppliers (in a warehouse or manufacturing setting).[3]: 78–80  The key quantity of interest in this model is usually the time taken to service a complete job. The model has been described as a "key model for the performance analysis of parallel and distributed systems."[4] Few analytical results exist for fork–join queues, but various approximations are known.

The situation where jobs arrive according to a Poisson process and service times are exponentially distributed is sometimes referred to as a Flatto–Hahn–Wright model or FHW model.[5][6][7]

Definition

On arrival at the fork point, a job is split into N sub-jobs which are served by each of the N servers. After service, sub-job wait until all other sub-jobs have also been processed. The sub-jobs are then rejoined and leave the system.[3]

For the fork–join queue to be stable the input rate must be strictly less than sum of the service rates at the service nodes.[8]

Applications

Fork–join queues have been used to model zoned RAID systems,[9] parallel computations[2] and for modelling order fulfilment in warehouses.[3]

Response time

The response time (or sojourn time[10]) is the total amount of time a job spends in the system.

Distribution

Ko and Serfozo give an approximation for the response time distribution when service times are exponentially distributed and jobs arrive either according to a Poisson process[11] or a general distribution.[12] QIu, Pérez and Harrison give an approximation method when service times have a phase-type distribution.[13]

Average response time

An exact formula for the average response time is only known in the case of two servers (N=2) with exponentially distributed service times (where each server is an M/M/1 queue). In this situation, the response time (total time a job spends in the system) is[14]

where

  • is the utilization.
  • is the arrival rate of jobs to all the nodes.
  • is the service rate across all the nodes.

In the situation where nodes are M/M/1 queues and N > 2, Varki's modification of mean value analysis can also be used to give an approximate value for the average response time.[15]

For general service times (where each node is an M/G/1 queue) Baccelli and Makowski give bounds for the average response time and higher moments of this quantity both in the transient and steady state situations.[16] Kemper and Mandjes show that for some parameters these bounds are not tight and show demonstrate an approximation technique.[10] For heterogeneous fork-join queues (fork-join queues with different service times), Alomari and Menasce propose an approximation based on harmonic numbers that can be extended to cover more general cases such as probabilistic fork, open and closed fork-join queues.[17]

Subtask dispersion

The subtask dispersion, defined to be the range of service times, can be numerically computed and optimal deterministic delays introduced to minimize the range.[18]

Stationary distribution

In general the stationary distribution[broken anchor] of the number of jobs at each queue is intractable.[11] Flatto considered the case of two servers (N=2) and derived the stationary distribution for the number of jobs at each queue via uniformization techniques.[5] Pinotsi and Zazanis show that a product form solution exists when arrivals are deterministic as the queue lengths are then independent D/M/1 queues.[7]

Heavy traffic/diffusion approximation

When the server is heavily loaded (service rate of the queue is only just larger than arrival rate) the queue length process can be approximated by a reflected Brownian motion which converges to the same stationary distribution as the original queueing process.[19][20] Under limiting conditions the state space of the synchronisation queues collapses and all queues behave identically.[21]

Join queue distribution

Once jobs are served, the parts are reassembled at the join queue. Nelson and Tantawi published the distribution of the join queue length in the situation where all servers have the same service rate.[14] Heterogeneous service rates and distribution asymptotic analysis are considered by Li and Zhao.[22]

Networks of fork–join queues

An approximate formula can be used to calculate the response time distribution for a network of fork–join queues joined in series (one after the other).[23]

Split–merge model

A related model is the split–merge model, for which analytical results exist.[2][24] Exact results for the split-merge queue are given by Fiorini and Lipsky.[25] Here on arrival a job is split into N sub-tasks which are serviced in parallel. Only when all the tasks finish servicing and have rejoined can the next job start. This leads to a slower response time on average.

Generalized (n,k) fork-join system

A generalization of the fork-join queueing system is the fork-join system where the job exits the system when any out of tasks are served. The traditional fork-join queueing system is a special case of the system when . Bounds on the mean response time of this generalized system were found by Joshi, Liu and Soljanin.[26][27]

References

  1. ^ Kim, C.; Agrawala, A. K. (1989). "Analysis of the fork-join queue". IEEE Transactions on Computers. 38 (2): 250. doi:10.1109/12.16501.
  2. ^ a b c Lebrecht, Abigail; Knottenbelt, William J. (June 2007). Response Time Approximations in Fork-Join Queues (PDF). 23rd Annual UK Performance Engineering Workshop (UKPEW). Archived from the original (PDF) on 29 October 2013. Retrieved 2 July 2009.
  3. ^ a b c Serfozo, R. (2009). "Markov Chains". Basics of Applied Stochastic Processes. Probability and Its Applications. pp. 1–98. doi:10.1007/978-3-540-89332-5_1. ISBN 978-3-540-89331-8.
  4. ^ Boxma, Onno; Koole, Ger; Liu, Zhen (1996). Queueing-theoretic Solution Methods for Models of Parallel and Distributed Systems (PDF) (Technical report). CWI. BS-R9425.
  5. ^ a b Flatto, L.; Hahn, S. (1984). "Two Parallel Queues Created by Arrivals with Two Demands I". SIAM Journal on Applied Mathematics. 44 (5): 1041. doi:10.1137/0144074.
  6. ^ Wright, Paul E. (1992), "Two parallel processors with coupled inputs", Advances in Applied Probability, 24 (4): 986–1007, doi:10.2307/1427722, JSTOR 1427722, S2CID 124774848
  7. ^ a b Pinotsi, D.; Zazanis, M. A. (2005). "Synchronized queues with deterministic arrivals". Operations Research Letters. 33 (6): 560. doi:10.1016/j.orl.2004.12.005.
  8. ^ Konstantopoulos, Panagiotis; Walrand, Jean (September 1989). "Stationary and Stability of Fork-Join Networks" (PDF). Journal of Applied Probability. 26 (3): 604–614. doi:10.2307/3214417. JSTOR 3214417. S2CID 120222029. Archived from the original (PDF) on 18 March 2012.
  9. ^ Lebrecht, A. S.; Dingle, N. J.; Knottenbelt, W. J. (2009). "Modelling Zoned RAID Systems Using Fork-Join Queueing Simulation". Computer Performance Engineering. Lecture Notes in Computer Science. Vol. 5652. pp. 16–29. CiteSeerX 10.1.1.158.7363. doi:10.1007/978-3-642-02924-0_2. ISBN 978-3-642-02923-3.
  10. ^ a b Kemper, B.; Mandjes, M. (2011). "Mean sojourn times in two-queue fork-join systems: Bounds and approximations". OR Spectrum. 34 (3): 723. doi:10.1007/s00291-010-0235-y.
  11. ^ a b Ko, S. S.; Serfozo, R. F. (2004). "Response times in M/M/s fork-join networks". Advances in Applied Probability. 36 (3): 854. doi:10.1239/aap/1093962238. S2CID 122581916.
  12. ^ Ko, S. S.; Serfozo, R. F. (2008). "Sojourn times in G/M/1 fork-join networks". Naval Research Logistics. 55 (5): 432. doi:10.1002/nav.20294. S2CID 119551482.
  13. ^ Qiu, Zhan; Pérez, Juan F.; Harrison, Peter G. (2015). "Beyond the mean in fork-join queues: Efficient approximation for response-time tails". Performance Evaluation. 91: 99–116. doi:10.1016/j.peva.2015.06.007.
  14. ^ a b Nelson, R.; Tantawi, A. N. (1988). "Approximate analysis of fork/join synchronization in parallel queues". IEEE Transactions on Computers. 37 (6): 739. doi:10.1109/12.2213.
  15. ^ Varki, Elizabeth; Merchant, Arif; Chen, H. "M/M/1 Fork-join queue with variable sub-tasks" (PDF). Archived from the original (PDF) on 5 August 2010. Retrieved 29 March 2009.
  16. ^ Baccelli, François; Makowski, A. (1985), Simple computable bounds for the fork-join queue (PDF), National Institute for Research in Computer Science and Control Technical Report, retrieved 8 July 2011
  17. ^ Alomari, F.; Menasce, D. A. (2013). "Efficient Response Time Approximations for Multiclass Fork and Join Queues in Open and Closed Queuing Networks". IEEE Transactions on Parallel and Distributed Systems. 25 (6): 1437–1446. doi:10.1109/TPDS.2013.70. S2CID 422296.
  18. ^ Tsimashenka, I.; Knottenbelt, W. J. (2013). "Reduction of Subtask Dispersion in Fork-Join Systems" (PDF). Computer Performance Engineering. Lecture Notes in Computer Science. Vol. 8168. pp. 325–336. CiteSeerX 10.1.1.421.9780. doi:10.1007/978-3-642-40725-3_25. ISBN 978-3-642-40724-6.
  19. ^ Tan, X.; Knessl, C. (1996). "A fork-join queueing model: Diffusion approximation, integral representations and asymptotics". Queueing Systems. 22 (3–4): 287. doi:10.1007/BF01149176. S2CID 206789463.
  20. ^ Varma, Subir (1990). "Heavy and Light Traffic Approximations for Queues with Synchronization Constraints (PhD thesis)" (PDF). University of Maryland. Retrieved 10 February 2013.
  21. ^ Atar, R.; Mandelbaum, A.; Zviran, A. (2012). "Control of Fork-Join Networks in heavy traffic" (PDF). 2012 50th Annual Allerton Conference on Communication, Control, and Computing (Allerton). p. 823. doi:10.1109/Allerton.2012.6483303. ISBN 978-1-4673-4539-2. S2CID 18115820.
  22. ^ Li, J.; Zhao, Y. Q. (2010). "On the Probability Distribution of Join Queue Length in a Fork-Join Model". Probability in the Engineering and Informational Sciences. 24 (4): 473. doi:10.1017/S0269964810000112. S2CID 124693767.
  23. ^ Ko, S. S. (2007). "Cycle Times in a Serial Fork-Join Network". Computational Science and Its Applications – ICCSA 2007. Lecture Notes in Computer Science. Vol. 4705. pp. 758–766. doi:10.1007/978-3-540-74472-6_62. ISBN 978-3-540-74468-9.
  24. ^ Harrison, P.; Zertal, S. (2003). "Queueing Models with Maxima of Service Times". Computer Performance Evaluation. Modelling Techniques and Tools. Lecture Notes in Computer Science. Vol. 2794. pp. 152–168. doi:10.1007/978-3-540-45232-4_10. ISBN 978-3-540-40814-7.
  25. ^ Fiorini, Pierre M. (2015). "Exact Analysis of Some Split Merge Queues". SIGMETRICS Performance Evaluation Review. 43 (2): 51–53. doi:10.1145/2825236.2825257. S2CID 26219594.
  26. ^ Joshi, Gauri; Liu, Yanpei; Soljanin, Emina (October 2012). Coding for Fast Content Download. Allerton Conference on Communication, Control and Computing. arXiv:1210.3012. Bibcode:2012arXiv1210.3012J.
  27. ^ Joshi, Gauri; Liu, Yanpei; Soljanin, Emina (May 2014). On the Delay-Storage trade-off in Content Download from Coded Distributed Storage. Journal on Selected Areas of Communications. arXiv:1305.3945. Bibcode:2013arXiv1305.3945J.

Read other articles:

Indian TV series or programme Humko Tumse Ho Gaya Hai Pyaar Kya Karein?GenreDramaCreated bySuzana GhaiWritten byManasvi AryaStarringIshani Sharma Varun Toorkey Sudhir Pandey Abha Parmar Ankur VermaOpening themeDarshan Raval & Palak MuchhalCountry of originIndiaOriginal languageHindiNo. of seasons1No. of episodes95ProductionProducersSuzana Ghai Hemant Ruprell Ranjeet ThakurProduction locationDelhiCinematographySameer ShrivastavaEditorSameer GandhiCamera setupMulti-cameraRunning time22...

Este artigo não cita fontes confiáveis. Ajude a inserir referências. Conteúdo não verificável pode ser removido.—Encontre fontes: ABW  • CAPES  • Google (N • L • A) (Setembro de 2020) Bandeira do Distrito de Colúmbia Brasão de Armas da família Washington A bandeira do Distrito de Colúmbia consiste de três estrelas vermelhas sobre duas barras vermelhas num fundo branco. É baseada no brasão de família de George Washin...

Provisorische Versorgung einer Becken- oder Oberschenkelfraktur mittels Steinmann-Nagel. Die abgebildete Vorgehensweise entspricht nicht den modernen Normen für steriles Arbeiten im OP. Die Unfallchirurgie befasst sich mit der Folge eines physischen Traumas und wird häufig auch als Traumatologie (oder Verletzungschirurgie[1]) bezeichnet. Im engeren bzw. eigentlichen Sinne ist Unfallchirurgie jedoch ein Teil der über die chirurgischen Aspekte hinausgehenden Traumatologie (auch Unfal...

Crims Programa de televisiónBasado en CrímenesPresentado por Carles PortaIdioma(s) original(es) CatalánCastellano (algunas intervenciones y en #0 por M+).LanzamientoMedio de difusión TV3À Punt#0 por M+Calificación por edades (2020-2022) (2022-) (2022-)Enlaces externos Sitio web oficial Ver todos los créditos (IMDb) Ficha en IMDb[editar datos en Wikidata] Crims (en español: Crímenes) es un programa de televisión de España sobre crimen real, coproducido por la Corporación ...

COYOTES Datos generales Formación 2006 Liga Football Americano Argentina Títulos Campeón Tazón Austral 2008 Campeón Tazón Austral 2010 Entrenador Gabriel Gonzalez Capitan Nicolás El Caudillo Verdasco Sitio web http://coyotesfa.com.ar Archivado el 29 de noviembre de 2021 en Wayback Machine. Uniforme Nuevo uniforme de Legionarios Coyotes Football Americano es un equipo de juveniles de la Liga Argentina de Football Americano. Junto con Aztecas y Yacarés, todos los años disputan la supre...

The ceremonial county of Berkshire currently comprises the unitary authorities of Bracknell Forest, Reading, Slough, West Berkshire, Windsor and Maidenhead and Wokingham. From 1997, it has returned eight MPs to the UK Parliament. As a result of the local government reorganisation introduced by the Local Government Act 1972, which came into effect on 1 April 1974, the boundaries of the historic/administrative county were substantially altered. Northern parts of the county were transferred to O...

KyogreNomor PokédexNasional #382 Sebelumnya Selanjutnya Latios (#381) Groudon (#383) Penampilan perdanaPermainanPokémon Ruby and SapphireAnimePokémon, episode: 371. Groudon vs. Kaiorga! (Part 1) (グラードンVSカイオーガ![前編]code: ja is deprecated ).MangaMangaPokémon AdventuresVolume19BabRubby & SaphireRonde233. VS Kyogre & Groudon I (VS カイオーガ & グラードン Icode: ja is deprecated ) atau Kedatangan di Laut Terdalam (到着 最深海c...

Kadaka Asplenium scolopendrium Status konservasiRentan (TNC) TaksonomiDivisiPteridophytaKelasPolypodiopsidaSubkelasPolypodiidaeOrdoPolypodialesUpaordoAspleniineaeFamiliAspleniaceaeGenusAspleniumSpesiesAsplenium scolopendrium Linnaeus, 1753 lbs Asplenium scolopendrium, umumnya dikenal sebagai pakis lidah rusa atau kadaka adalah pakis hijau abadi dalam keluarga Aspleniaceae yang berasal dari Belahan Bumi Utara. Habitat Tumbuhan tumbuh pada substrat yang netral, kaya kalsium, dan/atau kaya kapur...

Margarete Meseritz-Edelheim (geboren als Margarete Meseritz 18. September 1891 in Berlin; gestorben 26. Mai 1975 in New York City) war eine deutsche Juristin, Journalistin und Frauenrechtlerin. Inhaltsverzeichnis 1 Leben 2 Literatur 3 Weblinks 4 Einzelnachweise Leben Margarete Meseritz war eine Tochter des Fabrikanten Hugo Meseritz und der Frauenrechtlerin Alisa Meseritz. 1913 wurde sie an der Friedrich-Alexander-Universität Erlangen-Nürnberg im Fach Jura promoviert. Sie war Mitbegründerin...

Daftar ini belum tentu lengkap. Anda dapat membantu Wikipedia dengan mengembangkannya. (November 2017) Negara yang politikus, pejabat publik, atau rekannya disebut dalam dokumen yang bocor tanggal 5 November 2017 Tokoh dan perusahaan yang tercantum di Paradise Papers memiliki hubungan dengan perusahaan-perusahaan lepas pantai.[1] Pejabat pemerintahan Mantan atau kepala negara atau kepala pemerintahan petahana per tanggal kebocoran dokumen ini. Daftar ini tidak ada hubungannya dengan m...

Politics of Saint Lucia Executive Monarch Charles III Governor-General Errol Charles (acting) Prime Minister Philip J. Pierre Legislative Parliament Senate President House of Assembly Speaker Elections Recent elections General: 201120162021Next Political parties Administrative divisions (Quarters) Foreign relations Ministry of Foreign Affairs Minister: Alva Baptiste Diplomatic missions of / in Saint Lucia Passport Visa requirements Visa policy Other countries vte This article lists political ...

Resolução 81do Conselho de Segurança da ONU Data: 24 de maio de 1950 Reunião: 472 Código: S/1486 ([1] Documento) Votos: Prós Contras Abstenções Ausentes 10 0 0 Assunto: Procedimento Resultado: Aprovada Composição do Conselho de Segurança em 1950: Membros permanentes:  República da China França Reino Unido Estados Unidos União Soviética Membros não-permanentes:  Cuba Ecuador Egito  Índia Noruega Iugoslávia Resoluçã...

Artikel ini sudah memiliki referensi, tetapi tidak disertai kutipan yang cukup. Anda dapat membantu mengembangkan artikel ini dengan menambahkan lebih banyak kutipan pada teks artikel. (November 2023) (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini)Artikel atau bagian artikel ini diterjemahkan secara buruk. Kualitas terjemahannya masih kurang bagus. Bagian-bagian yang mungkin diterjemahkan dari bahasa lain masih perlu diperhalus dan disempurnakan. Anda dapat mempertimbangka...

Mixed use building in West Midlands, England This article is about the building in Birmingham, UK. For other buildings, see Cube (building). The CubeGeneral informationStatusCompletedTypeMixed use - Office, Retail, Residential, HotelLocationBirmingham, West Midlands, EnglandCoordinates52°28′30″N 1°54′25″W / 52.4750°N 1.9070°W / 52.4750; -1.9070Construction started2007Completed2010Cost£100 millionHeightRoof70.4 m (231 ft)Technical detailsFloor cou...

Dewan Perwakilan Rakyat Daerah Kabupaten SimalungunDewan Perwakilan Rakyat Kabupaten Simalungun2019-2024JenisJenisUnikameral Jangka waktu5 tahunSejarahSesi baru dimulai25 September 2019PimpinanKetuaTimbul Jaya Hamonangan Sibarani, S.H. (Golkar) sejak 23 Desember 2019 Wakil Ketua ISteven Samrin Girsang, S.Pd. (PDI-P) sejak 23 Desember 2019 Wakil Ketua IIElias Barus (Demokrat) sejak 23 Desember 2019 Wakil Ketua IIISastra Joyo Sirait, S.H. (Gerindra) sejak 23 Desember 2019 Kompos...

Resolusi 1285Dewan Keamanan PBBSemenanjung PrevlakaTanggal13 Januari 2000Sidang no.4.088KodeS/RES/1285 (Dokumen)TopikSituasi di KroasiaRingkasan hasil15 mendukungTidak ada menentangTidak ada abstainHasilDiadopsiKomposisi Dewan KeamananAnggota tetap Tiongkok Prancis Rusia Britania Raya Amerika SerikatAnggota tidak tetap Argentina Bangladesh Kanada Jamaika Malaysia Mali Namibia Belanda Tunisia Ukraina Resolusi ...

Audio signalling device For other uses, see Buzzer (disambiguation). A buzzer or beeper is an audio signaling device,[1] which may be mechanical, electromechanical, or piezoelectric (piezo for short). Typical uses of buzzers and beepers include alarm devices, timers, train and confirmation of user input such as a mouse click or keystroke. History Electromechanical The electric buzzer was invented in 1831 by Joseph Henry. They were mainly used in early doorbells until they were phased ...

Se ha sugerido que esta página sea renombrada como «Cinderella (película de 2015)». Motivo: Diferentes títulos según el territorio, siendo apropiado el uso del nombre original en inglés de modo neutral. (ver discusión) Este artículo o sección tiene referencias, pero necesita más para complementar su verificabilidad.Este aviso fue puesto el 8 de diciembre de 2021. Cinderella Título Cenicienta (España) La Cenicienta (Hispanoamérica)Ficha técnicaDirección Kenneth BranaghProducci...

Place in Mexico City, MexicoNuevo PolancoMuseo Soumaya Plaza Carso. Behind, Grand Polanco apartment complexNuevo PolancoLocation of Nuevo Polanco in Mexico CityShow map of Mexico CityNuevo PolancoNuevo Polanco (Mexico)Show map of MexicoCoordinates: 19°26′26″N 99°12′17″W / 19.440693°N 99.2047°W / 19.440693; -99.2047Country MexicoFederal entityMexico CityBoroughMiguel HidalgoColoniasGranada, Ampliación GranadaPopulation (2013)[1] •&#...

Local civic body in Guntur, Andhra Pradesh, India Guntur Municipal CorporationGuṇṭūru nagara pālaka saṅghamuగుంటూరు నగర పాలక సంఘముTypeTypeMunicipal corporation of the Guntur HistoryFounded1866; 157 years ago (1866)LeadershipMayorKavati Siva Naga Manohar Naidu (YSRCP) Deputy MayorVanama Bala Vajrababu (YSRCP), Shaik Sajeela (YSRCP) Corporation CommissionerKeerthi Chekuri StructurePolitical groupsGovernment (46)   YSRCP (44) &...

Kembali kehalaman sebelumnya