CS162: Operating Systems and Systems Programming

Instructor: Ion Stoica
Lecture: MW 6:30-8:00PM, 245 Li Ka Shing


WeekDay#TitleReading/SectionHW AssignedProjectEvent
1W 01/181Intro to CS162A&D Ch1
F 01/20Section 1: ToolsHW0: Executable
due 1/30
2M 01/232Introduction to the ProcessA&D CH2.1-7, 3.1-3
W 01/253Processes, Fork, I/O, FilesA&D CH2.8-9, 3.1-3
F 01/27Early Drop Deadline! (Must drop course by today!)Section 2: Processes

Drop Deadline

3M 01/304I/O Continued, Sockets, NetworkingA&D 2.10-11, 3.4-6, 11.1-2HW1: Basic Shell
due 2/13
W 02/015Concurrency: Processes and Threads
F 02/03Section 3: Syscalls, I/OGroup Creation Deadline
4M 02/066Cooperating threads, SynchronizationA&D Ch 4.1-5, OSC 2.7, 3.6Threads releaseGroup TA Preference Deadline
W 02/087Mutual Exclusion, Lock ImplementationA&D Ch 4.5-10, OSC Ch 6
F 02/10Section 4: Threads
5M 02/138Semaphores, Condition Variables, Readers/WritersA&D 5.1-9
"The Bug Heard 'round the World,"
"Medical Devices: The Therac-25"
HW2: HTTP Server
due 3/6
W 02/159Synchronization (Finish), SchedulingA&D 5.4, 5.7Initial Design Doc Due
F 02/17Section 5: Thread Synchronization
6M 02/20President Day (Holiday)A&D 7.1
W 02/2210Advanced Scheduling, DeadlockMidterm I review TBA
F 02/24Section 6: Synchronization and Scheduling
7M 02/27Midterm I (No class): 6:30-8:00 PM in Li Ka Shing 245A&D 7.2-5Midterm I (No class): 6:30-8:00 PM in Li Ka Shing 245
W 03/0111Deadlock, Address Translation, Virtual MemoryA&D 2.7, 6.5, 8.1-2
F 03/03Section 7: Scheduling and FairnessCode Due
8M 03/0612Address Translation, CachingA&D 8.3, 9.1-7HW3: Malloc
due 3/24
Final Report Due
W 03/0813Address Translation, Caching (Con't) Userprog release
F 03/10Section 8: Address Translation
Address Translation Example
9M 03/1314Caching (finished), Demand PagingA&D 9.6-7
W 03/1515Demand Paging (finished), I/O startInitial Design Doc Due
F 03/17Section 9: Calling Conventions, Cache and TLB, Demand Paging
10M 03/2015Demand Paging (finished), I/O startOSC 13.1-5, A&D 11.1-4, 12, A&D 12.1, 7.5Midterm II Review Session TBA
Tu 03/21Midterm II (TUESDAY): 6:30-8PM TBAMidterm II (TUESDAY): 6:30-8PM TBA
W 03/2216Input/Output, I/O Layers, Storage DevicesI/O Performance and Low-level OptimizationA&D 12-12.3, Fast File System
F 03/24Section 10: Intro to I/O and File Systems
11M 03/27Spring Recess (No classes)
W 03/29Spring Recess (No classes)
12M 04/0317File SystemsDesign: Concept to FAT, Advanced File Systems: FFS, NTFS, COWCode Due
W 04/0518FileSystems (finished), MMAP end-to-end paper, Dist Sys: RPC,
The Byzantine Generals Problem.
Final Report Due
F 04/07Section 11: Device Drivers, FAT, Queuing Theory, MMAPFile Systems release
13M 04/1019Reliability, Transactions, Distributed system
W 04/1220Distributed Systems (Con't), Layering, TCP/IPNFS Chap , Van J's TCP paperInitial Design Doc Due
F 04/14 Section 12: File Systems and Reliability, Two Phase Commit
14M 04/1721Distributed Systems (Con't): TCP/IP, Distributed Decision Making, NFS, AFS file systems
W 04/1922Distributed Storage, Key Value Stores, Security, Consistency
F 04/21Section 13: Basic Networking and Distributed StorageMidterm III Review Session TBA
15M 04/24Midterm III (No Class): Location TBAMidterm III Location TBA
W 04/2623Security, Cloud Services & Cloud Infrastructure
F 04/28
16M 05/01RRNo MeetingCode Due
W 05/03RRNo MeetingReport Due
F 05/05RRNo Meeting
17F 05/12No Final Exam

Weekly Schedule (Lecture and Sections)

Click here to see office hours

Monday Tuesday Wednesday Thursday Friday
9:00-9:30 DIS 101: 138 Morgan (Nathan)
11:00-11:30 DIS 102: 9 Evans (Josh) DIS 103: 70 Evans (Nathan)
12:00-12:30 DIS 104: 245 Hearst Gym (Melissa) DIS 105: 3105 Etcheverry (Joao)
1:00-1:30 DIS 106: 3105 Etcheverry (Joao) DIS 107: 179 Stanley (Melissa)
2:00-2:30 DIS 108: 2062 VLSB (Apurv) DIS 111: 310 Soda (Cory)
3:00-3:30 DIS 109: 2030 VLSB (Apurv)
4:00-4:30 DIS 110: 130 Dwinelle (Justin)
6:00-6:30 LEC: 245 Li Ka Shing LEC: 245 Li Ka Shing

Please note that all events start 10 minutes after they are listed on the above calendar due to Berkeley time.

Office Hours

This calendar includes changes in the normal Office Hours schedule (cancellation and rescheduling).