LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation

Extensive polling in shared-memory manycore systems can lead to contention, decreased throughput, and poor energy efficiency. Both lock implementations and the general-purpose atomic operation, load-reserved/store-conditional (LRSC), cause polling due to serialization and retries. To alleviate this...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Riedel, Samuel, Gantenbein, Marc, Ottaviano, Alessandro, Hoefler, Torsten, Benini, Luca
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Riedel, Samuel
Gantenbein, Marc
Ottaviano, Alessandro
Hoefler, Torsten
Benini, Luca
description Extensive polling in shared-memory manycore systems can lead to contention, decreased throughput, and poor energy efficiency. Both lock implementations and the general-purpose atomic operation, load-reserved/store-conditional (LRSC), cause polling due to serialization and retries. To alleviate this overhead, we propose LRwait and SCwait, a synchronization pair that eliminates polling by allowing contending cores to sleep while waiting for previous cores to finish their atomic access. As a scalable implementation of LRwait, we present Colibri, a distributed and scalable approach to managing LRwait reservations. Through extensive benchmarking on an open-source RISC-V platform with 256 cores, we demonstrate that Colibri outperforms current synchronization approaches for various concurrent algorithms with high and low contention regarding throughput, fairness, and energy efficiency. With an area overhead of only 6%, Colibri outperforms LRSC-based implementations by a factor of 6.5x in terms of throughput and 7.1x in terms of energy efficiency.
doi_str_mv 10.48550/arxiv.2401.09359
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2401_09359</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2401_09359</sourcerecordid><originalsourceid>FETCH-LOGICAL-a679-b3500d55127f6e9ce57560250b777de6888b43300017f69d752a00e35011567b3</originalsourceid><addsrcrecordid>eNotkM1ugzAQhH3poUr6AD3VLwBdY4whtwqRthJVqpA7MrAkloiJjPtD-_Il0NPuamc-aYaQewZ-GAsBj8p-608_CIH5kHCR3JLffF-kX0q7Dc2MqjptjrSoVTetSJVpaNa2utZoHC1GU59sb_SPcro3VBv6psxY9xan3-DwPFA3CT6OJ_red1eUt7W4YPbo7LicuwvambAmN63qBrz7nyty2GaH9MXLd8-v6VPuqUgmXsUFQCMEC2QbYVKjkCKCQEAlpWwwiuO4CjkHADYJkkaKQAHg5GJMRLLiK_KwYOf05cXqs7JjeW2hnFvgf6FUV50</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation</title><source>arXiv.org</source><creator>Riedel, Samuel ; Gantenbein, Marc ; Ottaviano, Alessandro ; Hoefler, Torsten ; Benini, Luca</creator><creatorcontrib>Riedel, Samuel ; Gantenbein, Marc ; Ottaviano, Alessandro ; Hoefler, Torsten ; Benini, Luca</creatorcontrib><description>Extensive polling in shared-memory manycore systems can lead to contention, decreased throughput, and poor energy efficiency. Both lock implementations and the general-purpose atomic operation, load-reserved/store-conditional (LRSC), cause polling due to serialization and retries. To alleviate this overhead, we propose LRwait and SCwait, a synchronization pair that eliminates polling by allowing contending cores to sleep while waiting for previous cores to finish their atomic access. As a scalable implementation of LRwait, we present Colibri, a distributed and scalable approach to managing LRwait reservations. Through extensive benchmarking on an open-source RISC-V platform with 256 cores, we demonstrate that Colibri outperforms current synchronization approaches for various concurrent algorithms with high and low contention regarding throughput, fairness, and energy efficiency. With an area overhead of only 6%, Colibri outperforms LRSC-based implementations by a factor of 6.5x in terms of throughput and 7.1x in terms of energy efficiency.</description><identifier>DOI: 10.48550/arxiv.2401.09359</identifier><language>eng</language><subject>Computer Science - Hardware Architecture</subject><creationdate>2024-01</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2401.09359$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2401.09359$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Riedel, Samuel</creatorcontrib><creatorcontrib>Gantenbein, Marc</creatorcontrib><creatorcontrib>Ottaviano, Alessandro</creatorcontrib><creatorcontrib>Hoefler, Torsten</creatorcontrib><creatorcontrib>Benini, Luca</creatorcontrib><title>LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation</title><description>Extensive polling in shared-memory manycore systems can lead to contention, decreased throughput, and poor energy efficiency. Both lock implementations and the general-purpose atomic operation, load-reserved/store-conditional (LRSC), cause polling due to serialization and retries. To alleviate this overhead, we propose LRwait and SCwait, a synchronization pair that eliminates polling by allowing contending cores to sleep while waiting for previous cores to finish their atomic access. As a scalable implementation of LRwait, we present Colibri, a distributed and scalable approach to managing LRwait reservations. Through extensive benchmarking on an open-source RISC-V platform with 256 cores, we demonstrate that Colibri outperforms current synchronization approaches for various concurrent algorithms with high and low contention regarding throughput, fairness, and energy efficiency. With an area overhead of only 6%, Colibri outperforms LRSC-based implementations by a factor of 6.5x in terms of throughput and 7.1x in terms of energy efficiency.</description><subject>Computer Science - Hardware Architecture</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotkM1ugzAQhH3poUr6AD3VLwBdY4whtwqRthJVqpA7MrAkloiJjPtD-_Il0NPuamc-aYaQewZ-GAsBj8p-608_CIH5kHCR3JLffF-kX0q7Dc2MqjptjrSoVTetSJVpaNa2utZoHC1GU59sb_SPcro3VBv6psxY9xan3-DwPFA3CT6OJ_red1eUt7W4YPbo7LicuwvambAmN63qBrz7nyty2GaH9MXLd8-v6VPuqUgmXsUFQCMEC2QbYVKjkCKCQEAlpWwwiuO4CjkHADYJkkaKQAHg5GJMRLLiK_KwYOf05cXqs7JjeW2hnFvgf6FUV50</recordid><startdate>20240117</startdate><enddate>20240117</enddate><creator>Riedel, Samuel</creator><creator>Gantenbein, Marc</creator><creator>Ottaviano, Alessandro</creator><creator>Hoefler, Torsten</creator><creator>Benini, Luca</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240117</creationdate><title>LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation</title><author>Riedel, Samuel ; Gantenbein, Marc ; Ottaviano, Alessandro ; Hoefler, Torsten ; Benini, Luca</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a679-b3500d55127f6e9ce57560250b777de6888b43300017f69d752a00e35011567b3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Hardware Architecture</topic><toplevel>online_resources</toplevel><creatorcontrib>Riedel, Samuel</creatorcontrib><creatorcontrib>Gantenbein, Marc</creatorcontrib><creatorcontrib>Ottaviano, Alessandro</creatorcontrib><creatorcontrib>Hoefler, Torsten</creatorcontrib><creatorcontrib>Benini, Luca</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Riedel, Samuel</au><au>Gantenbein, Marc</au><au>Ottaviano, Alessandro</au><au>Hoefler, Torsten</au><au>Benini, Luca</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation</atitle><date>2024-01-17</date><risdate>2024</risdate><abstract>Extensive polling in shared-memory manycore systems can lead to contention, decreased throughput, and poor energy efficiency. Both lock implementations and the general-purpose atomic operation, load-reserved/store-conditional (LRSC), cause polling due to serialization and retries. To alleviate this overhead, we propose LRwait and SCwait, a synchronization pair that eliminates polling by allowing contending cores to sleep while waiting for previous cores to finish their atomic access. As a scalable implementation of LRwait, we present Colibri, a distributed and scalable approach to managing LRwait reservations. Through extensive benchmarking on an open-source RISC-V platform with 256 cores, we demonstrate that Colibri outperforms current synchronization approaches for various concurrent algorithms with high and low contention regarding throughput, fairness, and energy efficiency. With an area overhead of only 6%, Colibri outperforms LRSC-based implementations by a factor of 6.5x in terms of throughput and 7.1x in terms of energy efficiency.</abstract><doi>10.48550/arxiv.2401.09359</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2401.09359
ispartof
issn
language eng
recordid cdi_arxiv_primary_2401_09359
source arXiv.org
subjects Computer Science - Hardware Architecture
title LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-28T18%3A44%3A48IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=LRSCwait:%20Enabling%20Scalable%20and%20Efficient%20Synchronization%20in%20Manycore%20Systems%20through%20Polling-Free%20and%20Retry-Free%20Operation&rft.au=Riedel,%20Samuel&rft.date=2024-01-17&rft_id=info:doi/10.48550/arxiv.2401.09359&rft_dat=%3Carxiv_GOX%3E2401_09359%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true