Syllabus and general information for MCS-378: Operating Systems (Fall 1999)
Overview
This course covers the basics of concurrent programming, operating
systems, networking, and distributed systems. There are two principal
reasons why a course on operating systems is practical to take (as
opposed to just interesting), even if you never expect to be involved
in the development of an operating system (which most of you won't):
-
Operating systems provide the classic application domain for certain
techniques that are useful in other contexts as well. In particular,
concurrent programming has traditionally been been an ``operating
systems'' topic, but is now quite broadly applicable. Other topics
that are no longer the sole province of operating systems include
resource allocation, security, and fault tolerance.
-
Although most of you won't write operating systems, you'll interface
with them. You may write applications programs that make use of the
operating system's facilities, or contribute to the design of hardware
on which the operating system runs, or find yourself educating an
operating system developer about the features that would allow your
web server or database system to run most efficiently.
You may be a system administrator who has to configure and tune an
operating system.
An
understanding of what goes on inside an operating system will allow
you to be more effective in roles like these. You may even find
yourself tacking a new feature on in some small corner of an operating
system other people wrote.
Office hours
I will be available in my office (OHS 303) 11:30-12:20 Tuesdays,
2:30-3:20 Wednesdays, 9:00-9:50 Thursdays, 1:30-2:20 Fridays, and by
appointment. Or try your luck: just stop by and see whether my door
is open.
You may send me electronic mail at max@gustavus.edu or call me at
extension 7466. I'll try to put any updates to my office
hours on my web page, so check
there if in doubt.
World Wide Web
All course materials will be available through my World Wide Web page.
The URL for this course is http://www.gustavus.edu/~max/courses/F1999/MCS-378/.
After this syllabus I will give hardcopy handouts only to those
students who want them.
Text and readings
The primary text for the course will be Siberschatz, Galvin, and Gagne's
Applied Operating System Concepts, first edition, but I'll also
be distributing some readings that are recent conference papers or journal
articles, in order to provide both an update
on some recent interesting work and also a bit more ``meat.'
Those readings will form the basis for the student
presentations, described below. Lab handouts may also
include some non-trivial reading.
Labs
There will be four lab assignments. The due dates for the labs are
shown in the syllabus below. We'll meet in the OHS 326 lab every
Monday and two Fridays as well, which are indicated in the syllabus.
Presentations
There will be nine days in the semester when I sit back and relax and
let one of you guys teach the class instead. In each case, the class
will be structured around one of the papers we read from a conference
or journal. The whole class will be expected to read the paper at
least casually, but the person leading the class will be expected to
have read it more carefully and done whatever it takes to really
understand it, which may involve additional background reading,
talking with me, etc.
I'm going to ask you to express a preference ranking for the
topics, and will try to the extent possible to assign people to topics
based on that. (You can also take into account in your preference
rankings the timing of the presentations.) I'll need to have you
email me the rankings tomorrow morning (September 9) so that I can get
the assignments out to you Friday, thereby leaving some preparation
time for whoever gets the first paper.
The topics are:
-
September 22:
"Implementing Lottery Scheduling: Matching the Specializations in Traditional
Schedulers," David Petrou, John W. Milford, and Garth A. Gibson,
1999
USENIX Annual Technical Conference, pp. 1-14.
-
October 13:
"Improving Application Performance Through Swap Compression,"
R. Cervera, T. Cortes, and Y. Bercerra,
FREENIX Track, 1999 USENIX Annual Technical Conference,
pp. 207-218.
-
October 20:
"Soft Updates: A Technique for Eliminating Most Synchronous Writes in
the Fast Filesystem,"
Marshall Kirk McKusick and Gregory R. Ganger,
FREENIX Track, 1999 USENIX Annual Technical Conference,
pp. 1-17.
-
October 26:
"The Design and Implementation of a DCD Device Driver for UNIX,"
Tycho Nightingale, Yiming Hu, and Qing Yang,
1999
USENIX Annual Technical Conference,
pp. 295-307.
-
November 5:
"Why Does File System Prefetching Work?,"
Elizabeth Shriver, Christopher Small, and Keith A. Smith,
1999
USENIX Annual Technical Conference,
pp. 71-84.
-
November 16:
"Flash: An Efficient and Portable Web Server,"
Vivek S. Pai, Peter Druschel, and Willy Zwaenepoel,
1999
USENIX Annual Technical Conference,
pp. 199-212.
-
November 17:
"A Scalable and Explicit Event Delivery Mechanism for UNIX,"
Gaurav Banga, Jeffrey C. Mogul, and Peter Druschel,
1999
USENIX Annual Technical Conference,
pp. 253-265.
-
November 30:
"Experience with a Distributed File System Implementation,"
Randolph Y. Wang, Thomas E. Anderson, and Michael D. Dahlin,
UCB Tech Report CSD-98-986, 1998.
-
December 3:
"A Role Based Access Control Model and Reference Implementation within
a Corporate Intranet,"
David F. Ferraiolo, John F. Barkley and D. Richard Kuhn,
ACM Transactions on Information and System Security,
volume 2, number 1, 1999,
pp. 34-64.
Tests
There will be midterm and final exams, as shown on the syllabus below.
(Note that the final exam will be as scheduled by the registrar. The
date and time shown in the syllabus are the tentative projection from
the registrar's office, but are subject to change by that office.)
Honor
Students are encouraged to discuss the course, including issues raised
by the assignments. However, the solutions to assignments
should be individual original work unless otherwise specified. If an
assignment makes you realize you don't understand the material, ask a
fellow student a question designed to improve your understanding,
not one designed to get the assignment done. To do otherwise is to
cheat yourself out of understanding, as well as to be intolerably
dishonorable.
Any substantive contribution to your solution by another person or
taken from a publication should be properly acknowledged in writing.
Failure to do so is plagiarism and will necessitate disciplinary
action.
The same standards regarding plagiarism apply to team projects as to
the work of individuals, except that the author is now the entire team
rather than an individual. Anything taken from a source outside the
team should be be properly cited.
One additional issue that arises from the team authorship of
project reports is that all team members must stand behind all reports
bearing their names. All team members have quality assurance
responsibility for the entire project. If there is irreconcilable
disagreement within the team it is necessary to indicate as much in
the reports; this can be in the form of a ``minority opinion'' or
``dissenting opinion'' section where appropriate.
Late assignments
All homework and lab assignments are due at the beginning of class on
the day indicated. Late assignments will be penalized by one ``grade
notch'' (such as A to A- or A- to B+) for each weekday late or fraction
thereof. However, no late assignments will be accepted after graded
assignments are handed back.
If you are too sick to complete an assignment on time, you
will not be penalized. Simply write ``late due to illness'' at the
top of the assignment, sign your name and hand it in. Other circumstances
will be evaluated on a case-by-case basis.
Grade changes
Please point out any arithmetic or clerical error I make in grading,
and I will gladly fix it. You may also request reconsideration if I
have been especially unjust.
Grading
I will provide you with a letter grade on each homework and lab
assignment, on your presentation, and on each test, in addition to the mid-term and final
grades, so that you may keep track of your performance. As a
guideline, the course components will contribute to your final grade
in the proportions indicated below:
- 40% Labs (4 @ 10% each)
- 10% Presentation
- 20% Homework (5 @ 4% each)
- 10% Midterm
- 20% Final exam
Style guidelines
All homework and lab reports should be readily readable, and should
not presuppose that I already know what you are trying to say. Use
full English sentences where appropriate (namely almost everywhere)
and clear diagrams, programs, etc. Remember that your goal is to
communicate clearly, and that the appearance of these technical items
plays a role in this communication process. Be sure your assignments
are always stapled together and that your name is always on them.
Accessibility
Please contact me immediately if you have a learning or physical
disability requiring accommodation.
Syllabus
In the reading column, a single number with no decimal point indicates
an entire chapter. Section 0 means the material at the beginning
of a chapter before the first section.
This is my best guess as to the rate at which we will cover material.
However, don't be shocked if I have to pass out one or more revised
syllabi.
Date | Reading | Topic | Due
|
---|
9/8 | 1 | Introduction |
|
9/10 | 2 | Computer-system structures |
|
|
9/13 | | Lab 1: Scheduling experiments |
|
9/14 | 3 | Operating-system structures |
|
9/15 | 4 | Processes |
|
9/17 | 5 | Threads |
|
|
9/20 | | Lab 1 (concludes) | HW 1
|
9/21 | 6 | CPU scheduling |
|
9/22 | paper 1 | Hybrid lottery scheduling |
|
9/24 | 7.0-7.6 | Process synchronization | Lab 1
|
|
9/27 | | Lab 2: Fixing sched_yield |
|
9/28 | 7.7-7.10 | More on process synchronization |
|
9/29 | 8 | Deadlocks |
|
10/1 | 9 | Memory management | HW 2
|
|
10/4 | | Lab 2 (continued) |
|
10/8 | 10.0-10.5 | Virtual memory |
|
|
10/11 | | Lab 2 (continued) |
|
10/12 | 10.6-10.8 | More on virtual memory |
|
10/13 | paper 2 | Swap compression | HW 3
|
10/15 | 11.0-11.5 | File systems |
|
|
10/18 | | Lab 2 (concludes) |
|
10/19 | 11.6-11.11 | More on file systems |
|
10/20 | paper 3 | Soft updates | Lab 2
|
|
10/26 | paper 4 | Disk Caching Disk (DCD) |
|
10/27 | | review/catch-up |
|
10/29 | | mid-term exam |
|
|
11/1 | | Lab 3: Filesystem locality |
|
11/2 | 12 | I/O systems |
|
11/3 | 13 | Mass storage |
|
11/5 | paper 5 | Prefetching performance |
|
|
11/8 | | Lab 3 (continued) |
|
11/9 | 14 | Network structures |
|
11/10 | 15 | Distributed communication | HW 4
|
11/12 | | Lab 3 (continued) (a Friday lab) |
|
|
11/15 | | Lab 3 (concludes) |
|
11/16 | paper 6 | Web server architecture |
|
11/17 | paper 7 | Scalable event delivery | Lab 3
|
11/19 | | Lab 4: Distributed communication (a Friday lab) |
|
|
11/22 | | Lab 4 (continued) |
|
11/23 | 16 | Distributed coordination |
|
11/24 | 17 | Distributed file systems |
|
|
11/29 | | Lab 4 (continued) |
|
11/30 | paper 8 | Experience with xFS implementation |
|
12/1 | 18 | Protection |
|
12/3 | paper 9 | Role Based Access Control | HW 5
|
|
12/6 | | Lab 4 (concludes) |
|
12/7 | 19 | Security |
|
12/8 | | Infrastructure tour |
|
12/10 | | review/catch-up/evaluation | Lab 4
|
|
12/15 | | final exam, 1:00pm (tentative) |
|
Course web site: http://www.gustavus.edu/~max/courses/F1999/MCS-378/
Instructor: Max Hailperin <max@gustavus.edu>