克服多处理机系统高速缓存中假共享方法研究  

Study on Method of Overcoming False Sharing Cache in Multiprocessor System

在线阅读下载全文

作  者:唐俊奇[1] 郑志明[2] 

机构地区:[1]湄洲湾职业技术学院信息工程系,福建莆田351254 [2]湄洲湾职业技术学院工艺美术学院,福建莆田351254

出  处:《吉林大学学报(信息科学版)》2017年第6期678-683,共6页Journal of Jilin University(Information Science Edition)

基  金:2016年福建省教育厅中青年教师教育科研基金资助项目(JAT160881)

摘  要:为解决多处理机系统在访问共享数据时产生的假共享问题,在分析多处理机系统高速缓存中假共享的产生机理的基础上,提出了克服多处理机系统高速缓存中假共享方法。在UNIX系统的UNIX进程中采用临界段技术,将所有计算分割成若干部分,并将每个部分都安排在一个进程中,每个进程都将自己的结果加到累加结果中,产生最后结果。存放最后结果的存储器单元由若干个进程共享,并由锁机制保护访问。通过仿真实验表明,该方法能消除多处理机系统的乒乓效应,提高整个系统的计算速度。In order to solve the false sharing phenomenon of multiprocessor system in access to shared data, the generation mechanism is put forward to overcome the cache in a muhiprocessor system false sharing method: the critical use of technology in the UNIX system of the UNIX process, all the calculation is divided into several parts, each part are arranged in one process, each process will put their results to the cumulative results, the final results. The memory unit that stores the final result should be shared by several processes and protected by the lock mechanism. Simulation results show that the proposed method can eliminate the ping-pong effect of multiprocessor system and improve the calculating speed of the whole system.

关 键 词:多处理机系统 高速缓存 假共享 

分 类 号:TP393.01[自动化与计算机技术—计算机应用技术] TP393.02[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象