CSE 306: Schedule

This schedule is also available as an ical file that you can subscribe to.

All material covered in the lectures, labs, and required readings may appear on the exams.

Optional readings provide additional explanation of material covered in class that can be useful in preparing for the exams.

Papers are only accessible to hosts in the stonybrook.edu domain, although most are available elsewhere online.

Date Topics Notes Required Readings Optional Readings
Tue 01/27 Snow Day. School closed
Part 1: Operating System Overview
Thu 01/29 Administrative and Introduction
Guest lecture by Mike Ferdman
Slides. Printer friendly slides.
Tue 02/03
Snow Day. School closed
Thu 02/05 C Programming, History of Operating Systems
  1. C Slides. Printer friendly slides.
  2. OS HistorySlides. Printer friendly slides.
Chapter 1
  1. The UNIX Timesharing System (Ritchie and Thompson, SOSP, 1974).
  2. The Linux Edge (Linus Torvalds, Open Sources: Voices from the Open Source Revolution 1999).
  3. Tanenbaum-Torvalds Debate Summary
  4. Tanenbaum-Torvalds Debate: Part II (Tanenbaum 06).
  5. Mach: A New Kernel Foundation for UNIX Development (Accetta, Baron, Bolosky, Golub, Rashid, Tevanian, and Young, USENIX Summer '86).
Tue 02/10 x86 Assembly, Processes and OS Abstractions
  1. Assembly Slides. Printer friendly slides.
  2. Processes Slides Printer Friendly Slides
Chapters 2--2.2.
  1. Chapter 3 of "Understanding the Linux Kernel."
Thu 02/12 Interrupts and system calls
Academic Honesty Homework Due.
Slides Printer Friendly Slides
Chapter 2.3--2.6. Chapter 4 of "Understanding the Linux Kernel."
Part 2: Program Execution
Tue 02/17 Address Spaces and Loading
Guest lecture by Jennifer Wong
Slides. Printer friendly slides.
Chapter 2.7, 3--3.1.
  1. Chapter 9 of "Understanding the Linux Kernel."
  2. The ELF Object File Format: Introduction (Youngdale, Linux Journal 1995)
  3. The ELF Object File Format by Dissection (Youngdale, Linux Journal 1995)
Thu 02/19 OS APIs
Guest lecture by Jennifer Wong
Slides. Printer friendly slides.
Chapter 3.2--3.3.
  1. Chapters 4, 10 of "The Design and Implementation of FreeBSD"
  2. Chapters 11, 12, and 19 of "Understanding the Linux Kernel."
  3. Delivering Signals for Fun and Profit (Zalewski, 2001)
Fri 02/20
Lab 1 Due. 11:59PM.
Part 3: Virtual Memory
Tue 02/24 Virtual Memory
Slides. Printer friendly slides. Chapter 8--8.1.
Thu 02/26 Virtual Memory
Slides. Printer friendly slides. Chapter 8.2-8.3
Tue 03/03 Virtual Memory
Slides. Printer friendly slides. Chapter 9--9.5.
Part 4: Scheduling
Thu 03/05 Snow Day. School closed.
Tue 03/10 CPU Scheduling
Slides. Printer friendly slides. Chapter 7--7.2, 7.5--7.6. Chapter 7 of "Understanding the Linux Kernel."
Thu 03/12 CPU Scheduling
Slides. Printer friendly slides.
  1. The Design and Implementation of an Operating System to Support Distributed Multimedia Applications (Leslie, McAuley, Black, Roscoe, Barham, Evers, Fairbarns, and Hyden, JSAC 1997).
  2. Exploiting Unix File-System Races via Algorithmic Complexity Attacks (Cai, Gui, and Johnson, IEEE Security & Privacy 2009).
Fri 03/13
Lab 2 Due. 11:59PM
Tue 03/17 Spring Recess, Class Canceled
Thu 03/19 Spring Recess, Class Canceled
Part 5: Threads and Synchronization
Tue 03/24 Threads
Slides. Printer friendly slides. Chapters 4--4.5
  1. The Native POSIX Thread Library for Linux (Drepper and Molnar, 2005)
  2. Scheduler Activations: Effective Kernel Support for the User-Level Management of Parallelism (Anderson, Bershad, Lazowska, and Levy, SOSP 1991)
Thu 03/26 Midterm
Tue 03/31 Thread programming overview
  1. Overiew Slides. Printer friendly slides.
  2. Too Much Milk Slides. Printer friendly slides.
Chapter 5--5.2.
  1. Programming with Threads (Birrell 1996).
  2. Why Threads Are a Bad Idea (for most purposes) (Ousterhout, USENIX, 1996).
Thu 04/02 Locks
Slides. Printer friendly slides. Chapter 5.3.
  1. Algorithms for Scalable Synchronization on Shared Memory Multiprocessors (Mellor-Crummey and Scott, TOCS 1991)
  2. Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux (Franke, Russel, and Kirkwood, OLS 2002)
Tue 04/07 Condition Variables
Slides. Printer friendly slides. Chapter 5.4.
  1. Experiences with Processes and Monitors in Mesa (Lampson and Redell, Communications of the ACM 23, 2, 1980).
  2. Chapter 5 of "Understanding the Linux Kernel."
  3. Transactional Memory: Architectural Support for Lock-Free Data Structures (Herlihy and Moss, ISCA 1993)
Thu 04/09 Semaphores, Monitors, Reader/Writer Locks
  1. Semaphore and Monitors Slides. Printer friendly slides.
  2. Reader/Writer Locks Slides. Printer friendly slides.
Chapter 5.5--5.7.
  1. Event-driven Programming for Robust Software (Dabek, Zeldovich, Kaashoek, Mazieres, and Morris, SIGOPS, 2002)
  2. Why Events Are A Bad Idea (for high-concurrency servers) (von Behren, Condit, and Brewer, HotOS, 2003)
Tue 04/14 Deadlocks
Slides. Printer friendly slides. Chapter 6.5
Wed 04/15
Lab 3 Due. 11:59PM
Part 6: File Systems
Thu 04/16 Disk Scheduling
Guest lecture by Mike Ferdman.
Slides. Printer friendly slides.
Chapter 12.
  1. An introduction to Disk Drive Modeling (Ruemmler and Wilkes, IEEE Computer 1994)
  2. Disk from the perspective of a file system (McKusick, CACM 2012)
  3. Chapter 18 of "Understanding the Linux Kernel."
Tue 04/21 Linux Kernel Programming
Slides. Printer friendly slides.
Thu 04/23 File Systems Basics
Slides. Printer friendly slides. Chapter 13 A Fast File System for UNIX (McKusick, Joy, Leffler, and Fabry, TOCS 1984)
Tue 04/28 File System Consistency Issues
Slides. Printer friendly slides.
  1. EXT3, Journaling Filesystem (Tweedie, OLS 2000)
  2. The new ext4 filesystem: Current status and future plans (Mathur, Cao, Bhattacharya, Dilger, Tomas, Vivier, OLS 2007)
Thu 04/30 Linux Virtual File System Layer (VFS)
Slides. Printer friendly slides. Chapter 12, 16 and 18 of "Understanding the Linux Kernel."
Part 7: Security
Tue 05/05 Security Threats
Not covered for snow days; not on exam.
Thu 05/07 Computer Security Techniques
Not covered for snow days; not on exam. Chapter 15
Sun 05/10
Lab 4 Due. 11:59PM
Fri 05/15 Final Exam
11:15 am - 1:45pm. Light Engineering 102.

Copyright Notice: These lecture notes, homeworks, and lab assignments are part of an undergraduate course on operating systems. You must ask me permission to use these materials. I do not grant to you the right to publish these materials for profit in any form.
Donald Porter, Stony Brook University


Last updated: 2015-07-16 09:46:37 -0400 [validate xhtml]