Journal of Jilin University(Information Science Ed ›› 2017, Vol. 35 ›› Issue (6): 678-683.

Previous Articles    

Study on Method of Overcoming False Sharing Cache in Multiprocessor System

TANG Junqi a , ZHENG Zhiming b   

  1. a. Department of Information Engineering; b. Institute of Arts and Crafts, Meizhouwan
    Vocational Technology College, Putian 351254, China
  • Received:2017-07-23 Online:2017-12-29 Published:2018-03-14

Abstract: 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 multiprocessor 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.

Key words: multiprocessor system, false sharing, cache

CLC Number: 

  •