Reachability in Multithreaded Programs Is Polynomial in the Number of Threads

A. Malkis
{"title":"Reachability in Multithreaded Programs Is Polynomial in the Number of Threads","authors":"A. Malkis","doi":"10.1109/PDCAT46702.2019.00078","DOIUrl":null,"url":null,"abstract":"Reachability in multithreaded programs is an important yet inherently difficult problem, even if they are finite-state and equipped with the interleaving semantics. So far, the complexity of this problem in the number of threads n, while keeping the maximal size of the thread-local memory and the size of shared memory bounded by a constant, has been explored poorly. We close this gap by measuring aspects such as (i) the diameter, i.e., the longest finite distance realizable in the transition graph of the program, (ii) the local diameter, i.e., the maximum distance from any program state to any thread-local state, and (iii) the computational complexity of bug-finding. We prove that all these are majorized by a polynomial in n and, in certain cases, by a linear, logarithmic, or even constant function in n. Such bounds shed more light on how the widely expressed claim, that one of the major obstacles to analyzing concurrent programs is the exponential state explosion in the number of threads, should (and should not) be understood.","PeriodicalId":166126,"journal":{"name":"2019 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT)","volume":"04 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PDCAT46702.2019.00078","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Reachability in multithreaded programs is an important yet inherently difficult problem, even if they are finite-state and equipped with the interleaving semantics. So far, the complexity of this problem in the number of threads n, while keeping the maximal size of the thread-local memory and the size of shared memory bounded by a constant, has been explored poorly. We close this gap by measuring aspects such as (i) the diameter, i.e., the longest finite distance realizable in the transition graph of the program, (ii) the local diameter, i.e., the maximum distance from any program state to any thread-local state, and (iii) the computational complexity of bug-finding. We prove that all these are majorized by a polynomial in n and, in certain cases, by a linear, logarithmic, or even constant function in n. Such bounds shed more light on how the widely expressed claim, that one of the major obstacles to analyzing concurrent programs is the exponential state explosion in the number of threads, should (and should not) be understood.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多线程程序的可达性是线程数的多项式
多线程程序中的可达性是一个重要但本质上很困难的问题,即使它们是有限状态的,并且配备了交错语义。到目前为止,在保持线程本地内存的最大大小和共享内存的大小为常量的情况下,这个问题在线程数n方面的复杂性还没有得到充分的研究。我们通过测量以下方面来缩小这个差距:(i)直径,即程序过渡图中可实现的最长有限距离,(ii)局部直径,即从任何程序状态到任何线程局部状态的最大距离,以及(iii)查找bug的计算复杂性。我们证明了所有这些都是由n的多项式决定的,在某些情况下,是由n的线性、对数甚至常数函数决定的。这样的界限更清楚地说明了广泛表达的说法,即分析并发程序的主要障碍之一是线程数量的指数状态爆炸,应该(或不应该)被理解。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
RNC: Reliable Network Property Classifier Based on Graph Embedding NFV Optimization Algorithm for Shortest Path and Service Function Assignment I/O Scheduling for Limited-Size Burst-Buffers Deployed High Performance Computing Efficient Fault-Tolerant Syndrome Measurement of Quantum Error-Correcting Codes Based on "Flag" Adaptive Clustering Strategy Based on Capacity Weight
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1