基于监督机器学习的NUMA架构内存带宽预测

S. Salehian, Lunjin Lu
{"title":"基于监督机器学习的NUMA架构内存带宽预测","authors":"S. Salehian, Lunjin Lu","doi":"10.1109/CSCI49370.2019.00282","DOIUrl":null,"url":null,"abstract":"In this paper, we predict memory bandwidth in NUMA architecture by implementing a method based on a supervised machine learning algorithm, the k-Nearest Neighbor (KNN) regression method. The main motivation for using KNN in our model is its flexibility to deal with different data types, its capability to incorporate small data size, its compatibility with irregular feature vectors and its simplicity. Memory bandwidth usage is expressed in terms of total transferred data per execution time, and it changes with respect to problem size and the number of processors. We consider problem size and the number of threads as KNN features. We measure memory bandwidth components, transferred data and execution time for different ranges of problem size and number of threads. Then, considering these values as training data, we predict memory bandwidth for unknown problem sizes and number of threads. The objective of this paper is not to reach accurate predictions for the memory bandwidth components, but rather to use these components to achieve an acceptable level of memory bandwidth prediction. We implement this approach in NUMA architecture and verify its accuracy by applying it to different ranges of regular and irregular high performance computing applications. Using this approach, we can predict memory bandwidth in both dimensions. The highest potential prediction error is observed when training data do not have enough knowledge of specific PSs and number of threads.","PeriodicalId":103662,"journal":{"name":"2019 International Conference on Computational Science and Computational Intelligence (CSCI)","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Memory Bandwidth Prediction in NUMA Architecture Using Supervised Machine Learning\",\"authors\":\"S. Salehian, Lunjin Lu\",\"doi\":\"10.1109/CSCI49370.2019.00282\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, we predict memory bandwidth in NUMA architecture by implementing a method based on a supervised machine learning algorithm, the k-Nearest Neighbor (KNN) regression method. The main motivation for using KNN in our model is its flexibility to deal with different data types, its capability to incorporate small data size, its compatibility with irregular feature vectors and its simplicity. Memory bandwidth usage is expressed in terms of total transferred data per execution time, and it changes with respect to problem size and the number of processors. We consider problem size and the number of threads as KNN features. We measure memory bandwidth components, transferred data and execution time for different ranges of problem size and number of threads. Then, considering these values as training data, we predict memory bandwidth for unknown problem sizes and number of threads. The objective of this paper is not to reach accurate predictions for the memory bandwidth components, but rather to use these components to achieve an acceptable level of memory bandwidth prediction. We implement this approach in NUMA architecture and verify its accuracy by applying it to different ranges of regular and irregular high performance computing applications. Using this approach, we can predict memory bandwidth in both dimensions. The highest potential prediction error is observed when training data do not have enough knowledge of specific PSs and number of threads.\",\"PeriodicalId\":103662,\"journal\":{\"name\":\"2019 International Conference on Computational Science and Computational Intelligence (CSCI)\",\"volume\":\"33 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 International Conference on Computational Science and Computational Intelligence (CSCI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CSCI49370.2019.00282\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 International Conference on Computational Science and Computational Intelligence (CSCI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSCI49370.2019.00282","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

在本文中,我们通过实现一种基于监督机器学习算法的方法,即k-最近邻(KNN)回归方法,来预测NUMA架构中的内存带宽。在我们的模型中使用KNN的主要动机是它处理不同数据类型的灵活性,它合并小数据的能力,它与不规则特征向量的兼容性以及它的简单性。内存带宽使用情况以每次执行时间传输的总数据量表示,它会随着问题大小和处理器数量的变化而变化。我们将问题大小和线程数视为KNN特征。我们针对不同范围的问题大小和线程数测量内存带宽组件、传输数据和执行时间。然后,考虑这些值作为训练数据,我们预测未知问题大小和线程数的内存带宽。本文的目标不是达到对内存带宽组件的准确预测,而是使用这些组件来实现可接受的内存带宽预测水平。我们在NUMA架构中实现了这种方法,并将其应用于不同范围的规则和不规则高性能计算应用,验证了其准确性。使用这种方法,我们可以在两个维度上预测内存带宽。当训练数据对特定的ps和线程数量没有足够的了解时,观察到最大的潜在预测误差。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Memory Bandwidth Prediction in NUMA Architecture Using Supervised Machine Learning
In this paper, we predict memory bandwidth in NUMA architecture by implementing a method based on a supervised machine learning algorithm, the k-Nearest Neighbor (KNN) regression method. The main motivation for using KNN in our model is its flexibility to deal with different data types, its capability to incorporate small data size, its compatibility with irregular feature vectors and its simplicity. Memory bandwidth usage is expressed in terms of total transferred data per execution time, and it changes with respect to problem size and the number of processors. We consider problem size and the number of threads as KNN features. We measure memory bandwidth components, transferred data and execution time for different ranges of problem size and number of threads. Then, considering these values as training data, we predict memory bandwidth for unknown problem sizes and number of threads. The objective of this paper is not to reach accurate predictions for the memory bandwidth components, but rather to use these components to achieve an acceptable level of memory bandwidth prediction. We implement this approach in NUMA architecture and verify its accuracy by applying it to different ranges of regular and irregular high performance computing applications. Using this approach, we can predict memory bandwidth in both dimensions. The highest potential prediction error is observed when training data do not have enough knowledge of specific PSs and number of threads.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信