Head-of-line blocking

Head-of-line blocking (HOL blocking) in computer networking is a performance-limiting phenomenon that occurs when a queue of packets is held up by the first packet in the queue. This occurs, for example, in input-buffered network switches, out-of-order delivery and multiple requests in HTTP pipelining.

Network switches

Head-of-line blocking example: The 1st and 3rd input flows are competing to send packets to the same output interface. In this case if the switching fabric decides to transfer the packet from the 3rd input flow, the 1st input flow cannot be processed in the same time slot. Note that the 1st input flow is blocking a packet for output interface 3, which is available for processing.

A switch may be composed of buffered input ports, a switch fabric, and buffered output ports. If first-in first-out (FIFO) input buffers are used, only the oldest packet is available for forwarding. If the oldest packet cannot be transmitted due to its target output being busy, then more recent arrivals cannot be forwarded. The output may be busy if there is output contention.

Without HOL blocking, the new arrivals could potentially be forwarded around the stuck oldest packet to their respective destinations. HOL blocking can produce performance-degrading effects in input-buffered systems.

This phenomenon limits the throughput of switches. For FIFO input buffers, a simple model of fixed-sized cells to uniformly distributed destinations, causes the throughput to be limited to 58.6% of the total as the number of links becomes large.[1]

One way to overcome this limitation is by using virtual output queues.[2]

Only switches with input buffering can suffer HOL blocking. With sufficient internal bandwidth, input buffering is unnecessary; all buffering is handled at outputs and HOL blocking is avoided. This no-input-buffering architecture is common in small to medium-sized ethernet switches.

Out-of-order delivery

Out-of-order delivery occurs when sequenced packets arrive out of order. This may happen due to different paths taken by the packets or from packets being dropped and resent. HOL blocking can significantly increase packet reordering.[3][4]

Reliably broadcasting messages across a lossy network among a large number of peers is a difficult problem. While atomic broadcast algorithms solve the single point of failure problem of centralized servers, those algorithms introduce a head-of-line blocking problem.[5] The Bimodal Multicast algorithm, a randomized algorithm that uses a gossip protocol, avoids head-of-line blocking by allowing some messages to be received out-of-order.[6]

In HTTP

One form of HOL blocking in HTTP/1.1 is when the number of allowed parallel requests in the browser is used up, and subsequent requests need to wait for the former ones to complete. HTTP/2 addresses this issue through request multiplexing, which eliminates HOL blocking at the application layer, but HOL still exists at the transport (TCP) layer.[7][8]

In reliable byte streams

Head-of-line blocking can occur in reliable byte streams: if packets are reordered or lost and need to be retransmitted (and thus arrive out-of-order), data from sequentially later parts of the stream may be received before sequentially earlier parts of the stream; however, the later data cannot typically be used until the earlier data has been received, incurring network latency. If multiple independent higher-level messages are encapsulated and multiplexed onto a single reliable byte stream, then head-of-line blocking can cause processing of a fully-received message that was sent later to wait for delivery of a message that was sent earlier.[9] This affects, for example, HTTP/2, which frames multiple request–response pairs onto a single stream; HTTP/3, which has an application-layer framing design and uses datagram rather than stream transport, avoids this problem.[10][11] The latency degradation from head-of-line blocking depends on the underlying packet loss rate and round-trip time, with higher losses producing worse latency.[12][13] Without changing the stream abstraction, reducing packet loss can reduce the harm from head-of-line blocking; an alternative is to implement the reliable byte stream using forward error correction to send redundant data so that a certain amount of loss can be tolerated without incurring retransmissions.[9]

See also

References

  1. ^ M. Karo; M. Hluchyj; S. Morgan (December 1987). "Input Versus Output Queuing on a Space-Division Packet Switch". IEEE Transactions on Communications. 35 (12): 1347–1356. doi:10.1109/TCOM.1987.1096719.
  2. ^ Nick McKeown; Adisak Mekkittikul; Venkat Anantharam; Jean Walrand (August 1999). "Achieving 100% Throughput in an Input-Queued Switch" (PDF). IEEE Transactions on Communications. 47 (8): 1260–1267. CiteSeerX 10.1.1.18.7529. doi:10.1109/26.780463.
  3. ^ Jon C. R. Bennett; Craig Partridge; Nicholas Shectman (December 1999). "Packet reordering is not pathological network behavior". IEEE/ACM Transactions on Networking. 7 (6): 789–798. CiteSeerX 10.1.1.461.7629. doi:10.1109/90.811445. S2CID 26573611.
  4. ^ Bennett, J. C. R.; Partridge, C.; Shectman, N. (April 2000). Sarisky, Dan (ed.). "Packet Reordering is Not Pathological Network Behavior [Slides]" (PDF). SC N Research. Archived from the original (PDF) on 2017-08-20. Retrieved 2017-08-19.
  5. ^ Defago, X.; Schiper; A., Urban, P. (2004). "Total order broadcast and multicast algorithms: taxonomy and survey" (PDF). ACM Computing Surveys. 36 (4): 372-421. doi:10.1145/1041680.1041682. S2CID 207155989.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  6. ^ Tyler McMullen (2015). "It Probably Works". ACM Queue.
  7. ^ Grigorik, Ilya (October 2013). "Making the Web Faster with HTTP 2.0". ACM Queue. 11 (10): 40. doi:10.1145/2542661.2555617. S2CID 34623442. Retrieved 10 June 2019.
  8. ^ Javier Garza (October 2017). "How does HTTP/2 solve the Head of Line blocking (HOL) issue".
  9. ^ a b Briscoe et al. 2016, pp. 29–30.
  10. ^ Langley et al. 2017, pp. 184, 186.
  11. ^ Marx et al. 2018, pp. 22–23.
  12. ^ Nowlan, Wolinsky & Ford 2013, p. 6.
  13. ^ Heijligers 2021, p. 65.

Bibliography

  • Briscoe, Bob; Brunstrom, Anna; Petlund, Andreas; Hayes, David; Ros, David; Tsang, Ing-Jyh; Gjessing, Stein; Fairhurst, Gorry; Griwodz, Carsten; Welzl, Michael (2016). "Reducing Internet Latency: A Survey of Techniques and Their Merits". IEEE Communications Surveys & Tutorials. 18 (3): 2149–2196. doi:10.1109/COMST.2014.2375213. hdl:2164/8018. S2CID 206576469.
  • Heijligers, Jaap (2021). Tor over QUIC (Thesis).
  • Langley, Adam; Riddoch, Alistair; Wilk, Alyssa; Vicente, Antonio; Krasic, Charles; Zhang, Dan; Yang, Fan; Kouranov, Fedor; Swett, Ian; Iyengar, Janardhan; Bailey, Jeff; Dorfman, Jeremy; Roskind, Jim; Kulik, Joanna; Westin, Patrik; Tenneti, Raman; Shade, Robbie; Hamilton, Ryan; Vasiliev, Victor; Chang, Wan-Teh; Shi, Zhongyi (2017). "The QUIC Transport Protocol". Proceedings of the Conference of the ACM Special Interest Group on Data Communication. pp. 183–196. doi:10.1145/3098822.3098842. ISBN 9781450346535. S2CID 2768765.
  • Marx, Robin; Wijnants, Maarten; Quax, Peter; Faes, Axel; Lamotte, Wim (2018). "Web Performance Characteristics of HTTP/2 and Comparison to HTTP/1.1". Web Information Systems and Technologies. Lecture Notes in Business Information Processing. Vol. 322. pp. 87–114. doi:10.1007/978-3-319-93527-0_5. hdl:1942/26146. ISBN 978-3-319-93526-3. S2CID 52009597.
  • Nowlan, Michael F.; Wolinsky, David; Ford, Bryan (2013). Reducing Latency in Tor Circuits with Unordered Delivery. 3rd USENIX Workshop on Free and Open Communications on the Internet.

Read other articles:

Beneventocollegio elettoraleStato Italia Elezioni perCamera dei deputati ElettiDeputati Periodo 1993-2005Tipologiauninominale Territorio Manuale Il collegio di Benevento fu un collegio elettorale uninominale della Repubblica Italiana per l'elezione della Camera dei deputati. Apparteneva alla circoscrizione Campania 2 e fu utilizzato per eleggere un deputato nella XII, XIII e XIV legislatura. Venne istituito nel 1993 con la cosiddetta Legge Mattarella (Legge n. 277, Nuove norme per l'elez...

 

 

United States historic placeAfrican QueenU.S. National Register of Historic Places The African Queen, January 2023Show map of FloridaShow map of the United StatesLocationKey Largo, FloridaCoordinates25°5′44.06″N 80°26′17.83″W / 25.0955722°N 80.4382861°W / 25.0955722; -80.4382861Built1912 and 1950ArchitectLytham Shipbuilding & Engineering CoNRHP reference No.91001771Added to NRHPFebruary 18, 1992[1] African Queen (also known as S/L Livi...

 

 

Leon Schlumpf Officieel portret, december 1971. Geboren 3 februari 1925Felsberg Overleden 7 juli 2012 (87 jaar)Chur Politieke partij Zwitserse Volkspartij Partner Gertrud Rupp Religie protestantisme 89e lid van de Bondsraad Aangetreden 1 januari 1980 Einde termijn 31 december 1987 Voorganger Rudolf Gnägi (BE) Opvolger Adolf Ogi (BE) Bondspresident van Zwitserland Aangetreden 1 januari 1984 Einde termijn 31 december 1984 Voorganger Pierre Aubert Opvolger Kurt Furgler Portaal   ...

Artikel ini bukan mengenai Langit. Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Langit-langit – berita · surat kabar · buku · cendekiawan · JSTOR Langit-langit bergaya Moor di Aghadir, Maroko Langit-langit atau plafon ialah permukaan interior atas ...

 

 

Wace apresenta o Roman de Rou à Henrique II de Inglaterra. Wace, também conhecido como Guace ou Wistace (cerca de 1100, Jersey – entre 1174 e 1183), é um poeta normando conhecido na história da literatura por suas duas maiores obras: o Roman de Brut e o Roman de Rou. No século XVIII ele passou a ser erroneamente chamado de « Robert Wace », e no século XIX passaram a acreditar que ele teria origem nobre. Biografia Ele passa a juventude em Caen onde foi educado para se torna...

 

 

Yu Shan (paling kiri) bersama dengan para anggota Popu Lady. Liu Yu Shan (Hanzi: 劉宇珊) atau Yu Shan (Hanzi: 宇珊) (lahir 8 Juni 1991) adalah seorang penyanyi asal Taiwan dan anggota dari grup vokal perempuan Popu Lady.[1] Ia belajar di jurusan akuntansi Universitas Kristen Chung Yuan. Referensi ^ 正妹時代. 大元 林盈臻 Popu Lady 國民夢幻宅男女神 Diarsipkan 2017-07-01 di Wayback Machine.

ميغيل كابوتشيني معلومات شخصية الاسم الكامل ميغيل كابوتشيني الميلاد 5 يناير 1904(1904-01-05)مونتيفيديو الوفاة 9 يونيو 1980 (76 سنة)مونتفيدو  مركز اللعب حارس مرمى الجنسية الأوروغواي  المسيرة الاحترافية1 سنوات فريق م. (هـ.) بنيارول مونتيفيديو واندررز المنتخب الوطني 1930-1927 الأوروغوا...

 

 

Троїцька церква 49°45′56″ пн. ш. 33°18′08″ сх. д. / 49.765778° пн. ш. 33.30222° сх. д. / 49.765778; 33.30222Координати: 49°45′56″ пн. ш. 33°18′08″ сх. д. / 49.765778° пн. ш. 33.30222° сх. д. / 49.765778; 33.30222Тип споруди церкваРозташування  Україна, ...

 

 

2001 Food City 500 Race details[1][2] Race 6 of 36 in the 2001 NASCAR Winston Cup Series Map of the Bristol Motor SpeedwayDate March 25, 2001 (2001-03-25)Location Bristol Motor Speedway, Bristol, TennesseeCourse Permanent racing facility0.533 mi (0.858 km)Distance 500 laps, 266.5 mi (428.8 km)Weather Temperatures up to 48.2 °F (9.0 °C); wind speeds up to 23.02 miles per hour (37.05 km/h)[3]Average speed 86.949 mph (139.931 km/h...

Species of crustacean Armillifer armillatus A 4 cm specimen from the respiratory tract of Python sebae Scientific classification Domain: Eukaryota Kingdom: Animalia Phylum: Arthropoda Class: Ichthyostraca Order: Porocephalida Family: Porocephalidae Genus: Armillifer Species: A. armillatus Binomial name Armillifer armillatus(Wyman, 1848) Synonyms List Linguatula armillata Wyman, 1845 Linguatula diesingii Van Beneden, 1848 Pentastoma leonis Wedl, 1863 Pentastoma polyzonum Harley, 1857...

 

 

Kathedraal van Cotonou Basiliek van Ouidah De Katholieke Kerk in Benin is een onderdeel van de wereldwijde Rooms-Katholieke Kerk, onder het geestelijk leiderschap van de paus en de curie in Rome. In 2005 waren ongeveer 1.587.000 (24%) van de 6.600.000 inwoners van Benin lid van de Katholieke Kerk.[1] Het land bestaat uit 10 bisdommen verdeeld over 2 kerkprovincies. De bisschoppen zijn lid van de bisschoppenconferentie van Benin (Conférence Episcopale du Bénin). Sinds 2006 is Antoine...

 

 

International non-profit organisation International Vegetarian UnionAbbreviationIVUPredecessorVegetarian Federal UnionFormation1908; 115 years ago (1908)Founded atDresden, GermanyTypeNonprofitPurposePromotion of vegetarianismRegion WorldwideWebsiteivu.org The International Vegetarian Union (IVU) is an international non-profit organization whose purpose is to promote vegetarianism. The IVU was founded in 1908 in Dresden, Germany.[1][2] It is an umbrella organi...

1983 young adult novel by Gloria SkurzynskiThis article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help to improve this article by introducing more precise citations. (May 2015) (Learn how and when to remove this template message) The Tempering First editionAuthorGloria SkurzynskiCountryUnited StatesLanguageEnglishGenreNovelPublisherClarion BooksPublication date1983Media typePrint (hardback)P...

 

 

Upcoming Namma Metro station under Yellow Line Jayadeva Hospital Namma Metro stationUnder Construction of this Namma Metro stationGeneral informationLocationJayadeva Flyover, BHBCS Layout, Stage 2, BTM Layout, Bengaluru, Karnataka 560029Coordinates12°55′00″N 77°36′00″E / 12.91673°N 77.60009°E / 12.91673; 77.60009Elevation29 m (95 ft) from Street Level (TBC)Owned byBangalore Metro Rail Corporation Ltd (BMRCL)Operated byNamma MetroLine(s)Yellow Line...

 

 

Nahuatl symbol for xōchitl, a flower. Xochitl is one of the most common names adopted by Chicanos after the Chicano Movement.[1][2] Chicano naming practices formed out of the cultural pride that was established in the Chicano Movement.[1][3] This motivated some Chicanos to adopt Indigenous Mexican names, often Aztec (or Nahuatl) in origin, for themselves and their children, rather than Spaniard names,[1] which were first imposed onto Indigenous Mexico ...

Founder of Udaipur and Maharana of Mewar (1540-1572) This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed. (March 2014) (Learn how and when to remove this template message) This article needs additional c...

 

 

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يناير 2022)   لمعانٍ أخرى، طالع ستانلي مورغان (توضيح). ستانلي مورغان معلومات شخصية الميلاد 17 فبراير 1955 (68 سنة)  إيسلي  مواطنة الولايات المتحدة  الطول 71 بوصة ...

 

 

JR West Miyajima Ferry Co., Ltd.JR西日本宮島フェリー株式会社View of Nanaura Maru (ななうら丸:left side), Mount Misen and torii of Itsukushima Shrine from on the sea.TypeKabushiki gaisha (closely held)IndustryTransportationFounded1 April 2009; 14 years ago (2009-04-01)HeadquartersMiyajima-chō, Hatsukaichi City, Hiroshima Prefecture, JapanArea servedHiroshima PrefectureNumber of employees25 peopleWebsiteOfficial website Miyajima-maru View of torii of Itsukus...

Method used for display options on video text terminals ANSI code redirects here. For other uses, see ANSI (disambiguation). ANSI X3.64 (ISO/IEC 6429)Output of the system-monitor htop, an ncurses-application (which uses SGR and other ANSI/ISO control sequences).Standard ECMA-48 ISO/IEC 6429 FIPS 86 ANSI X3.64 JIS X 0211 ClassificationISO/IEC 2022 based control code and control sequence setOther related encoding(s) ITU T.61 ISO/IEC 8613-6 / ITU T.416 Other control function standards: ITU T.101...

 

 

2016 video gameRiveDeveloper(s)Two TribesPublisher(s)Two Tribes Publishing B.V.EngineProprietary internal enginePlatform(s)PlayStation 4, Microsoft Windows, Nintendo Switch, OS X, LinuxReleaseMicrosoft Windows, PlayStation 4September 13, 2016Nintendo SwitchNovember 17, 2017[1]Genre(s)Platform, shoot 'em upMode(s)Single-player Rive is a platforming shoot-em-up game created by the Dutch video game company Two Tribes for PlayStation 4, Microsoft Windows, OS X, Linux and Nintendo Switch, ...

 

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!