{"title":"Improving the Message Channel of SAM Using Shared Memory","authors":"Yeoneo Kim, J. Cheon, Inseo Wang, S. Byun, G. Woo","doi":"10.1145/3512676.3512682","DOIUrl":null,"url":null,"abstract":"SAM is a parallel programming model in Haskell, suitable for manycore computing environments. It has been developed in two versions: SAMSoc adopting the socket communication and SAMSTM adopting the software transactional memory (STM). However, both versions of SAM do not always guarantee the best performance due to the overhead of synchronization. Therefore we have to select a specific version of SAMs to promote the performance depending on the number of cores available in the running environment. In this paper, we propose SAMShm, a new version of SAM, which shows good performance under any number of cores. SAMShm reduces the overhead of socket communication and garbage collection using the message channel based on shared memory. According to the performance test on the 72-core machine, the scalability of SAMShm is improved by 52% points over SAMSoc and 295% points over SAMSTM.","PeriodicalId":281300,"journal":{"name":"Proceedings of the 2022 5th International Conference on Computers in Management and Business","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2022 5th International Conference on Computers in Management and Business","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3512676.3512682","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
SAM is a parallel programming model in Haskell, suitable for manycore computing environments. It has been developed in two versions: SAMSoc adopting the socket communication and SAMSTM adopting the software transactional memory (STM). However, both versions of SAM do not always guarantee the best performance due to the overhead of synchronization. Therefore we have to select a specific version of SAMs to promote the performance depending on the number of cores available in the running environment. In this paper, we propose SAMShm, a new version of SAM, which shows good performance under any number of cores. SAMShm reduces the overhead of socket communication and garbage collection using the message channel based on shared memory. According to the performance test on the 72-core machine, the scalability of SAMShm is improved by 52% points over SAMSoc and 295% points over SAMSTM.