Docsity

The Nachos Instructional Operating System, Exercises of Operating Systems

Toggle sidebar
bg1
The Nachos Instructional Operating System
Wayne A. Christopher, Steven J. Procter, and Thomas E. Anderson
Computer Science Division
University of California
Berkeley, CA 94720
Abstract
In teaching operating systems at an undergraduate level, we believe that it is important
to provide a project that is realistic enough to showhow real operating systems work, yet is
simple enough that the students can understand and modify it in signicantways. A number
of these instructional systems have been created over the last two decades, but recent advances
in hardware and software design, along with the increasing power of available computational
resources, havechanged the basis for many of the tradeos made by these systems.
Wehave implemented an instructional operating system, called Nachos, and designed a
series of assignments to go with it. Our system includes CPU and device simulators, and it
runs as a regular UNIX process. Nachos illustrates and takes advantage of modern operating
systems technology, such as threads and remote procedure calls, recent hardware advances, such
as RISC's and the prevalence of memory hierarchies, and modern software design techniques,
such as protocol layering and object-oriented programming. Nachos has been used to teach
undergraduate operating systems classes at several universities with positive results.
This work was supported in part by the National Science Foundation (CDA-8722788) and the Digital Equipment
Corporation (the Systems Research Center and the External Research Program). Anderson was also supported bya
National Science Foundation Young Investigator Award.
A copy of Nachos can be obtained by anonymous ftp from ftp.cs.berkeley.edu, le \/ucb/nachos/nachos-2.1.tar".
Questions about Nachos can be directed via e-mail to Anderson ([email protected] erkeley.edu) or posted to the \alt.os.nachos"
newsgroup.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download The Nachos Instructional Operating System and more Exercises Operating Systems in PDF only on Docsity!

The Nachos Instructional Op erating System

Wayne A. Christopher, Steven J. Pro cter, and Thomas E. Anderson

Computer Science Division

University of California

Berkeley, CA 94720

Abstract In teaching op erating systems at an undergraduate level, we b elieve that it is imp ortant to provide a pro ject that is realistic enough to show how real op erating systems work, yet is simple enough that the students can understand and mo dify it in signi cant ways. A numb er of these instructional systems have b een created over the last two decades, but recent advances in hardware and software design, along with the increasing p ower of available computational resources, have changed the basis for many of the tradeo s made by these systems. We have implemented an instructional op erating system, called Nachos, and designed a series of assignments to go with it. Our system includes CPU and device simulators, and it runs as a regular UNIX pro cess. Nachos illustrates and takes advantage of mo dern op erating systems technology, such as threads and remote pro cedure calls, recent hardware advances, such as RISC's and the prevalence of memory hierarchies, and mo dern software design techniques, such as proto col layering and ob ject-oriented programming. Nachos has b een used to teach undergraduate op erating systems classes at several universities with p ositive results.

This work was supp orted in part by the National Science Foundation (CDA-8722788) and the Digital Equipment Corp oration (the Systems Research Center and the External Research Program). Anderson was also supp orted by a National Science Foundation Young Investigator Award. A copy of Nachos can b e obtained by anonymous ftp from ftp.cs.b erkeley.edu, le /ucb/nachos/nachos-2.1.tar". Questions ab out Nachos can b e directed via e-mail to Anderson ([email protected] erkeley.edu) or p osted to the \alt.os.nachos" newsgroup.

1 Intro duction

In undergraduate computer science education, course pro jects provide a useful to ol for teaching basic concepts and for showing how those concepts can b e used to solve real-world problems. A realistic pro ject is esp ecially imp ortant in undergraduate op erating systems courses, where many of the concepts are b est taught, we b elieve, by example and exp erimentation. This pap er discusses an op erating system, simulation environment, and set of assignments that we develop ed for the undergraduate op erating systems course at the University of California at Berkeley. Over the years, numerous pro jects have b een develop ed for teaching op erating systems; among the published ones are Tunis [Holt 1983] and Minix [Tanenbaum 1987b, Aguirre et al. 1991]. Many of these pro jects were motivated by the development of UNIX [Ritchie & Thompson 1974] in the mid-1970's. Earlier op erating systems, such as MULTICS [Daley & Dennis 1968] and OS/360 [Mealy et al. 1966] were far to o complicated for an undergraduate to understand, much less mo dify, in a semester. Even UNIX itself is to o complicated for this purp ose, but UNIX showed that the core of an op erating system can b e written in only a few dozen pages with a few simple but p owerful interfaces [Lions 1977]. Indeed, the pro ject previously used at Berkeley, the TOY Op erating System, was originally develop ed by Ken Thompson in 1973. The intro duction of minicomputers, and later, workstations, also aided the development of in- structional op erating systems. Rather than having to run the op erating system on the bare hardware, computing cycles b ecame cheap enough to make it feasible to execute an op erating system kernel using a simulation of real hardware. The op erating system can run as a normal UNIX pro cess, and invoke the simulator when it would otherwise access physical devices or execute user instructions. This vastly simpli es op erating systems development, by reducing the compile-execute-debug cycle and by allowing the use of o -the-shelf symb olic debuggers. Because of these advantages, many commercial op erating system development e orts now routinely use simulated machines [Bedichek 1990]. However, recent advances in op erating systems, hardware architecture, and software engineering have left many op erating systems pro jects develop ed over the past two decades out of date. Network- ing and distributed applications are now commonplace. Threads are crucial for the construction of b oth op erating systems and higher-level concurrent applications. And the cost-p erformance trade- o s among memory, CPU sp eed and secondary storage are now quite di erent from those imp osed by core memory, discrete logic, magnetic drums, and card readers. For these reasons, we decided to design and implement a new teaching op erating system and simulation environment. Our system, called Nachos, makes it p ossible to give assignments that require students to write signi cant p ortions of each of the ma jor pieces of a mo dern op erating system: thread management, le systems, multiprogramming, virtual memory, and networking. We use these assignments to illustrate principles of computer system design needed to understand the computer systems of to day and of the future: concurrency and synchronization, caching and lo cality, the tradeo b etween simplicity and p erformance, building reliability from unreliable comp onents, dynamic scheduling, the p ower of a level of translation, layering, and distributed computing. Facility with these concepts is valuable, we b elieve, even for those students who do not end up working in op erating system development. In building Nachos, we were continually faced with a tradeo b etween simplicity and realism

CPU and I/O device simulation

Machine-dep endent OS layer

Thread management

File system

Networking

Address space management

System call interface Virtual memory

Shell

Application Application

 AA

h

User-Level

Portable OS Kernel

Hardware Simulation

Figure 1: Nachos Software Structure

Nachos has several signi cant di erences with earlier systems:

 We can run normal C programs as user programs on our op erating system, b ecause we simulate a standard, well-do cumented, instruction set (MIPS R2/3000 integer instructions [Kane 1987]). In the past, op erating systems pro jects typically simulated their own ad hoc instruction set, requiring user programs to b e written in a sp ecial purp ose assembly language. Because the R2/3000 is a RISC, our instruction set simulation co de is only ab out 10 pages long.

 We accurately simulate the b ehavior of a network of workstations, each running Nachos. We connect Nachos \machines", each running as a UNIX pro cess, together via UNIX so ckets, simulating a lo cal area network. A thread on one \machine" can then send a packet to a thread running on a di erent \machine"; of course, b oth are simulated on the same physical hardware.

 Our simulation is deterministic. Debugging non-rep eatable execution sequences is a fact of life for professional op erating system engineers, but it did not seem advisable for us to make this exp erience our students' rst intro duction to op erating systems. Instead of using UNIX signals to simulate asynchronous devices such as the disk and the timer, Nachos maintains a simulated time that is incremented whenever a user program executes an instruction and whenever a call is made to certain low-level op erating system routines. Interrupt handlers are then invoked when the simulated time reaches the appropriate p oint.^3

 Our simulation is randomizable to add unpredictable, but rep eatable, b ehavior. For instance, the network simulation randomly cho oses which packets to drop; provided the initial seed to the random numb er generator is the same, however, the b ehavior of the system is rep eatable.

 We hide our hardware simulation routines from the rest of Nachos via a machine-dep endent interface layer [Rashid et al. 1988]. For example, we de ne an abstract disk that accepts requests to read and write disk sectors and provides an interrupt handler to b e called on request completion. The details of our disk simulator are hidden b ehind this abstraction, in much the same way that disk device sp eci c details are isolated in a normal op erating system. One advantage to using a machine-dep endent interface layer is to help students understand that they are building a real op erating system: the Nachos kernel could b e p orted to a physical machine simply by replacing the hardware simulation with real hardware and some machine- dep endent driver routines. Another advantage is to make clear to students what p ortions of Nachos can b e mo di ed (the kernel and the applications) versus what p ortions are o limits (the hardware simulation | at least until they take a computer architecture course). We did not make this distinction clear in our rst version of Nachos, to our later regret.

 Nachos is implemented in a subset of C++ [Stroustrup 1986]. Ob ject-oriented programming is b ecoming more p opular, and we found that it was a natural idiom for stressing the imp ortance of mo dularity and clean interfaces in building op erating systems. To simplify matters, we (^3) The one asp ect of the simulation we did not make repro ducible was the precise timing of network communications. Since this came at the end of the semester, it did not seem to cause problems. We are working on providing precise network timing for the next release of Nachos.

an outside observer and from that of the threads involved. We b elieve this exp erience is crucial to de-mystifying concurrency. Precisely b ecause C and C++ allow nothing to b e swept under the covers, concurrency may b e easier to understand (although harder to use) in these programming languages than in those explicitly designed for concurrency, such as Ada [Mundie & Fisher 1986], Mo dula-3 [Nelson 1991], and Concurrent Euclid [Holt 1983]. Second, a working thread system, as in Nachos, allows students to practice writing concurrent programs and to test out those programs. Even exp erienced programmers nd it dicult to think concurrently; a widely used OS textb o ok had an error in one of its concurrent algorithms that went undetected for several years. When we rst used Nachos, we omitted many of the practice problems we now include in the assignment, thinking that students would see enough concurrency in the rest of the pro ject. In retrosp ect, the result was that many students were still making concurrency errors even in the nal phase of the pro ject. Our thread system is based on FastThreads [Anderson et al. 1989]. Our primary goal was simplicity, to reduce the e ort required for students to trace the b ehavior of the thread system. Our implementation takes a total of ab out 10 pages of C++ and a page of MIPS assembly co de. For simplicity, thread scheduling is normally non-preemptive, but to emphasize the imp ortance of critical sections and synchronization, we have a command-line option that causes threads to b e time-sliced at \random", but rep eatable, p oints in the program. Concurrent programs are correct only if they work when \a context switch can happ en at any time."

3.2 File Systems

Real le systems can b e very complex artifacts. The UNIX le system, for example, has at least three levels of indirection | the p er-pro cess le descriptor table, the system-wide op en le table, and the in-core ino de table | b efore one even gets to disk blo cks [McKusick et al. 1984]. As a result, in order to build a le system that is simple enough for students to read and understand in a couple of weeks, we were forced to make some hard choices as to where to sacri ce realism. We provide a basic working le system stripp ed of as much functionality as p ossible. While the le system has an interface similar to that of UNIX [Ritchie & Thompson 1974] (cast in terms of C++ ob jects), it also has many signi cant limitations with resp ect to commercial le systems: there is no synchronization (only one thread can access the le system at a time), les have a very small maximum size, les have a xed size once created, there is no caching or bu ering of le data, the le name space is completely at (there is no hierarchical directory structure), and there is no attempt at providing robustness across machine and disk crashes. As a result, our basic le system takes only ab out 15 pages of co de. The assignment is rst, to correct some of these limitations, and second, to improve the p erfor- mance of the resulting le system. We list a few p ossible optimizations, such as caching and disk scheduling, but it is up to the students to decide which are the most cost-e ective for our b enchmark (the sequential write and then read of a large le). At the hardware level, we provide a disk simulator, which accepts \read sector" and \write sector" requests and signals the completion of an op eration via an interrupt. The disk data is stored in a UNIX le; read and write sector op erations are p erformed using normal UNIX le reads and writes. After the UNIX le is up dated, we calculate how long the simulated disk op eration should have taken (from the track and sector of the request), and set an interrupt to o ccur that far in

the future. Read and write sector requests (emulating hardware) return immediately; higher level software is resp onsible for waiting until the interrupt o ccurs. We made several mistakes along the way in developing the Nachos le system. In our rst attempt, the le system was much more realistic than the current one, but it also to ok more than four times as much co de. We were forced to re-write it to cut it down to something that students could quickly read and understand. When we handed out this simpler le system, we did not provide enough co de for it to b e completely working, leaving out le read and le write to b e written by students as part of the assignment. Although these are fairly straightforward to implement, the fact that our co de did not work meant that students had diculty understanding how each of the pieces of the le system t together. We also initially gave students the option of which limitations to x; from our exp erience, we found that students learned the most from xing the rst four listed ab ove. In particular, the students who chose to implement a hierarchical directory structure found that although it was conceptually simple, the implementation required a relatively large amount of co de. Finally, many mo dern le systems include some form of write-ahead logging [Hagmann 1987, Kazar et al. 1990] or log-structure [Rosenblum & Ousterhout 1992], simplifying crash recovery. The assignment now completely ignores this issue, but we are currently lo oking at ways to do crash recovery by adding simple write-ahead logging co de to the baseline Nachos le system. As it stands, the choice of whether or not to address crash recovery is simply a tradeo. In the limited amount of time available, we ask students to fo cus on how basic le systems work, how the le abstraction allows disk data layout to b e radically changed without changing the le system interface, and and how caching can b e used to improve I/O p erformance.

3.3 Multiprogramming

In the third assignment, we provide co de to create a user address space, load a Nachos le con- taining an executable image into user memory, and then to run the program. Our initial co de is restricted to running only a single user program at a time. Students expand on this base to supp ort multiprogramming. Students implement a variety of system calls (such as UNIX fork and exec) as well as a user-level shell. We also ask them to optimize the multiprogramming p erformance of their system on a mixed workload of I/O- and CPU-b ound jobs. While we supply relatively little Nachos co de as part of this assignment, the hardware simulation do es require a fair amount of co de. We simulate the entire MIPS R2/3000 integer instruction set and a simple single-level page table translation scheme. (For this assignment, a program's entire virtual address space must b e mapp ed into physical memory; true virtual memory is left for assignment four.) In addition, we provide students an abstraction that hides most of the details of the MIPS ob ject co de format. This assignment requires few conceptual leaps, but it do es tie together the work of the previous two assignments, resulting in a usable, alb eit limited, op erating system. Because our simulator can run C programs, our students found it easy to write the shell and other utility programs (such as UNIX \cat") to exercise their system. (One overly ambitious student attempted to p ort emacs.) The assignment illustrates that there is little di erence b etween writing user co de and writing op erating system kernel co de, except that user co de runs in its own address space, isolating the kernel from user errors.

sending packets into the simulated network; the transmission is actually accomplished by so cket send and receive. The Nachos network provides unreliable transmission of limited-size packets from machine to machine. The likeliho o d that any packet will b e dropp ed can b e set as a command-line option, as can the seed used to determine which packets are \randomly" chosen to b e dropp ed. Packets are dropp ed but never corrupted, so that checksums are not required. To show students how to use the network and, at the same time, to illustrate the b ene ts of layering, we built a simple p ost oce proto col on top of the network. The p ost oce layer provides a set of \mailb oxes" that serve to route incoming packets to the appropriate waiting thread. Messages sent through the p ost oce also contain a return address to b e used for acknowledgements. The assignment is rst to provide reliable transmission of arbitrary-sized packets, and then to build a distributed application on top of that service. Supp orting arbitrary-sized packets is straightforward | one need merely to split any large packet into xed-size pieces, add fragment serial numb ers, and send them one by one. Reliability is more interesting, requiring a careful analysis and design to b e implemented correctly. To reduce the time to do the assignment, we do not ask students to implement congestion control or window management, although of course these are imp ortant issues in proto col design [Hedrick 1987]. The choice of how to complete the pro ject is left up to the students' creativity. We do make a few suggestions: multi-user UNIX talk, a distributed le system with caching [Nelson et al. 1988], a pro cess migration facility [Douglis & Ousterhout 1991], distributed virtual memory [Li & Hudak 1989], a gateway proto col that is robust to machine crashes. Perhaps the most interesting application a student built was a distributed version of the \battleship" game, with each player on a di erent machine. This illustrated the role of distributed state, since each machine kept only its lo cal view of the gameb oard; it also exp osed several p erformance problems in our hardware simulation which we have since xed. Perhaps the biggest limitation of our current implementation is that we do not mo del network p erformance correctly, b ecause we do not keep the timers on each of the Nachos machines synchro- nized with one another. We are currently working on addressing this problem, using distributed simulation techniques for eciency [Chandy & Misra 1981, Je erson et al. 1987]. With this, we will b e able to b enchmark the p erformance of the students' network proto cols; this will also enable students to implement parallel algorithms for message-passing multipro cessors as the nal part of the pro ject.

4 Lessons Learned

Designing and implementing Nachos taught us a lot ab out how instructional software should b e put together, and provided insights on how students learn ab out complex systems. In this section, we discuss some of the lessons that we learned. In devising the assignments, we had to decide which pieces of the Nachos co de to provide students and which pieces to leave for students to write themselves. At one extreme, we could have provided students only the hardware simulation routines, leaving a tabula rasa for students to build an entire op erating system from scratch. This seemed impractical, given the scop e of what we wanted students to achieve during the semester. Since our goal was to maximize learning for the amount of student e ort exp ended, we at rst

provided students with the mundane and the technically dicult parts of the op erating system, such as generic list and bitmap management routines on the one hand, and low level thread context switch co de on the other. We did this by writing the entire op erating system from scratch, and then ripping out the parts that we thought students should write for themselves. We found, however, that co de (if simple enough) can b e very useful at illustrating how some piece of the op erating system should b ehave. The key is that the co de has to b e able to run standalone, without further e ort on the part of students. Our thread system, although limited, could show exactly what happ ens when one thread relinquishes a pro cessor to another thread. By contrast, when we provided students with less than a working le system, students had diculty understanding how the pieces of the le system t together. Similarly, we initially left to students the de nition of the system call interface, including how parameters were to b e passed from user co de to the kernel. A simple example would have avoided the resulting confusion. Of course, reading co de by itself can b e a b oring and p ointless exercise; we addressed this by keeping our co de as simple as p ossible, and by asking students to mo dify it in fairly fundamental ways. The result is that the assignments fo cus on the more interesting asp ects of op erating systems, where tradeo s exist so that there is no single right answer. Another lesson that we learned from exp erience was the need to add a quantitative asp ect to the assignments. We explicitly encouraged students to implement simple solutions to the assignments, to avoid sprawling complexity. But b ecause we initially had no standard b enchmarks for measuring the p erformance of student implementations, students tended to devise overly simplistic solutions, where only a bit more e ort was needed to b e realistic. We hop e that the p erformance tests that we have since added will encourage students to identify when complexity is justi ed by its b ene ts. In the future, we also intend to exp eriment with a di erent approach towards this same end | to ask students to explain what p erformance they would expect from their implementation, along with the likely e ect of di erent p erformance optimizations, on a simple b enchmark. The idea would b e to encourage students to reason ab out the p erformance of their system, instead of simply making changes and measuring the result. Finally, we were not able to nd a textb o ok to adequately explain many of the concepts used in Nachos, particularly in the areas of concurrency and networking. For instance, the op erating system textb o ok we ended up using only lightly touches on lo cks and condition variables; instead, it devotes most of a chapter to describing how to build critical sections using only memory read and memory write op erations as primitives. Yet every op erating system that we know of implements critical sections using interrupt disable and/or memory read-mo dify-write instructions. To address this, we supplemented the textb o ok with a few relevant pap ers, namely: Birrell [1989], Ritchie and Thompson [1974], McKusick et al. [1984], Gray [1981], Levy and Lipman [1982], Hedrick [1987], and Lampson [1984]. We found that many of our students could understand and use the key ideas from these pap ers, particularly when we gave them a roadmap to each pap er's terminology. An imp ortant side goal was to de-mystify reading research pap ers | one way for students to continue their education after graduation to keep up with the rapid pace of technological change in our industry.

[Dijkstra 1989] Dijkstra, E. On the Cruelty of Really Teaching Computer Science. Communications of the ACM, 32(12):1398{1404, Decemb er 1989.

[Douglis & Ousterhout 1991] Douglis, F. and Ousterhout, J. Transparent Pro cess Migration: Design Alternatives and the Sprite Implementation. Software|Practice and Experience, 21(7), July 1991.

[Gray 1981] Gray, J. The Transaction Concept: Virtues and Limitations. In Proceedings of the 7th International Conference on Very Large Data Bases, pp. 144{154, Septemb er 1981.

[Hagmann 1987] Hagmann, R. Reimplementing the Cedar File System Using Logging and Group Commit. In Proceedings of the 11th ACM Symposium on Operating Systems Principles, pp. 155{162, Novemb er 1987.

[Hedrick 1987] Hedrick, C. Intro duction to the Internet Proto cols. Technical rep ort, Rutgers Com- puter Science Facilities Group, July 1987.

[Holt 1983] Holt, R. Concurrent Euclid, the UNIX System, and TUNIS. Addison-Wesley, 1983.

[Je erson et al. 1987] Je erson, D., Beckman, B., Wieland, F., Blume, L., DiLoreto, M., Hontabas, P., Laro che, P., Studevant, K., Tupman, J., Warren, V., Wedel, J., Younger, H., and Bellenot, S. Distributed Simulation and the Time Warp Op erating System. In Proceedings of the 11th ACM Symposium on Operating Systems Principles, pp. 77{93, Novemb er 1987.

[Kane 1987] Kane, G. MIPS R2000 RISC Architecture. Prentice Hall, 1987.

[Kazar et al. 1990] Kazar, M., Leverett, B., Anderson, O., Ap ostolides, V., Bottos, B., Chutani, S., Everhart, C., Mason, W., Tu, S.-T., and Zayas, E. DEcorum File System Architectural Overview. In Proceedings of the 1990 USENIX Summer Conference, pp. 151{164, June

[Lam et al. 1991] Lam, M., Rothb erg, E., and Wolf, M. The Cache Performance and Optimizations of Blo cked Algorithms. In Proceedings of the 4th International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 63{74, April 1991.

[Lampson & Redell 1980] Lampson, B. and Redell, D. Exp eriences with Pro cesses and Monitors in Mesa. Communications of the ACM, 23(2):104{117, February 1980.

[Lampson 1984] Lampson, B. W. Hints for Computer System Design. IEEE Software, 1(1):11{28, January 1984.

[Leer et al. 1989] Leer, S., McKusick, K., Karels, M., and Quarterman, J. Design and Imple- mentation of the 4.3 BSD Unix Operating System. Addison-Wesley, 1989.

[Levy & Lipman 1982] Levy, H. and Lipman, P. Virtual Memory Management in the VAX/VMS Op erating System. IEEE Computer, pp. 35{41, March 1982.

[Li & Hudak 1989] Li, K. and Hudak, P. Memory Coherence in Shared Virtual Memory Systems. ACM Transactions on Computer Systems, 7(4):321{359, Novemb er 1989.

[Lions 1977] Lions, J. A Commentary on the UNIX Op erating System, June 1977. Department of Computer Science, University of New South Wales.

[McKusick et al. 1984] McKusick, M., Joy, W., Leer, S., and Fabry, R. A Fast File System for UNIX. ACM Transactions on Computer Systems, 2(3):181{197, August 1984.

[Mealy et al. 1966] Mealy, G., Witt, B., and Clark, W. The Functional Structure of OS/360. IBM Systems Journal, 5(1):3{51, January 1966.

[Mundie & Fisher 1986] Mundie, D. and Fisher, D. Parallel Pro cessing in Ada. IEEE Computer, 19(8):20{25, August 1986.

[Nelson 1991] Nelson, G., editor. Systems Programming with Modula-3. Prentice Hall, 1991.

[Nelson et al. 1988] Nelson, M., Welch, B., and Ousterhout, J. Caching in the Sprite Network File System. ACM Transactions on Computer Systems, 6(1):134{154, February 1988.

[Patterson & Hennessy 1990] Patterson, D. and Hennessy, J. Computer Architecture: A Quantita- tive Approach. Morgan Kaufman, San Mateo, CA, 1990.

[Patterson 1992] Patterson, D. Has CS Changed in 20 Years? Computing Research News, 4(2):2{3, March 1992.

[Rashid et al. 1988] Rashid, R., Tevanian, A., Young, M., Golub, D., Baron, R., Black, D., Bolosky, W., and Chew, J. Machine-Indep endent Virtual Memory Management for Paged Unipro- cessor and Multipro cessor Architectures. IEEE Transactions on Computers, 37(8):896{ 908, August 1988.

[Ritchie & Thompson 1974] Ritchie, D. and Thompson, K. The Unix Time-Sharing System. Com- munications of the ACM, 17(7):365{375, July 1974.

[Rosenblum & Ousterhout 1992] Rosenblum, M. and Ousterhout, J. The Design and Implementa- tion of a Log-Structured File System. ACM Transactions on Computer Systems, 10(1):26{ 52, February 1992.

[Stroustrup 1986] Stroustrup, B. The C++ Programming Language. Addison-Wesley, Reading, MA,

[Tanenbaum 1987a] Tanenbaum, A. Operating Systems: Design and Implementation. Prentice-Hall,

[Tanenbaum 1987b] Tanenbaum, A. A UNIX Clone with Source Co de for Op erating Systems Courses. Operating Systems Review, 21(1):20{29, January 1987.

[Wulf et al. 1974] Wulf, W., Cohen, E., Corwin, W., Jones, A., Levin, R., Pierson, C., and Pollack, F. HYDRA: The Kernel of a Multipro cessor Op erating System. Communications of the ACM, 17(6):337{344, June 1974.