Nonatomic mutual exclusion with local spinning
We present an N-process local-spin mutual exclusion algorithm, based on nonatomic reads and writes, in which each process performs Θ(log N) remote memory references to enter and exit its critical section. This algorithm is derived from Yang and Anderson's atomic tree-based local-spin algorithm...
Gespeichert in:
Veröffentlicht in: | Distributed computing 2006-09, Vol.19 (1), p.19-61 |
---|---|
Hauptverfasser: | , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | 61 |
---|---|
container_issue | 1 |
container_start_page | 19 |
container_title | Distributed computing |
container_volume | 19 |
creator | Yong-Jik, Kim Aderson, J H |
description | We present an N-process local-spin mutual exclusion algorithm, based on nonatomic reads and writes, in which each process performs Θ(log N) remote memory references to enter and exit its critical section. This algorithm is derived from Yang and Anderson's atomic tree-based local-spin algorithm in a way that preserves its time complexity. No atomic read/write algorithm with better asymptotic worst-case time complexity (under the remote-mem-ory-refer-ences measure) is currently known. This suggests that atomic memory is not fundamentally required if one is interested in worst-case time complexity. The same cannot be said if one is interested in fast-path algorithms (in which contention-free time complexity is required to be O(1)) or adaptive algorithms (in which time complexity is required to depend only on the number of contending processes). We show that such algorithms fundamentally require memory accesses to be atomic. In particular, we show that for any N-process nonatomic algorithm, there exists a single-process execution in which the lone competing process accesses Ω(log N/log log N) distinct variables to enter its critical section. Thus, fast and adaptive algorithms are impossible even if caching techniques are used to avoid accessing the processors-to-memory interconnection network. |
doi_str_mv | 10.1007/s00446-006-0003-z |
format | Article |
fullrecord | <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_miscellaneous_36529246</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>36529246</sourcerecordid><originalsourceid>FETCH-LOGICAL-c330t-178379d3c574f1af220381d08f3fd9ad7393c7814041a8198206d90dcdafe7e63</originalsourceid><addsrcrecordid>eNqFkE1LxDAQhoMouK7-AG_Fg7euM5m0SY6y-AWLXvQcQppqlrZZmxY_fr0t68mLh2FgeJj35WHsHGGFAPIqAQhR5gDzAOXfB2yBgngOouCHbAEoVc6lhGN2ktJ2ZhD5gq0eY2eH2AaXteMw2ibzn64ZU4hd9hGGt6yJbjqmXei60L2esqPaNsmf_e4le7m9eV7f55unu4f19SZ3RDDkUxhJXZErpKjR1pwDKaxA1VRX2laSNDmpUIBAq1ArDmWloXKVrb30JS3Z5f7vro_vo0-DaUNyvmls5-OYDJUF11zM4MUfcBvHvpu6GY66UEWh6T-o5IRqgnAPuT6m1Pva7PrQ2v7LIJjZsdk7NpNjM_sz3_QDlC5s3Q</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>219562318</pqid></control><display><type>article</type><title>Nonatomic mutual exclusion with local spinning</title><source>SpringerLink Journals - AutoHoldings</source><creator>Yong-Jik, Kim ; Aderson, J H</creator><creatorcontrib>Yong-Jik, Kim ; Aderson, J H</creatorcontrib><description>We present an N-process local-spin mutual exclusion algorithm, based on nonatomic reads and writes, in which each process performs Θ(log N) remote memory references to enter and exit its critical section. This algorithm is derived from Yang and Anderson's atomic tree-based local-spin algorithm in a way that preserves its time complexity. No atomic read/write algorithm with better asymptotic worst-case time complexity (under the remote-mem-ory-refer-ences measure) is currently known. This suggests that atomic memory is not fundamentally required if one is interested in worst-case time complexity. The same cannot be said if one is interested in fast-path algorithms (in which contention-free time complexity is required to be O(1)) or adaptive algorithms (in which time complexity is required to depend only on the number of contending processes). We show that such algorithms fundamentally require memory accesses to be atomic. In particular, we show that for any N-process nonatomic algorithm, there exists a single-process execution in which the lone competing process accesses Ω(log N/log log N) distinct variables to enter its critical section. Thus, fast and adaptive algorithms are impossible even if caching techniques are used to avoid accessing the processors-to-memory interconnection network.</description><identifier>ISSN: 0178-2770</identifier><identifier>EISSN: 1432-0452</identifier><identifier>DOI: 10.1007/s00446-006-0003-z</identifier><language>eng</language><publisher>Heidelberg: Springer Nature B.V</publisher><subject>Adaptive algorithms ; Algorithms ; Asymptotic methods ; Complexity</subject><ispartof>Distributed computing, 2006-09, Vol.19 (1), p.19-61</ispartof><rights>Springer-Verlag 2006</rights><rights>Springer-Verlag 2006.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c330t-178379d3c574f1af220381d08f3fd9ad7393c7814041a8198206d90dcdafe7e63</citedby><cites>FETCH-LOGICAL-c330t-178379d3c574f1af220381d08f3fd9ad7393c7814041a8198206d90dcdafe7e63</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27922,27923</link.rule.ids></links><search><creatorcontrib>Yong-Jik, Kim</creatorcontrib><creatorcontrib>Aderson, J H</creatorcontrib><title>Nonatomic mutual exclusion with local spinning</title><title>Distributed computing</title><description>We present an N-process local-spin mutual exclusion algorithm, based on nonatomic reads and writes, in which each process performs Θ(log N) remote memory references to enter and exit its critical section. This algorithm is derived from Yang and Anderson's atomic tree-based local-spin algorithm in a way that preserves its time complexity. No atomic read/write algorithm with better asymptotic worst-case time complexity (under the remote-mem-ory-refer-ences measure) is currently known. This suggests that atomic memory is not fundamentally required if one is interested in worst-case time complexity. The same cannot be said if one is interested in fast-path algorithms (in which contention-free time complexity is required to be O(1)) or adaptive algorithms (in which time complexity is required to depend only on the number of contending processes). We show that such algorithms fundamentally require memory accesses to be atomic. In particular, we show that for any N-process nonatomic algorithm, there exists a single-process execution in which the lone competing process accesses Ω(log N/log log N) distinct variables to enter its critical section. Thus, fast and adaptive algorithms are impossible even if caching techniques are used to avoid accessing the processors-to-memory interconnection network.</description><subject>Adaptive algorithms</subject><subject>Algorithms</subject><subject>Asymptotic methods</subject><subject>Complexity</subject><issn>0178-2770</issn><issn>1432-0452</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2006</creationdate><recordtype>article</recordtype><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><sourceid>GNUQQ</sourceid><recordid>eNqFkE1LxDAQhoMouK7-AG_Fg7euM5m0SY6y-AWLXvQcQppqlrZZmxY_fr0t68mLh2FgeJj35WHsHGGFAPIqAQhR5gDzAOXfB2yBgngOouCHbAEoVc6lhGN2ktJ2ZhD5gq0eY2eH2AaXteMw2ibzn64ZU4hd9hGGt6yJbjqmXei60L2esqPaNsmf_e4le7m9eV7f55unu4f19SZ3RDDkUxhJXZErpKjR1pwDKaxA1VRX2laSNDmpUIBAq1ArDmWloXKVrb30JS3Z5f7vro_vo0-DaUNyvmls5-OYDJUF11zM4MUfcBvHvpu6GY66UEWh6T-o5IRqgnAPuT6m1Pva7PrQ2v7LIJjZsdk7NpNjM_sz3_QDlC5s3Q</recordid><startdate>20060901</startdate><enddate>20060901</enddate><creator>Yong-Jik, Kim</creator><creator>Aderson, J H</creator><general>Springer Nature B.V</general><scope>AAYXX</scope><scope>CITATION</scope><scope>3V.</scope><scope>7RQ</scope><scope>7SC</scope><scope>7XB</scope><scope>8AL</scope><scope>8AO</scope><scope>8FD</scope><scope>8FE</scope><scope>8FG</scope><scope>8FK</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>ARAPS</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>GNUQQ</scope><scope>HCIFZ</scope><scope>JQ2</scope><scope>K7-</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>M0N</scope><scope>P5Z</scope><scope>P62</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>Q9U</scope><scope>U9A</scope></search><sort><creationdate>20060901</creationdate><title>Nonatomic mutual exclusion with local spinning</title><author>Yong-Jik, Kim ; Aderson, J H</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c330t-178379d3c574f1af220381d08f3fd9ad7393c7814041a8198206d90dcdafe7e63</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2006</creationdate><topic>Adaptive algorithms</topic><topic>Algorithms</topic><topic>Asymptotic methods</topic><topic>Complexity</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Yong-Jik, Kim</creatorcontrib><creatorcontrib>Aderson, J H</creatorcontrib><collection>CrossRef</collection><collection>ProQuest Central (Corporate)</collection><collection>Career & Technical Education Database</collection><collection>Computer and Information Systems Abstracts</collection><collection>ProQuest Central (purchase pre-March 2016)</collection><collection>Computing Database (Alumni Edition)</collection><collection>ProQuest Pharma Collection</collection><collection>Technology Research Database</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>ProQuest Central (Alumni) (purchase pre-March 2016)</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>Advanced Technologies & Aerospace Collection</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>ProQuest Central Student</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Computer Science Collection</collection><collection>Computer Science Database</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>Computing Database</collection><collection>Advanced Technologies & Aerospace Database</collection><collection>ProQuest Advanced Technologies & Aerospace Collection</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>ProQuest Central Basic</collection><jtitle>Distributed computing</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Yong-Jik, Kim</au><au>Aderson, J H</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Nonatomic mutual exclusion with local spinning</atitle><jtitle>Distributed computing</jtitle><date>2006-09-01</date><risdate>2006</risdate><volume>19</volume><issue>1</issue><spage>19</spage><epage>61</epage><pages>19-61</pages><issn>0178-2770</issn><eissn>1432-0452</eissn><abstract>We present an N-process local-spin mutual exclusion algorithm, based on nonatomic reads and writes, in which each process performs Θ(log N) remote memory references to enter and exit its critical section. This algorithm is derived from Yang and Anderson's atomic tree-based local-spin algorithm in a way that preserves its time complexity. No atomic read/write algorithm with better asymptotic worst-case time complexity (under the remote-mem-ory-refer-ences measure) is currently known. This suggests that atomic memory is not fundamentally required if one is interested in worst-case time complexity. The same cannot be said if one is interested in fast-path algorithms (in which contention-free time complexity is required to be O(1)) or adaptive algorithms (in which time complexity is required to depend only on the number of contending processes). We show that such algorithms fundamentally require memory accesses to be atomic. In particular, we show that for any N-process nonatomic algorithm, there exists a single-process execution in which the lone competing process accesses Ω(log N/log log N) distinct variables to enter its critical section. Thus, fast and adaptive algorithms are impossible even if caching techniques are used to avoid accessing the processors-to-memory interconnection network.</abstract><cop>Heidelberg</cop><pub>Springer Nature B.V</pub><doi>10.1007/s00446-006-0003-z</doi><tpages>43</tpages></addata></record> |
fulltext | fulltext |
identifier | ISSN: 0178-2770 |
ispartof | Distributed computing, 2006-09, Vol.19 (1), p.19-61 |
issn | 0178-2770 1432-0452 |
language | eng |
recordid | cdi_proquest_miscellaneous_36529246 |
source | SpringerLink Journals - AutoHoldings |
subjects | Adaptive algorithms Algorithms Asymptotic methods Complexity |
title | Nonatomic mutual exclusion with local spinning |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-10T09%3A18%3A09IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Nonatomic%20mutual%20exclusion%20with%20local%20spinning&rft.jtitle=Distributed%20computing&rft.au=Yong-Jik,%20Kim&rft.date=2006-09-01&rft.volume=19&rft.issue=1&rft.spage=19&rft.epage=61&rft.pages=19-61&rft.issn=0178-2770&rft.eissn=1432-0452&rft_id=info:doi/10.1007/s00446-006-0003-z&rft_dat=%3Cproquest_cross%3E36529246%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=219562318&rft_id=info:pmid/&rfr_iscdi=true |