Distributed Lock with Inter-core Passing for SW26010 Processor

In parallel programs,a mutual exclusive lock is often used to avoid conflict when accessing shared resources.The SW26010 processor,which is deployed on the Sunway TaihuLight supercomputer,is a heterogeneous many-core processor and there is no hardware lock mechanism for the co-processing cores.Devel...

Full description

Bibliographic Details
Main Author: LI Ming-liang, PANG Jian-min, YUE Feng
Format: Article
Language:zho
Published: Editorial office of Computer Science 2022-10-01
Series:Jisuanji kexue
Subjects:
Online Access:https://www.jsjkx.com/fileup/1002-137X/PDF/1002-137X-2022-49-10-52.pdf
_version_ 1827965496350212096
author LI Ming-liang, PANG Jian-min, YUE Feng
author_facet LI Ming-liang, PANG Jian-min, YUE Feng
author_sort LI Ming-liang, PANG Jian-min, YUE Feng
collection DOAJ
description In parallel programs,a mutual exclusive lock is often used to avoid conflict when accessing shared resources.The SW26010 processor,which is deployed on the Sunway TaihuLight supercomputer,is a heterogeneous many-core processor and there is no hardware lock mechanism for the co-processing cores.Developers have developed a software lock mechanism based on atomic instructions,but the software lock will lead to significant overhead and affect the performance of parallel programs.To solve this issue,the HDT-LOCK designed as distributed lock mechanism with inter-core passing is proposed.Firstly,the hybrid distributed lock is proposed and implemented based on scratchpad memory on co-processing cores to mitigate memory congestion.Furthermore,the inter-core passing mechanism using register communication and the single-instruction multiple-data instruction is developed to improve the throughput of HDT-LOCK.Experimental results show that the proposed HDT-LOCK mechanism mitigates memory congestion,and has better scalability.In addition,the lock passing mechanism improves HDT-LOCK throughput up to 5.6X.
first_indexed 2024-04-09T17:33:53Z
format Article
id doaj.art-a24332c77eff42f6a5516a0e0bf64ff5
institution Directory Open Access Journal
issn 1002-137X
language zho
last_indexed 2024-04-09T17:33:53Z
publishDate 2022-10-01
publisher Editorial office of Computer Science
record_format Article
series Jisuanji kexue
spelling doaj.art-a24332c77eff42f6a5516a0e0bf64ff52023-04-18T02:32:39ZzhoEditorial office of Computer ScienceJisuanji kexue1002-137X2022-10-014910525810.11896/jsjkx.210800091Distributed Lock with Inter-core Passing for SW26010 ProcessorLI Ming-liang, PANG Jian-min, YUE Feng0State Key Laboratory of Mathematical Engineering and Advanced Computing,PLA Information Engineering University,Zhengzhou 450000,ChinaIn parallel programs,a mutual exclusive lock is often used to avoid conflict when accessing shared resources.The SW26010 processor,which is deployed on the Sunway TaihuLight supercomputer,is a heterogeneous many-core processor and there is no hardware lock mechanism for the co-processing cores.Developers have developed a software lock mechanism based on atomic instructions,but the software lock will lead to significant overhead and affect the performance of parallel programs.To solve this issue,the HDT-LOCK designed as distributed lock mechanism with inter-core passing is proposed.Firstly,the hybrid distributed lock is proposed and implemented based on scratchpad memory on co-processing cores to mitigate memory congestion.Furthermore,the inter-core passing mechanism using register communication and the single-instruction multiple-data instruction is developed to improve the throughput of HDT-LOCK.Experimental results show that the proposed HDT-LOCK mechanism mitigates memory congestion,and has better scalability.In addition,the lock passing mechanism improves HDT-LOCK throughput up to 5.6X.https://www.jsjkx.com/fileup/1002-137X/PDF/1002-137X-2022-49-10-52.pdfsw26010 processor|hybrid distributed lock|inter-core passing|single-instruction multiple-data instruction|register communication
spellingShingle LI Ming-liang, PANG Jian-min, YUE Feng
Distributed Lock with Inter-core Passing for SW26010 Processor
Jisuanji kexue
sw26010 processor|hybrid distributed lock|inter-core passing|single-instruction multiple-data instruction|register communication
title Distributed Lock with Inter-core Passing for SW26010 Processor
title_full Distributed Lock with Inter-core Passing for SW26010 Processor
title_fullStr Distributed Lock with Inter-core Passing for SW26010 Processor
title_full_unstemmed Distributed Lock with Inter-core Passing for SW26010 Processor
title_short Distributed Lock with Inter-core Passing for SW26010 Processor
title_sort distributed lock with inter core passing for sw26010 processor
topic sw26010 processor|hybrid distributed lock|inter-core passing|single-instruction multiple-data instruction|register communication
url https://www.jsjkx.com/fileup/1002-137X/PDF/1002-137X-2022-49-10-52.pdf
work_keys_str_mv AT limingliangpangjianminyuefeng distributedlockwithintercorepassingforsw26010processor