CSE 120: Principles of Computer Operating Systems

Spring 2009

Instructor
Geoffrey M. Voelker (voelker@cs.ucsd.edu)
CSE 3108
(858) 822-3323
Lectures
Tue/Thu 11am – 12:20pm
Peterson 104
Teaching Assistants
Will Chang (wychang@cs.ucsd.edu)
Chris Whitney (crwhitne@ucsd.edu)
Discussion Sections
Wed 1–1:50pm
Center 109
Office Hours
Voelker: Mon 3-4pm, Wed 4-5pm (CSE 3108)
Chang: Tue 10-11am, Thu 1-2:30pm (CSE B230)
Labs
CSE basement
Textbook
Silberschatz, Galvin, Gagne, Operating System Concepts, 7th Edition
John Wiley & Sons, Inc. ISBN 0-471-69466-5 (other editions also acceptable)
Class Mailing List
cse120@cs.ucsd.edu
Discussion Board
http://webboard.ucsd.edu

Course Objectives

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.

Course Organization

The course is organized as a series of lectures by the instructor, discussion sections by the TAs, reading, homework, and project assignments, and exams:

Homework

Homeworks are due at the beginning of class on the day specified. We will reduce homework grades by 20% for each day that they are late (end of class is considered late). You must hand in a hardcopy of your homework; disagreements about the contents of emailed homeworks have caused too much grief in the past.

I encourage you to collaborate on the homeworks: You can learn a lot from your fellow students. However, there can be a fine line between collaboration and cheating. 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 library with others, go home, and then write up your answer to the problem on your own. Cheating consists of looking at other student's homeworks and copying the answers, looking at past homeworks and/or solutions from previous versions of the class, searching on the Web, etc. The consequences of cheating will correspond to the severity (e.g., failure of the assignment, failure of the course). Cheating causes many problems for all of us -- don't do it, and save us all the grief.

The academic honesty guidelines outlined by Charles Elkan for CSE 130 apply to this course.

Projects

The course has one tutorial project and three programming projects using the Nachos instructional operating system. You will work in groups of at most four on each of the projects.

Exams

The course has two exams, a midterm and a final. The midterm will cover the first half of the class, and the final will cover the material for the entire quarter. Below are sample exams to help you study.

Discussion Sections

Discussion sections answer questions about the lectures, homeworks, projects, and programming environment. They may also supplement the lectures with additional material.

Grading

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:

Course Schedule

The following table outlines the schedule for the course. We will update it as the quarter progresses.

Date Lecture Readings Homework Project
3/31 Course Intro Chapter 1, Nachos    
4/2 OS Architectural Support Chapter 2 Homework 1: Out Project 0: Out
4/7 Processes Chapter 3    
4/9 Threads Chapter 4 Homework 1: Due Project 0: Due
Project 1: Out
4/14 Synchronization Chapter 6.1-6.6 Homework 2: Out  
4/16 (No lecture, work on project)      
4/21 Semaphores and Monitors Chapter 6.7-6.10    
4/23 Scheduling and Deadlock
Chapter 6.7-6.10 Homework 2: Due  
4/26 (Sunday)   Homework 3: Out  
4/27 (Monday)     Project 1: Due
4/28 Scheduling and Deadlock Chapters 5, 7    
4/30 Review     Project 2: Out
5/3 (Sunday)   Homework 3: Due  
5/5 Midterm Exam      
5/7 Memory Management Chapter 8    
5/12 Paging Chapter 9 Homework 4: Out  
5/14 Paging (cont'd) Chapter 9    
5/19 Page Replacement Chapter 9    
5/21 File Systems Chapters 10, 11    
5/25 (Monday)     Project 2: Due
5/26 FFS, LFS, and RAID Chapter 11.8, 12.7 Homework 4: Due
Homework 5: Out
Project 3: Out
5/28 RPC, NFS Chapter 11.9    
6/2 Virtual Machine Monitors      
6/4 Course Summary, Final Review   Homework 5: Due  
6/7 (Sunday)     Project 3: Due
6/9 Final Exam: 11:30am – 2:30pm      

Supplemental Reading

The supplemental readings include primary sources and in-depth supplements for concepts in the class. Supplemental reading is for your own interest — the readings are not required, nor will you be tested on the material. Note that some of the links to the documents point to the ACM Digital Library. UCSD has a subscription to the ACM Digital Library, so you will need to use a web browser on campus to access them.


voelker@cs.ucsd.edu