XFS日志中基于轮询的每核工作队列管理

Kwangwon Min, Dohyun Kim, S. Lim, Y. Won
{"title":"XFS日志中基于轮询的每核工作队列管理","authors":"Kwangwon Min, Dohyun Kim, S. Lim, Y. Won","doi":"10.1109/NVMSA56066.2022.00016","DOIUrl":null,"url":null,"abstract":"In this paper, we analyze the scalability of XFS journaling and improve the many-core scalability of XFS journaling. We found that the lock contention in the async and await mechanisms, such as workqueue and waitqueue, is one of the main causes for the scalability failure in XFS journaling. We propose per-core pool workqueue and polling based on-disk logging to solve these problems. By using per-core pool workqueue, we resolve the lock contention on thread pool used in the workqueue module. By using polling based on-disk logging, XFS waits for the journal thread to finish in polling based mechanism. We resolve the lock contention on global waitqueue and reduce the latency of on-disk logging through polling. We implement these methods based on XFS. In varmail and exim workloads, the proposed techniques improve the benchmark performance by 57% and 28% against XFS, and 9% and 28% against ScaleXFS, respectively.","PeriodicalId":185204,"journal":{"name":"2022 IEEE 11th Non-Volatile Memory Systems and Applications Symposium (NVMSA)","volume":"65 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Polling Based Per-core Workqueue Management in XFS Journaling\",\"authors\":\"Kwangwon Min, Dohyun Kim, S. Lim, Y. Won\",\"doi\":\"10.1109/NVMSA56066.2022.00016\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, we analyze the scalability of XFS journaling and improve the many-core scalability of XFS journaling. We found that the lock contention in the async and await mechanisms, such as workqueue and waitqueue, is one of the main causes for the scalability failure in XFS journaling. We propose per-core pool workqueue and polling based on-disk logging to solve these problems. By using per-core pool workqueue, we resolve the lock contention on thread pool used in the workqueue module. By using polling based on-disk logging, XFS waits for the journal thread to finish in polling based mechanism. We resolve the lock contention on global waitqueue and reduce the latency of on-disk logging through polling. We implement these methods based on XFS. In varmail and exim workloads, the proposed techniques improve the benchmark performance by 57% and 28% against XFS, and 9% and 28% against ScaleXFS, respectively.\",\"PeriodicalId\":185204,\"journal\":{\"name\":\"2022 IEEE 11th Non-Volatile Memory Systems and Applications Symposium (NVMSA)\",\"volume\":\"65 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE 11th Non-Volatile Memory Systems and Applications Symposium (NVMSA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/NVMSA56066.2022.00016\",\"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 11th Non-Volatile Memory Systems and Applications Symposium (NVMSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NVMSA56066.2022.00016","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本文分析了XFS日志的可扩展性,改进了XFS日志的多核可扩展性。我们发现,异步和等待机制(如workqueue和waitqueue)中的锁争用是XFS日志记录中可伸缩性失败的主要原因之一。我们提出了单核池工作队列和基于磁盘日志的轮询来解决这些问题。通过使用每核池工作队列,我们解决了在工作队列模块中使用的线程池上的锁争用。通过使用基于磁盘的轮询日志记录,XFS在基于轮询的机制中等待日志线程完成。我们解决了全局等待队列上的锁争用问题,并通过轮询减少了磁盘上日志记录的延迟。我们基于XFS实现这些方法。在varmail和exim工作负载中,所提出的技术相对于XFS分别提高了57%和28%的基准性能,相对于ScaleXFS分别提高了9%和28%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Polling Based Per-core Workqueue Management in XFS Journaling
In this paper, we analyze the scalability of XFS journaling and improve the many-core scalability of XFS journaling. We found that the lock contention in the async and await mechanisms, such as workqueue and waitqueue, is one of the main causes for the scalability failure in XFS journaling. We propose per-core pool workqueue and polling based on-disk logging to solve these problems. By using per-core pool workqueue, we resolve the lock contention on thread pool used in the workqueue module. By using polling based on-disk logging, XFS waits for the journal thread to finish in polling based mechanism. We resolve the lock contention on global waitqueue and reduce the latency of on-disk logging through polling. We implement these methods based on XFS. In varmail and exim workloads, the proposed techniques improve the benchmark performance by 57% and 28% against XFS, and 9% and 28% against ScaleXFS, respectively.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信