The Affinity Entry Consistency Protocol
نویسندگان
چکیده
In this paper we propose a novel software-only distributed sharedmemory system (SW-DSM), the Affinity Entry Consistency (AEC) protocol. The protocol is based on Entry Consistency but, unlike previous approaches, does not require the explicit association of shared data to synchronization variables, uses the page as its coherence unit, and generates the set of modifications (in the form of diffs) made to shared pages eagerly. The AEC protocol hides the overhead of generating and applying diffs behind synchronization delays, and uses a novel technique, Lock Acquirer Prediction (LAP), to tolerate the overhead of transferring diffs through the network. LAP attempts to predict the next acquirer of a lock at the time of the release, so that the acquirer can be updated even before requesting ownership of the lock. Using execution-driven simulation of real applications, we show that LAP performs very well under AEC; LAP predictions are within the 80-97% range of accuracy. Our results also show that LAP improves performance by 7-28% for our applications. In addition, we find that most of the diff creation overhead in the AEC protocol can usually be overlapped with synchronization latencies. A comparison against simulated TreadMarks shows that AEC outperforms TreadMarks by as much as 47%. We conclude that LAP is a useful technique for improving the performance of update-based SW-DSMs, while AEC is an efficient implementation of the Entry Consistency model.
منابع مشابه
Minimizing Consistency Traffic in a Versioned Object Transactional DSM
In this paper we describe an extension of the LOTEC (Lazy Object Transactional Entry Consistency) protocol designed to minimize the network traffic required to maintain consistency in a software-only DSM (Distributed Shared Memory). Unlike traditional DSM systems which are targetted for shared memory parallel computing, the protocols discussed in this paper are designed to support distributed p...
متن کاملGeneric support for synchronization and consistency in Arias
In the context of Arias, a distributed shared memory service with a persistent global address space, we have designed a generic framework for consistency protocols. We motivate the general design of Arias and the specific approach to consistency, which is to allow applications to choose the consistency protocol adapted to their data synchronization model. A simple entity, the zone, is introduce...
متن کاملA Framework for an Application Based Mobile Cache Consistency Method
In a mobile environment, maintaining cache consistency is challenging. Applying one type of consistency levels either strict or weak is not suitable all the time, as the consistency requirements mainly depend on the mobile application system and differ from one to another. Also forcing the mobile client to use its cache data for the purpose of reading only limits the functionality of the cachin...
متن کاملScope Consistency : A Bridge between Release Consistency andEntry
Systems that maintain coherence at large granularity such as shared virtual memory systems, suuer from false sharing and extra communication. Relaxed memory consistency models have been used to alleviate these problems, but at a cost in programming complexity. Release Consistency (RC) and Lazy Release Consistency (LRC) are accepted to ooer a reasonable tradeoo between performance and programmin...
متن کاملMidway : shared memory parallel programming with entry consistency for distributed memory multiprocessors
Distributed memory multiprocessing offers a cost-effective and scalable solution for a large class of scientific and numeric applications. Unfortunately, the performance of current distributed memory programming environments suffers because the frequency of communication between processors can exceed that required to ensure a correctly functioning program. Midway is a shared memory parallel pro...
متن کامل