|
|
|
|
|
|
|
|
|
Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau Operating Systems: Three Easy Pieces Version 1.10 (Available free online!) |
This course covers the principles of operating systems. It emphasizes the basic concepts of OS kernel organization and structure, processes and threads, concurrency and synchronization, memory management, file systems, and communication. It is also a project course, providing essential experience in programming with concurrency, implementing and unmasking abstractions, working within an existing complex system, and collaborating with other students in a group effort.
The following table outlines the schedule for the course. We will update it as the quarter progresses.
Date | Lecture | Readings | Optional | Homework | Project |
---|---|---|---|---|---|
9/26 | Course Intro | CH. 1, CH. 2 | |||
10/1 | Architectural Support | CH. 6 | Hardware events | HW 1: Out | PR 0: Out |
10/3 | Processes | CH. 3, CH. 4, CH. 5 | Linux context switch | ||
10/4 | (Friday) | PR 0: Due | |||
10/8 | Threads | CH. 26, CH. 27 | HW 1: Due | PR 1: Out | |
10/10 | Synchronization | CH. 28, CH. 29 | HW 2: Out | ||
10/15 | Semaphores and Monitors | CH. 30, CH. 31 | Languages and CVs | ||
10/17 | CH. 30, CH. 31 |
Languages and CVs |
|
|
|
10/22 | (No lecture, work on project) | ||||
10/23 | (Wednesday) | PR 1: Due | |||
10/24 | CH. 7, CH. 8, CH. 32 |
|
|
|
|
10/26 | (Saturday) | HW 2: Due | |||
10/28 | |||||
10/29 | Midterm Exam | ||||
10/31 | CH. 15, CH. 16, CH. 18 | ||||
11/5 | CH. 19, CH. 20 | ||||
11/7 | CH. 19, CH. 20 | ||||
11/12 | CH. 21, CH. 22, CH. 23 | Linux 2.4, 2.6 | |||
11/14 | CH. 37, CH. 39 | CH. 44 | |||
11/19 | CH. 40 | Interesting behaviors | |||
11/21 | CH. 53, CH. 55 | ||||
11/26 |
Appendix B
|
|
|
|
|
11/28 | Thanksgiving Holiday | Thanksgiving | Food. Lots of it. | Sleep. Lots of it. | |
12/3 | Research Talk | ||||
12/5 | |||||
12/10 | Final Exam | 8–11am |
The course is organized as a series of lectures by the instructor, discussion sections by the TAs, reading, homework, and project assignments, and exams:
The course will have four homeworks, and I will post them as the quarter progresses. You may type or handwrite your answers, and we will use gradesource for submitting homeworks. To encourage timeliness, we will reduce homework grades by 20% for each day that they are late. But if you run into a difficult situation, let me know.
Due to extensive copying on homeworks in the past, I have changed how homeworks are graded. As long as you submit a technical answer related to the question, you will get full credit for the question. The goal of the homeworks is to give you practice learning the material. The homework questions both supplement and complement the material from lecture and in the project, and you will also find the homework questions to be useful for practicing for the exams. We will post solutions to all homeworks after they are submitted, and you can use them for studying as well. But, even with the solutions, the amount you learn from the homeworks will be directly correlated with your effort working on them.
I encourage you to collaborate on the homeworks: You can learn a lot from your fellow students. Collaboration consists of discussing problems with other students and independently writing your own answers to the problems based upon those discussions. As a rule of thumb, you should be able to discuss a homework problem in the hall with others, go home, and then write up your answer to the problem on your own.
The course has one tutorial project and three programming projects using the Nachos instructional operating system.
Discussion sections answer questions about the lectures, homeworks, projects, and programming environment. They may also supplement the lectures with additional material.
Your grade for the course will be based on your performance on the homeworks, midterm and final exams, and the three projects using the following weights:
The academic honesty guidelines outlined by Charles Elkan apply to this course. I urge you to resist any temptation to cheat, no matter how desperate the situation may seem. If you are in circumstances that you feel compel you to cheat, come to me first before you do so. Examples of cheating include copying code or answers from someone else, copying code or answers from online sources, or using generative AI or LLMs.
Edsger. W. Dijkstra, The Structure of the 'THE'-Multiprogramming System, Communications of the ACM, Vol. 11, No. 5, May 1968, pp. 341-346.
(Additional historical background on semaphores in Wikipedia)
Dennis M. Ritchie and Ken Thompson, The UNIX Time-Sharing System, Communications of the ACM, Vol. 17, No. 7, July 1974, pp. 365-375.
C. A. R. Hoare, Monitors: An Operating System Structuring Concept, Communications of the ACM, Vol. 17, No. 10, October, 1974, pp. 549-557.
Butler W. Lampson and David D. Redell, Experience with Processes and Monitors in Mesa, Communications of the ACM, Vol. 23, No. 2, February 1980, pp. 105-117.
Marshall K. McKusick, William N. Joy, Samuel J. Leffler, and Robert S. Fabry, A Fast File System for Unix, ACM Transactions on Computer Systems, 2(3), August 1984, pp. 181-197.