Syllabus and general information for MCS-378: Operating Systems (Fall 2002)


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):

Office hours

I will be available in my office (OHS 303) from 11:30-12:20 on Mondays, Wednesdays, and Fridays; from 1:30-2:20 on Tuesdays and Thursdays; and by appointment. Or try your luck: just stop by and see whether my door is open. You may send me electronic mail at 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 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, 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.


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 or 329 lab every Monday, and Friday November 22nd as well.

Attendance is expected for all lab days. (If you turn in a lab report early, you are excused from the remaining days devoted to that lab.) I will excuse up to two absences per student, for any reason. Use yours wisely. If you exceed this allowance, I may reduce your course grade by one letter grade.

For each lab, I will assign you a lab group. You will work with different people each lab, and with a different person for the presentation than for any of the labs. Thus, over the semester you will work with the majority of the class.


There will be twelve days in the semester when I sit back and relax and let students teach the class instead. Each time, a pair of students will have a class period to lead discussion on one of the papers we read from a conference. The whole class will be expected to read the paper at least casually, but the pair 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.

Each pair of students will be responsible for setting up a meeting with me the week before their presentation to go over it with me. (You are welcome to additional consultations as well.) At that meeting, you should also give me three straightforward questions about your reading. I will distribute these to the full class. All class members will turn in their answers to these three questions at the beginning of class the day of your presentation, as a way of making sure we all have a common starting point.

I will provide a list of attributes that good presentations have. For each presentation, each student in the audience will be asked to select two of these attributes that were particular strong points, and two that particularly need work. I will summarize this feedback for the presenters. I will also use the same list of attributes to structure my own evaluation of the presentation, which will take place in a face-to-face "debriefing" with the presenters, with the grade generated as a summary of that meeting.

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 by 1:15pm Thursday (September 5) so that I can make the presentation and lab group assignments in time for the lab staring Monday.

The topics are:

  1. September 18: "Scalable Linux Scheduling", Stephen Molloy and Peter Honeyman, FREENIX Track: 2001 USENIX Annual Technical Conference, pp. 285-295.
  2. September 20: "PMQS : Scalable Linux Scheduling for High End Servers", Hubertus Franke, Shailabh Nagar, Mike Kravetz, and Rajan Ravindran, Fifth Annual Linux Showcase and Conference.
  3. October 4 (rescheduled to October 11): "X Meets Z: Verifying Correctness In The Presence Of POSIX Threads", Bart Massey and Robert Bauer, FREENIX Track: 2002 USENIX Annual Technical Conference, pp. 221-234.
  4. October 15: "The JX Operating System", Michael Golm, Meik Felser, Christian Wawersich, and Jürgen Kleinöder, General Track: 2002 USENIX Annual Technical Conference, pp. 45-58.
  5. October 29: "The Challenges of Integrating the Unix and Mac OS Environments", Wilfredo Sánchez, 2000 USENIX Annual Technical Conference, invited talk, updated version as of May 5, 2002.
  6. October 30: "GPFS: A Shared-Disk File System for Large Computing Clusters", Frank Schmuck and Roger Haskin, Proceedings of the Conference on File and Storage Technologies, 2002, pp. 231-244.
  7. November 6: "Track-Aligned Extents: Matching Access Patterns to Disk Drive Characteristics", Jiri Schindler, John Linwood Griffin, Christopher R. Lumb, and Gregory R. Ganger, Proceedings of the Conference on File and Storage Technologies, 2002, pp. 259-274.
  8. November 19: "Ningaui: A Linux Cluster for Business", Andrew Hume and Scott Daniels, FREENIX Track: 2002 USENIX Annual Technical Conference, pp. 195-206.
  9. November 26: "Structure and Performance of the Direct Access File System (DAFS)", Kostas Magoutis, Salimah Addetia, Alexandra Fedorova, Margo Seltzer, Jeff Chase, Drew Gallatin, Richard Kisley, Rajiv Wickremesinghe, and Eran Gabber, General Track: 2002 USENIX Annual Technical Conference, pp. 1-14.
  10. December 3: "Setuid Demystified", Hao Chen, David Wagner, and Drew Dean, 11th USENIX Security Symposium, August 2002.
  11. December 6: "Deanonymizing Users of the SafeWeb Anonymizing Service", David Martin and Andrew Schulman, 11th USENIX Security Symposium, August 2002.
  12. December 10: "How to 0wn the Internet in Your Spare Time", Stuart Staniford, Vern Paxson, and Nicholas Weaver, 11th USENIX Security Symposium, August 2002.

Homework assignment policy

I will assign homework problems. You may turn in any individual homework problem whenever you think you have it solved. I will return it to you as quickly as I can, but normally with only an indication of whether it is acceptable or needs more work. (Sometimes I may give a brief indication of what area it needs more work in.) If a problem needs more work, and you aren't sure what sort of work it still needs, you should treat that as an invitation to come talk with me about it. Once you've done the additional work, you may turn the problem in again. In fact, you may turn in each problem in as many times as you like, until it is marked as acceptable. Your grade for the homework portion of the course will be based on the fraction of homework problems that you eventually did acceptably.

Normally homework problems may be turned in at any time up until 10:30 on October 16 for chapters 1-10, and 10:30 on December 13, for the remainder. However, if we would benefit from discussing a homework problem in class, I may issue a "last call" for solutions to that problem, at least a week in advance.

Unless I indicate that a particular problem must be done individually, you may work on any problem in a group of two or three students. One copy of the solution produced by the team should be turned in, with all team members names on it. Write "we all contributed fairly to this solution" and have all team members sign under that statement.


There will be midterm and final exams. Based on experience in past years, I have switched the midterm exam to the evening, in order to provide a less time-pressured test format. As shown in the syllabus, the midterm will be 7:00-8:30pm on October 22 in OHS 317. Please let me know as soon as possible if you won't be able to take the test at that time. In that case, I will be happy to set up another hour and a half time block that works for you. The final exam will be as scheduled by the registrar.


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 lab assignments

All 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.


I will provide you with a letter grade on each 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:

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.


Please contact me immediately if you have a learning or physical disability requiring accommodation.


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.

9/62Computer-system structures

9/9Lab 1: Scheduling experiments
9/103Operating-system structures

9/16Lab 1 (concludes)
9/176CPU scheduling
9/18paper 1Scalable Linux Scheduling
9/20paper 2Pooled Multi-Queue Scheduling

9/23Lab 2: Kernel-level experimentationLab 1
9/247.0-7.6Process synchronization
9/257.7-7.10More on process synchronization

9/30Lab 2 (continued)
10/4Lab 2 (continued)

10/7Lab 2 (concludes)
10/89Memory management
10/910.0-10.4Virtual memory
10/11paper 3Verifying Correctness

10/1410.5-10.8More on virtual memory
10/15paper 4The JX Operating System
10/16review/catch-upHW, chapters 1-10
10/17no class, just a due date (at 5pm)Lab 2

10/22mid-term exam, 7:00-8:30pm, OHS 317
10/2311.0-11.5File systems
10/2511.6-11.11More on file systems

10/28Lab 3: Filesystem locality
10/29paper 5Integrating Unix and Mac OS
10/30paper 6A large-cluster file system
11/112I/O systems

11/4Lab 3 (continued)
11/513Mass storage
11/6paper 7Track-Aligned Extents
11/814Network structures

11/11Lab 3 (continued)
11/12More on networking
11/13(class canceled)
11/1515Distributed communication

11/18Lab 3 (concludes)
11/19paper 8A Linux Cluster
11/2017Distributed file systemsLab 3
11/22Lab 4: Distributed communication (a Friday lab)

11/25Lab 4 (continued)
11/26paper 9Direct Access File System

12/2Lab 4 (continued)
12/3paper 10Setuid Demystified
12/4Lab 4 (continued)
12/6paper 11Deanonymizing Users of SafeWeb

12/9Lab 4 (concludes)
12/10paper 12How to 0wn the Internet
12/11Infrastructure tour
12/13review/catch-up/evaluationHW and Lab 4

Course web site:
Instructor: Max Hailperin <>