



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Function Distribution in Computer System Architectures
Harold W. Lawson, Jr.
Universidad Politechnica de Barcelona ~
The levelwise structuring and complexity of a computer system is presented informally and as a general model based upon the notion of abstract machines (processors), processes and interpreters. The important domains of the computer architect are considered along with histo- rical perspectives of certain stimulae and decisions that have affected the distribution of functions anong~ the various levels of computer system implementations.
Keywords: Computer Architecture, Computer System Complexity, Computer History.
I. Introduction
In the early days of digital computers, the stratifica- tion of computer systems was, on the surface, quite simple. Two main levels were apparent, namely, hard- ware and programs (e.g. software). Growth in the sophi- stication of the application of computers to new areas, changing physical technologies, the man-machine inter- face, the economics of computer usage, production and investment, inherent and created complexities and finally better understanding of the structuring of hardware and software have all influenced the level- wise structuring of the functions within computer sys- tem architectures as we view it in the mid 1970's. It would be difficult to get an agreement on precisely how many levels exist (or should be described) in a modern computer system. It would even be difficult to have agreement on the question: What is a modern compu- ter sytem? In any event for purposes of this paper we shall begin with the leveling structure as introduced by Lawson and Magnhagen (I). This leveling is at least representative for a supporting implementation of the "Third Generation Computer System" environment as pre- sented by Denning (2).
The above mentioned leveling structure appears in Figure I. The lowest level is purely physical whereas the higher levels are all organizational, realized by hardware algorithms or program algorithms (or combina- tions). While the various levels may vary in content, one thing is clear: each level (I) uses level(l-l) as a "tool" for level (I) composition. In the next sec- tion we formalize, as a general model, the composition of levels and the inter-level relationships. Presently, we shall consider the implications of Figure I in an informal manner.
First let us consider the question of complexities. In the paper b y Lawson and Magnhagen (I), the notions of horizontal (intra-level) complexity and vertical ( nter- evel) complexity were introduced. That is, there is an inherent complexity within each level and created complexities due to the mapping of level upon level. Many examples of created complexities can be sighted. Some will be presented later in the paper.
The levels of Figure I are shown as an inverted pyra- mid to illustrate that "in general", the lower the level, the fewer people involved in designing, and producing the tools of the levels, whereas, as we go
toward higher levels the greater the number of people involved in using lower levels.as tools. That is to say, for example, that more people use integrated circuits than design and produce them, or, hopefully, more people use computers then design and produce computer hardwares and softwares. This relationship is an important factor in developing an informal notion of the cost function of vertical complexities to be specified shortly.
USER COMMUNITY APPLICATION PACKAGES
SOFTWARE SYSTEM TARGET SYSTEM
MICROPROGRAMS MICRO COMPUTER ARCHITECTURE
INTEGRATED CIRCUITS AND CIRCUIT-BOARDS LOGIC
CIRCUITS
Computer System Archltecture.
Figure I.
o
As a rather practical matter, there appears to be a few unwritten principles that one can extract from the short history of designing and producing computers that have been related to many project developments and indivi- duals making decisions.
Principle I: "If you cannot solve the problem, give it to someone else".
Frequently the passing of problem goes upwards in the leveling structure, thus increasing the number of people affected by the decision. Complexities become magnified.
Principle 2: "If you cannot select an alternative, provide all possi- bilities".
That is, give your "users" general purposeness so that they can do anything they wish. While this may be use- ful at certain levels of the distribution, it can be disastrous at other levels and contribute heavily to magnified complexities. A simple measure of the applica- tion of this principle is the quantity of shelf-space for documentation of all possibilities (assuming the level is fully documented).
Of course these two principles are based upon the fact that the designers and/or implementors first realize that they have a problem or are aware of the alternati- ves. A lack in these directions can cause even greater magnified complexities in the eventual~stem.
Principle 3: "If a tool exists that can be adapted to perform a func- tion; use it".
Former address: Mathematics Institute, LinkSplng University, LinkSping, Sweden.
This decision, normally by those responsible for the economics of the system implementation, has frequently been catastrophic. The wrong tools are used to imple- ment a level (1+I), thus forcing many complications upon the implementors and propogating complexities up- wards• A professional plumber does not use carpenters tools to fix leaks in the plumbing, nor does he use general purpose tools to rectify a specific problem• Amateur plumbers due to the usage of the wrong tools or tools of too high a degree of general purposeness can create floods• Several analogies applied to c o m p u - ter system architectures may come to the readers mind in which floods were created•
Principle 4: "If a design mistake is discovered during implementa- tion, try to accomodate the mistake instead of fixing it".
This is, of course, an economic, question of project investment that must be made by responsible project management in relationship to schedule slippage, penal- ties for late del~ver±es~ etc, It ~s r~re that the implementation procedure is reset to a point where the mistake can be corrected~ Frequently~ the end cost has been higher than the cost would have been for mistake correction• Many design mistakes have wound up being presented as "system features",
All four of the above principles have resulted in intra and inter level complexities, Now for the informal cost function, It should be obvious that if complexi- ties are passed upwards~ towards the users, the cost of complexity increases since the cost must be repaid for each usage. Whereas if complexities are passed downward, it is probable, but not always guaranteed, that total costs can be decreased.
To illustrate some concrete examples of the passing of complexity let us consider the following:
Passing complexities downwards;
, simplified job control language
Passing complexities upwards:
The author does not offer any rule-of-thumb for decid- ing upon the correct structuring of the levels of a computer system architecture. A quote from H o m i n g and Randell (3), with which this author is in complete agreement, explains why:
"The appropriate use of structure is still a creative task, and is, in our opinion, a central factor of any system designers responsibility"•
The author does venture to say that some of the key factors are the selection of an understandable amount of semantic content at each level and the appropriate balance of special purposeness vs general purposeness. As for the number of levels; that is system dependent. A process control system does not require as many le- vels as a multi-user access system where the users are performing different types of data processing•
Horning and Randell (3) have pointed out that process- es can be used to model parts of a computer system. In this section, we build on this notion• The main ex- tension is upon the specification of program parts, which we consider as being composed of the execution sequence of programs utilizing one or more "abstract machine s".
Two types of abstract machines form the notion of what we shall call "processors"• One type of processor can service sequential processes, the other type of pro- cessor exists to take care of process interactions. The latter of these may be viewed as the controller of asynchronous concurrent events and for this type of processor we assume the notion of "monitors" as presented by Hansen (~) and further developed by Hoare (5) and Hansen (6). The important part is that the processors perform algorithms leaving out the notica of whether they are hardware, software or combinations thereof• A processor can, for example, be an arithmeti- cal and logical unit as well as a resource allocation monitor•
A processor which we shall refer to as (pr) responds to a program (p) and an instance of the execution of (p) upon (pr) yields a process (ps).
We may state formally:
ps = f(pr,p) (3.1)
A process is a function of a processor ~id a program.
If we think then that each level other than the lowest level in Figure I is a processor, we can construct a computer system model generation formula
pr i = ps i = f(Pri_1,Pi_1)i = 1,2 ..... n (3.2)
where n = number of levels above the physical circuit level of Figure I (i.e. the number of organizational levels)• That is, a processor is defined as a process which is developed as a function of a lower level pro- cessor and its "program" where program does not only mean stored program, it can mean simple sequencing. Note that this formula also serves as a formal defini- tion of the notion of an interpreter or interpreter hierarchy•
Given this notion, we can now state what the role and responsibility of the computer architect is in terms of producing a computer system design.
To find conventient mappir~sbetween each (pr=,p) pair that permit convenient realizations of ~ii le- vels and to distribute functions according to some ~oals amongst the various levels• Furthermore, to seek to minimize both intra and inter level complexi- ties in all parts of the system•
In respect to system complexity, we can consider the following formalization as the measure of complexity(c)• n (^) .k m c = X i X s. i=I j=1 g
where: n = number of levels in the system k = exponential growth of complexity between levels m = number of potential state transitions within a level s = a vector containing a measure of complexity of each potential state transition•
One of the main arguments for moving to the System/ type architecture in the early 1960's was to create a more general purpose architecture, thus cutting down of the proliferation of different system softwares that arose from having several special purpose archi- tectures. One system for all users and, as was attempt- ed, a uniform programming language for all, namely, PL/I. One of the main problems was that by adding gene- ral purposeness, the mappings ps = (pr,p) for most all areas, Fortran, Cobol, PL/I etc. to System/360 became more difficult. This resulted in very complicated schemes of compiler code generation and optimizations of System/360 codes as well as providing the economic need for several levels of support. Did this reduce the software proliferation?
While one may question the soundness of the target system architecture of System/360, it is important to note that this was the first wide scale use of Wilkes microprogramnLing concept. Various System/360 process- ors were designed and programmed to be compatable interpreters of the System/360 architecture. The micro- processors were not general purpose microprocessors, but designed for the special purpose of implementing System/360. In any event, since they were programmable they were used to produce "emulators" of IBM second generation equipment. Many of these ps = (pr,p) mapp- ings, where pr was the microprocessor, were extremely painful and represent prime examples of the plumber using carpenters tools and creating floods.
On the operational (access) side of computers, it be- came evident in the mid 1950's that one user at a time exploiting such an expensive resource was uneconomical. Therefore, the ideas of spooling programs, supervisors, schedulers etc. eventually led to the notion of opera- ting systems. As the reader is well aware, these pro- perties led to profound changes in the way people use computers and led to special requirements upon many levels in the computer system architecture. Denning (2) does an excellent job of extracting the principles of operating systems as we know them in third genera- tion computer systems.
In the mid 1960's several people were speculating that microprogramnLing would become an important media for aiding in programming language and operating system requirements. See, for example, Opler (15), Lawson (16), Wilkes (17) and Rosin (18). However, the neces- sary step to accomplish this was to have a more gene- ral purpose microprocessor. Such microprocessors start- ed to be developed in the late 1960's, see Lawson and Smith (19) and have resulted in several interesting designs including those mentioned earlier, namely Wilner (13) and Lawson and Malm (14).
While redistribution of functions to a more general purpose microprocessor may have certain appeal in re- ducing complexity, it is a realistic fact of life that the huge investment in computer products (hardwares and softwares) of typical third generation products has slowed down the marketing of products based on different concepts for target system architectures and instruction sets. At least one system architecture by the Amdahl Corporation has used redistribution of functions to better use Large Scale Integration parts in perpetuating System/3~0 and--370 t~pe architectures.
One prime example of the redistribution of functions from software to hardware has been the wide spread use of the concept of virtual memory. This concept has helped solve many complex problems with program overlays and file management by utilizing levels lower than the system software level. It is interesting to note that the idea and implementation existed for many years before it was widely implemented. See Kilburn, Edwards, Lanigan and Sumner (20).
On the hardware side, many manufacturers during the 1 9 6 0 ' s after strong resistance from "hardware artists" have accepted the use of ~omputer Aided Eesign tech- niques for accomplishing printed circuit board layout. This type of resistance is very similar to the argu- ment of "programming artists" utilizing assembly languages vs the utilization of higher level langua- ges. That is, I can always do a better job without automation tools. But we may ask; at what global cost? In any event, just as with higher level languages, CAD can be extremely effective and certainly permits us to more quickly and clearly realize more sophisticated architectures at the lower organizational end of the function distribution.
In the 1970's we have experienced an awareness (certain- ly not too soon) of the complexities of using computer systems. Much is now written on structured programming and progrannnlng style, see for example Dahl, Dijkstra and Hoare (21), Weinburg (22) and Denning (23). These writings have influenced application and system soft- ware construction and should in the future hopefully start to influence lower levels of the organizational end of the function distribution.
Hansens Concurrent Pascal (6) as mentioned earlier con- tains some interesting features for structuring and controlling "compoment" interrelationships. This work builds on that of Wirths Pascal (24). It is clear in these two cases that there is an attempt to redistribute functions in the distribution of Figure 1. By having the programming language translator "guarantee" that invalid interrelationships cannot exist, we can avoid constructing lower level hardware and/or mierocode solutions to checking for invalid operations.
It is interesting to note that the concepts of structu- red p r o g r a m ~ n g and improved program~ning style require a restrictive type of programming, thus reducing seman- tics. Could this be a 5ood seneral principle? Special purpose tools, with restricted semantics, can perhaps be used to solve, in a better manner, special problemsl!
While this historical treatment has certainly not been exhaustive, it is hoped that the reader can see in terms of the earlier informal and general model pre- sentations of structuring and complexity, some of the implications of the events that have happended in the brief history of digital computer design, implementa- tion and utilization.
Conclusions
It would be difficult to terminate this paper without saying a few words about possible directions for func- tion distribution in the future. One thing is clear, the range of the distribution that a computer architect must cover has increased. He must be intimately famili- ar with all levels with the exception of the details of the physics of logic realization by particular tech- nologies. Further, he must be prepared to specify and appropriate number of levels to solve the problem at hand and assure that the ps = (pr,p) mappings are realizable, economic and convenient to utilize.
Current trends towards LSI logic parts at low costs due to high production volume will undoubtedly have a great impact upon the organizational levels, see Fuller and Siewiorek (25). Just make sure that the parts selected represent the correct tools to do the job, otherwise, look out for floods. The mass production of large scale integration parts may be insensitive to the complexity of the logic, but users of the components are not insensitive.
(i) H.W. Lawson, Jr. and B. Magnhagen. Advantages of
(5) C.A.R.^ Hoare.^ Monitors:^ An^ Operating^ System^ Struc-
(6) P.B. Hansen. The Prosramming Language Concurrent
(11) M.V. Wilkes. The Best Way to Design an Automatic
(14)
(15)
(17)
(18)
(24)
(25)