利用基于微任务的调度有效提高无服务器应用程序的性能

Sacheendra Talluri, Sven Lankester, B. Ene, Jesse Donkervliet, A. Trivedi, A. Iosup
{"title":"利用基于微任务的调度有效提高无服务器应用程序的性能","authors":"Sacheendra Talluri, Sven Lankester, B. Ene, Jesse Donkervliet, A. Trivedi, A. Iosup","doi":"10.1109/UCC56403.2022.00066","DOIUrl":null,"url":null,"abstract":"Serverless computing promises to make cloud computing cheaper and easier to use. However, serverless platforms use coarse-grained scheduling which decreases efficiency and application performance. We propose a fine-grained application model for serverless applications, and use it to design a scheduler to improve application performance and efficiency. We model serverless applications as being composed of microtasks, each with its own unique resource requirements. Microtasks are easily identified via distinct application phases like initialize, read, and process. We provide evidence for the existence of microtasks by experimentally evaluating a serverless online game. We design a scheduler that separates microtasks with different CPU requirements into different queues so that the appropriate amount of CPU cores could be allocated to each queue based on the CPU requirements of the microtasks in that queue. We implement and evaluate the design in an application-level proofof-concept microtask-based scheduler and compare it to taskbased scheduling commonly used by serverless platforms. For a distributed sort application, the microtask-based scheduler decreases application makespan by 37% and the duration of I/O based application stages by 81%, compared to task-based scheduling. Our work suggests that there is potential in extracting and using microtask information from serverless applications.","PeriodicalId":203244,"journal":{"name":"2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC)","volume":"61 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficiently Improving the Performance of Serverless Applications with Microtask-based Scheduling\",\"authors\":\"Sacheendra Talluri, Sven Lankester, B. Ene, Jesse Donkervliet, A. Trivedi, A. Iosup\",\"doi\":\"10.1109/UCC56403.2022.00066\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Serverless computing promises to make cloud computing cheaper and easier to use. However, serverless platforms use coarse-grained scheduling which decreases efficiency and application performance. We propose a fine-grained application model for serverless applications, and use it to design a scheduler to improve application performance and efficiency. We model serverless applications as being composed of microtasks, each with its own unique resource requirements. Microtasks are easily identified via distinct application phases like initialize, read, and process. We provide evidence for the existence of microtasks by experimentally evaluating a serverless online game. We design a scheduler that separates microtasks with different CPU requirements into different queues so that the appropriate amount of CPU cores could be allocated to each queue based on the CPU requirements of the microtasks in that queue. We implement and evaluate the design in an application-level proofof-concept microtask-based scheduler and compare it to taskbased scheduling commonly used by serverless platforms. For a distributed sort application, the microtask-based scheduler decreases application makespan by 37% and the duration of I/O based application stages by 81%, compared to task-based scheduling. Our work suggests that there is potential in extracting and using microtask information from serverless applications.\",\"PeriodicalId\":203244,\"journal\":{\"name\":\"2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC)\",\"volume\":\"61 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/UCC56403.2022.00066\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/UCC56403.2022.00066","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

无服务器计算承诺使云计算更便宜,更容易使用。然而,无服务器平台使用粗粒度调度,这会降低效率和应用程序性能。我们提出了一种细粒度的无服务器应用程序模型,并利用该模型设计了一个调度器,以提高应用程序的性能和效率。我们将无服务器应用程序建模为由微任务组成,每个微任务都有自己独特的资源需求。微任务很容易通过不同的应用程序阶段来识别,比如初始化、读取和处理。我们通过实验评估无服务器在线游戏,为微任务的存在提供证据。我们设计了一个调度器,将具有不同CPU需求的微任务分离到不同的队列中,以便根据该队列中微任务的CPU需求为每个队列分配适当数量的CPU内核。我们在应用级基于微任务的概念验证调度器中实现和评估了该设计,并将其与无服务器平台常用的基于任务的调度进行了比较。对于分布式排序应用程序,与基于任务的调度相比,基于微任务的调度程序将应用程序的完工时间减少了37%,基于I/O的应用程序阶段的持续时间减少了81%。我们的工作表明,从无服务器应用程序中提取和使用微任务信息是有潜力的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Efficiently Improving the Performance of Serverless Applications with Microtask-based Scheduling
Serverless computing promises to make cloud computing cheaper and easier to use. However, serverless platforms use coarse-grained scheduling which decreases efficiency and application performance. We propose a fine-grained application model for serverless applications, and use it to design a scheduler to improve application performance and efficiency. We model serverless applications as being composed of microtasks, each with its own unique resource requirements. Microtasks are easily identified via distinct application phases like initialize, read, and process. We provide evidence for the existence of microtasks by experimentally evaluating a serverless online game. We design a scheduler that separates microtasks with different CPU requirements into different queues so that the appropriate amount of CPU cores could be allocated to each queue based on the CPU requirements of the microtasks in that queue. We implement and evaluate the design in an application-level proofof-concept microtask-based scheduler and compare it to taskbased scheduling commonly used by serverless platforms. For a distributed sort application, the microtask-based scheduler decreases application makespan by 37% and the duration of I/O based application stages by 81%, compared to task-based scheduling. Our work suggests that there is potential in extracting and using microtask information from serverless applications.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信