{"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}
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]$.