首页 | 本学科首页   官方微博 | 高级检索  
     


Cache-Based Synchronization in Shared Memory Multiprocessors
Affiliation:1. College of Computing, Georgia Institute of Technology, Atlanta, Georgia, 30332;2. Department of Information and Communication, Seoul Campus, KAIST, Seoul, Korea, 130-650;1. Ludwig-Maximilians-Universität (LMU) Munich, Computer Science Department, MNM Team, Oettingenstr. 67, 80538 Munich, Germany;2. UiT The Arctic University of Norway, Department of Computer Science, NO-9037 Tromsø, Norway;1. University of Oslo, Norway;2. Western Norway University of Applied Sciences, Norway;1. Research Scholar, Birla Institute of Technology and Science, Pilani, Rajasthan, 333031, India;2. Professor, Birla Institute of Technology and Science, Pilani, Rajasthan, 333031, India
Abstract:In shared memory multiprocessors, efficient synchronization is imperative to assure good performance. There are two aspects to the “cost” of a synchronization operation: the first is the waiting time at synchronization points, and the second is the intrinsic overhead in performing the operation. The overhead has two components. The first component deals with contention resolution for synchronization operation among competing processors. The second component deals with the shared data accesses that the processor has to perform once it enters a synchronization region. We present a mechanism to reduce the overhead of performing synchronization operations in a cache-based shared memory multiprocessor. The mechanism is based on the intuitive notion that parallel programs invariably use synchronization operations to govern the access to shared data. Traditional multiprocessor cache protocols treat synchronization accesses the same way as normal read/write memory accesses, leading to inefficiencies in performing synchronization operations which ultimately limit the scalability of such systems. The key idea in our approach is to combine synchronization with the coherence maintenance for the cached data. Each cache line maintains states for synchronization as well as for cache coherence, and the cache protocol ensures the correctness of the synchronization operations and the coherence of the data at these synchronization points. To assess the performance gain due to the proposed mechanism, simulation studies are performed using a workload model that represents a dynamic scheduling paradigm which forms the core of several parallel programs. Results from simulation studies show that the proposed cache-based synchronization performs significantly better than traditional cache coherence approaches.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号