Efficient and Correct Programs that Share

نویسنده

  • DENNIS SHASHA
چکیده

In this paper we consider an optimization problem that arises in the execution of parallel programs on shared-memory multiple-instruction-stream, multiple-data-stream (MIMD) computers. A program on such machines consists of many sequential program segments, each executed by a single processor. These segments interact as they access shared variables. Access to memory is asynchronous, and memory accesses are not necessarily executed in the order they were issued. An execution is correct if it is sequentially consistent: It should seem as if all the instructions were executed sequentially, in an order obtained by interleaving the instruction streams of the processors. Sequential consistency can be enforced by delaying each access to shared memory until the previous access of the same processor has terminated. For performance reasons, however, we want to allow several accesses by the same processor to proceed concurrently. Our analysis finds a minimal set of delays that enforces sequential consistency. The analysis extends to interprocessor synchronization constraints and to code where blocks of operations have to execute atomically. We use a conflict graph similar to that used to schedule transactions in distributed databases. Our graph incorporates the order on operations given by the program text, enabling us to do without locks even when database conflict graphs would suggest that locks are necessary. Our work has implications for the design of multiprocessors; it offers new compiler optimization techniques for parallel languages that support shared variables.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Estimating the Efficient Shocks' Share in Iran's Economic Growth Fluctuations (Dynamic Stochastic General Equilibrium Approach)

In economic, the degree of intervention of policymakers in creation of economic stability and the response to economic fluctuations is one of the most important problems. The higher the share of efficient shocks in economic fluctuation, the lower the degree of policy response. This study evaluates the contribution of efficient shocks in creating of economic fluctuations and also estimates poten...

متن کامل

Application of Failure Mode Effect Analysis (FMEA) for Efficient and Cost-effective Manufacturing: A Case Study at Bahir Dar Textile Share Company, Ethiopia

The aim of this paper is to show the application of Failure Mode Effect Analysis (FMEA) for efficient and cost-effective manufacturing. Companies need better economic gains from enhanced production, but downtime affects this paradigm. Bair Dar Textile Share Company (BDTSC) is no exception. The looming section of the case company faces on average 38.69% of downtime from the total production time...

متن کامل

Estimation of Runoff using Modified SCS Models

In recent decades, due to the importance of watershed management programs and the need for adequate information and correct estimation of rainfall and runoff, many conceptual models have been proposed. These models have parameters that must be estimated according to observational data. However, finding the optimal values for the parameters of simulation models has always faced uncertainty. One ...

متن کامل

An Efficient Secret Sharing-based Storage System for Cloud-based Internet of Things

Internet of things (IoTs) is the newfound information architecture based on the internet that develops interactions between objects and services in a secure and reliable environment. As the availability of many smart devices rises, secure and scalable mass storage systems for aggregate data is required in IoTs applications. In this paper, we propose a new method for storing aggregate data in Io...

متن کامل

Research Summary

My research focuses on easing the task of developing reliable and efficient programs via program analysis. The aim is to create powerful tools for manipulating programs and analyzing their properties that will help programmers develop correct, reliable, efficient, and secure software. The tools are based on understanding the meaning of the underlying programming language as well as some desired...

متن کامل

طراحی و بکارگیری فیلترهای تصحیح کننده خطا برای محاسبه ارزش سهام شرکت های برق

The shares of state-owned or public companies are supplied in privatization plan. If the financial market be clear and efficient, it is expected that discovered price of supplied shares be efficient too. However, there is no guarantee for the fulfillment of this condition. Specially, implementation of those policies that, for example, a shock to exchange rate or the price of inputs (such as fue...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999