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


Solutions and debugging for data consistency in multiprocessors with noncoherent caches
Authors:David Bernstein  Mauricio Breternitz Jr.  Ahmed M. Gheith  Bilha Mendelson
Affiliation:(1) Science and Technology LTD., IBM Israel, Matam, 31905 Haifa, Israel;(2) Motorola MMTG Division, MD-0E112, 6501 Wm Cannon Dr. W, 78735 Austin, Texas;(3) IBM Advanced Workstations Division, 11400 Burnet Road, 78758 Austin, Texas;(4) Science and Technology LTD., IBM Israel, Matam, 31905 Haifa, Israel
Abstract:We analyze two important problems that arise in shared-memory multiprocessor systems. Thestale data problem involves ensuring that data items in local memory of individual processors are current, independent of writes done by other processors.False sharing occurs when two processors have copies of the same shared data block but update different portions of the block. The false sharing problem involves guaranteeing that subsequent writes are properly combined. In modern architectures these problems are usually solved in hardware, by exploiting mechanisms for hardware controlled cache consistency. This leads to more expensive and nonscalable designs. Therefore, we are concentrating on software methods for ensuring cache consistency that would allow for affordable and scalable multiprocessing systems. Unfortunately, providing software control is nontrivial, both for the compiler writer and for the application programmer. For this reason we are developing a debugging environment that will facilitate the development of compiler-based techniques and will help the programmer to tune his or her application using explicit cache management mechanisms. We extend the notion of a race condition for IBM Shared Memory System POWER/4, taking into consideration its noncoherent caches, and propose techniques for detection of false sharing problems. Identification of the stale data problem is discussed as well, and solutions are suggested.
Keywords:Debugging of parallel programs  data consistency  shared-memory multiprocessors  noncoherent caches
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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