ebook img

icia Inte IN41T Arti igence La oratory PDF

204 Pages·2007·16.11 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview icia Inte IN41T Arti igence La oratory

I Technical Report 844 ..a do I 0 0 I -4.100- - - I k k - - - 14440owppl /OMON I A A -. 1 - A I I IN41T Arti" icia Inte igence La oratory I i . 11 UNCLASSIFIED SECURITY CLASSIFICATION OF THIS PAGE (%on Date Entor*d) REPORT DOCUMENTATION PAGE. READ INSTRUCTIONS BEFORE COMPLETING FORM 1. REPORT NUMBER 2. GOVT ACCESSION NO. 3 RECIPIIEN(cid:1)FS CATALOG NUMBER 844 4. TITLE (and Subtitle) S. TYPE OF REPORT PERIOD COVERED ACTORS: A MODEL OF CONCURRENT COMPUTATION Technical Report IN-DISTRIBUTED SYSTEMS 6. PERFORMING ORG. REPORT NUMBER 7. AUTHOR(s) S. CONTRACT OR GRANT NUMBER((cid:1)) Gul Abdulnabi Agha N00014-80-C-0505 9. PERFORMING ORGANIZATION NAME AND ADRESS lo. PROGRAM ELEMENT, PROJECT, TASK Artific i a I I nte I I i gence Laboratory AREA WORK UNIT NUMBERS 545 Technology Square Cambridge, Massachusetts 02139 I I. CONTROLLING OFFICE NAME AND ADDRESS 12. REPORT DATE Advanced Research Pro'ects Agency June 1985 14oO Wilson Blvd 13. NUMBER OF PAGES Arl-ington, Virginia 22209 198 14. MONITORING AGENCY NAME ADORESS(11 diflor*nf from Controlling Office) IS. SECURITY CLASS. (of this report) Office of Naval Research UNCLASSIFIED Information Systems Arl ington, Virginia 22217 134. ECLASSIFICATION/DOWNGRADING SCHEDULE 16. DISTRIBUTION STATEMENT (of this Report) Distribution of this document 'is unlimited. 17. DISTRIBUTION STATEMENT (of the abstract entwed in Block 20, it fferent from Xeport) is. SUPPLEMENTARY NOTES None 19. KEY WORDS (Continue on reverse aide if necessary and Identify by block numbor) Distributed Systems Object-oriented Programming Concurrency Deadlock Programming Languages Semantics of Programs Processor Architecture Functional Programming 20 ASTRACT (Continue on rverse oide It noceseary and dentify by tock number) A foundational model of concurrency is developed in this thesis. We examine issues 'in the design of parallel systems and show hy the actor model 'is suitable for exploiting large-scale parallelism. Concurrency in actors i's constrained only by the availability of hardware resources and by the logical-dependence inherent n the computation. Unlike dataflow and functional programming, however, actors are dynamically reconfigu.rable and can model.shared resources wth changing local state. Concurrency is DD IJF ORM 1473 AN 73 EDITION OF i NOV 5 IS OBSOLETE UNCLASSIFIED S/N 2.02-014-6601 1 SECURITY CLASSIFICATION OF THIS PAGE (*hen Data Entor0d) ---- ". - 9.0* Nfi. , I Ii , -19(cid:1) ", ,. I (cid:1) I .-11 -I 20. spawned in actors using asynchronous message-passing, pipelin' nd the dynamic creation of actors. We define an abstract actor machine and provide a minimal programming language for 'It. A more expressive language, which includes higher level constructs such as delayed and eager evaluation, can be defined in terms of the primitives. Examples are given to illustrate the ease with which concurrent data and control structures can be programmed. To send a communication, an actor must specify the target. Communications are buffered by the mail system and are eventually delivered. Two different transition relations are needed to model the evolution of actor systems. The possibility transition models events from some view-point. It captures the nondeterminism 'in the order of delivery of communications. The Subsequent transition captures fairness arising from the guarantee of delivery We provide a denotational semantics for our minimal actor language in terms of the transition relations. Abstraction in actors is achieved by a model in which the only observable communications are those between actors within a system and actors outside it. Our model makes no closed-world assumption since communications may be received from the outside at any point in time. The model provides for the composition of independent modules using message-passing between actors that interface the systems composed with their external environment. This thesis deals wth some central issues in dstributed computing. Specifically, problems of.divergence and deadlock are addressed. For example, actors permit dynamic deadlock detection and removal. The problem of divergence is contained because independent transactions can execute concurrently and potentially infinite processes are nevertheless available for interaction. III \4ode Of .Actors : Concurrent Cornputation IIn Distributed S sten-is Gul A. Agha III Thi's dissertation was submitted to the University of Michigan in partial, fulfillment of the requirements of the degree of Doctor of Philosophy n Computer and Communication Science. The report describes reseaxch done at the Artificial Intelligence Labora- tory of the Massachusetts Institute of Technology. Support for the labora- tory's aritificial intelligence research is provided in part by the the System Development Foundation and in part by the Advanced Research Projects Agency of the Department of Defence under Office of Naval Research con- tract N0014-80-C-0505. Gul Agha 1985 A 6alticut life To ga In Renwry Of &a Rug 19S3 v-i,l la 1S4 I I I III ------- --- PREFA E It is generally believed that the next generation of computers will involve massively -parallel architectures. This thesis studies one of the proposed paradigms for exploiting parallelism, namely the actor odel of concurrent computation. It i's our contention that te actor model provides a general framework in which computation in distributed parallel systems can be exploited. The scope of this thesis is limited to theoretical aspects of the model as opposed to any implementation or application issues. Many observers have noted the computational power that is likely to become available with the advent of a new generation of computers. This work makes a small contribution 'in te direction of realizing technology which seems 'ust on the horizon. The possibilities that emerge from the availability of a massive crease in computational power are simply mind boggling. Unfortunately, humankind has generally lacked the foresight to use the resources that science has provided in a manner that would be com- patible wth its long-term survival. Somehow we have to develop an ethic that values compassion rather than consumption, to acquire a reverence for life itself. Otherwise this work, among others, will be another small step the global march towards self-destruction. The research reported in this thesis was carried out for the most part at M.I.T., where I ave been working wth the Message-PassingS emantics Group. The group is currently implementing the Apiary architecture for Open Systems, which is based on the actor model. Mch of the develop- ment of the actor paradigm has been 'inspired by the work of Carl Hewitt whose encouragement and constructive criticism has been indispensable to the development of the ideas 'in this thesis. Carl Hewitt also read and commented on drafts of this thesis. This thesis has been influenced by other work in the area of concur- rency, most notably tat of Robin Mlner. Although we have shied away from using a A-calculus like notation for an actor calculus, the transition system we develop has a similar flavor. Our preference has been for using a a H programming language notation for purposes of overall clarity in expressing simple programs. John Holland has provided both 'Intellectual ipetus and oral sup- port over the years; in particular, numerous useful discussions with John have led to a better perspective on 'Ideas in the field. I wi-1 also indebted to William Rounds for numerous suggestions, among then-i to develop a simple actor language and to illustrate its flavor by treating a number of commonly understood examples. My first thorough exposure to object-oriented archi- tectures was in a course offered by Paul Scott. Conversations with Robin Milner, Vaughn Pratt, and Joe Stoy have provided critical feedback. Will Clinger's thesis 'Interested me in the axea of actor semantics. Members of the Message-Passing Semantics Group at M.I.T. have created an atmo- sphere which made the work described here possible. In particular, Henry Lieberman, Carl Manning, Chunka Mui and Thomas Reinhardt provided helpful comments. The work described in here was made possible by generous funding from the System Development Foundation and by the support of the Artificial Intelligence Laboratory at M.I.T. Finally, the time during which the ideas in this thesis were developed was a rather intense time in the lives of my family. Nothing would have been possible without the patient cooperation of my wonderful wife Jennifer Cole. It ust be added that it was only due to the high spirits aintained by our son Sachal through most of his short, dfficult life that any work at all could have been done by me. Gul Agha Cambridge, Massachusetts March 1985. 0 IV

Description:
at M.I.T., where I ave been working wth the Message-Passing Semantics. Group. The group system we develop has a similar flavor. Our preference
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.