何时放弃并行实施

Nathan S. Sheffield, Alek Westover
{"title":"何时放弃并行实施","authors":"Nathan S. Sheffield, Alek Westover","doi":"arxiv-2408.16092","DOIUrl":null,"url":null,"abstract":"In the Serial Parallel Decision Problem (SPDP), introduced by Kuszmaul and\nWestover [SPAA'24], an algorithm receives a series of tasks online, and must\nchoose for each between a serial implementation and a parallelizable (but less\nefficient) implementation. Kuszmaul and Westover describe three decision\nmodels: (1) \\defn{Instantly-committing} schedulers must decide on arrival,\nirrevocably, which implementation of the task to run. (2)\n\\defn{Eventually-committing} schedulers can delay their decision beyond a\ntask's arrival time, but cannot revoke their decision once made. (3)\n\\defn{Never-committing} schedulers are always free to abandon their progress on\nthe task and start over using a different implementation. Kuszmaul and Westover\ngave a simple instantly-committing scheduler whose total completion time is\n$3$-competitive with the offline optimal schedule. They conjectured that the\nthree decision models should admit different competitive ratios, but left upper\nbounds below $3$ in any model as an open problem. In this paper, we show that the powers of instantly, eventually, and never\ncommitting schedulers are distinct, at least in the ``massively parallel\nregime''. The massively parallel regime of the SPDP is the special case where\nthe number of available processors is asymptotically larger than the number of\ntasks to process, meaning that the \\emph{work} associated with running a task\nin serial is negligible compared to its \\emph{runtime}. In this regime, we show\n(1) The optimal competitive ratio for instantly-committing schedulers is $2$,\n(2) The optimal competitive ratio for eventually-committing schedulers lies in\n$[1.618, 1.678]$, (3) The optimal competitive ratio for never-committing\nschedulers lies in $[1.366, 1.500]$.","PeriodicalId":501525,"journal":{"name":"arXiv - CS - Data Structures and Algorithms","volume":"8 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"When to Give Up on a Parallel Implementation\",\"authors\":\"Nathan S. Sheffield, Alek Westover\",\"doi\":\"arxiv-2408.16092\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In the Serial Parallel Decision Problem (SPDP), introduced by Kuszmaul and\\nWestover [SPAA'24], an algorithm receives a series of tasks online, and must\\nchoose for each between a serial implementation and a parallelizable (but less\\nefficient) implementation. Kuszmaul and Westover describe three decision\\nmodels: (1) \\\\defn{Instantly-committing} schedulers must decide on arrival,\\nirrevocably, which implementation of the task to run. (2)\\n\\\\defn{Eventually-committing} schedulers can delay their decision beyond a\\ntask's arrival time, but cannot revoke their decision once made. (3)\\n\\\\defn{Never-committing} schedulers are always free to abandon their progress on\\nthe task and start over using a different implementation. Kuszmaul and Westover\\ngave a simple instantly-committing scheduler whose total completion time is\\n$3$-competitive with the offline optimal schedule. They conjectured that the\\nthree decision models should admit different competitive ratios, but left upper\\nbounds below $3$ in any model as an open problem. In this paper, we show that the powers of instantly, eventually, and never\\ncommitting schedulers are distinct, at least in the ``massively parallel\\nregime''. The massively parallel regime of the SPDP is the special case where\\nthe number of available processors is asymptotically larger than the number of\\ntasks to process, meaning that the \\\\emph{work} associated with running a task\\nin serial is negligible compared to its \\\\emph{runtime}. In this regime, we show\\n(1) The optimal competitive ratio for instantly-committing schedulers is $2$,\\n(2) The optimal competitive ratio for eventually-committing schedulers lies in\\n$[1.618, 1.678]$, (3) The optimal competitive ratio for never-committing\\nschedulers lies in $[1.366, 1.500]$.\",\"PeriodicalId\":501525,\"journal\":{\"name\":\"arXiv - CS - Data Structures and Algorithms\",\"volume\":\"8 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-08-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Data Structures and Algorithms\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2408.16092\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Data Structures and Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.16092","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在 Kuszmaul 和 Westover [SPAA'24]提出的串行并行决策问题(SPDP)中,算法在线接收一系列任务,必须在串行实现和可并行(但效率较低)实现之间为每个任务做出选择。Kuszmaul 和 Westover 描述了三种决策模型:(1) (defn{Instantly-committing})调度器必须在到达时不可撤销地决定运行任务的哪种实现。(2) (defn{Eventually-committing})调度人员可以将他们的决定推迟到任务到达时间之后,但是一旦做出决定就不能撤销。(3)/defn{Never-committing} 调度器可以随时放弃任务进程,并使用不同的执行方式重新开始。Kuszmaul 和 Westover 给出了一个简单的即时承诺调度器,它的总完成时间与离线最优调度器相差 3 美元。他们猜想,三种决策模型应允许不同的竞争比率,但将任何模型中低于 3 美元的上限留作未决问题。在本文中,我们证明了即时调度器、最终调度器和永不妥协调度器的能力是不同的,至少在 "大规模并行机制 "中是如此。SPDP 的大规模并行机制是一种特殊情况,即可用处理器的数量近似大于要处理的任务数量,这意味着与串行运行任务相关的工作量与其运行时间相比可以忽略不计。在这种情况下,我们证明:(1)即时提交调度器的最优竞争比为 2 美元;(2)最终提交调度器的最优竞争比位于$[1.618, 1.678]美元;(3)永不提交调度器的最优竞争比位于$[1.366, 1.500]美元。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
When to Give Up on a Parallel Implementation
In the Serial Parallel Decision Problem (SPDP), introduced by Kuszmaul and Westover [SPAA'24], an algorithm receives a series of tasks online, and must choose for each between a serial implementation and a parallelizable (but less efficient) implementation. Kuszmaul and Westover describe three decision models: (1) \defn{Instantly-committing} schedulers must decide on arrival, irrevocably, which implementation of the task to run. (2) \defn{Eventually-committing} schedulers can delay their decision beyond a task's arrival time, but cannot revoke their decision once made. (3) \defn{Never-committing} schedulers are always free to abandon their progress on the task and start over using a different implementation. Kuszmaul and Westover gave a simple instantly-committing scheduler whose total completion time is $3$-competitive with the offline optimal schedule. They conjectured that the three decision models should admit different competitive ratios, but left upper bounds below $3$ in any model as an open problem. In this paper, we show that the powers of instantly, eventually, and never committing schedulers are distinct, at least in the ``massively parallel regime''. The massively parallel regime of the SPDP is the special case where the number of available processors is asymptotically larger than the number of tasks to process, meaning that the \emph{work} associated with running a task in serial is negligible compared to its \emph{runtime}. In this regime, we show (1) The optimal competitive ratio for instantly-committing schedulers is $2$, (2) The optimal competitive ratio for eventually-committing schedulers lies in $[1.618, 1.678]$, (3) The optimal competitive ratio for never-committing schedulers lies in $[1.366, 1.500]$.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信