CSE 120: Principles of Computer Operating Systems (2024)

CSE 120: Principles of Computer Operating Systems (1)Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau
Operating Systems: Three Easy Pieces
Version 1.00 (Available free online!)

Course Objectives

This course covers the principles of operating systems. Itemphasizes the basic concepts of OS kernel organization and structure,processes and threads, concurrency and synchronization, memorymanagement, file systems, and communication. It is also a projectcourse, providing essential experience in programming withconcurrency, implementing and unmasking abstractions, working withinan existing complex system, and collaborating with other students in agroup effort.

Course Schedule

The following table outlines the tentative schedule for the course. We willupdate it as the quarter progresses.

DateLectureReadingsOptionalHomeworkProject
3/31Course IntroCH. 1, CH. 2HW 1: Out PR 0: Out
4/2Interaction between hardware, OS, and applicationsCH. 6
4/7ProcessesCH. 4, CH. 5Linux context switch
4/9ThreadsCH. 26, CH. 27
4/14SynchronizationCH. 28, CH. 29HW 1: Due
HW 2: Out
PR 1: Out
PR 0: Due
4/16SemaphoresCH. 31
4/21Conditional Variables, Concurrency BugsCH. 30, CH. 32
4/23CPU SchedulingCH. 7, CH. 8
4/25(Saturday)HW 2: Due
4/28Midterm Review
4/30Midterm Exam
5/5Memory Management OverviewCH. 15,CH. 16,HW 3: Out
5/7PagingCH. 18,CH. 19,CH. 20 PR 1: Due
PR 2: Out
5/12Swapping, Memory Allocation and SharingCH. 21,
5/14Page ReplacementCH. 22,
5/19Working Sets, Storage DevicesCH. 37,
5/20(Wednesday)HW 3: Due
HW 4: Out
5/21File System Interface and LayoutCH. 39,CH. 40
5/26File System ImplementationCH. 41
5/28File System ReliabilityCH. 42
6/2Distributed Systems, Datacenters, and Clouds CH. 48Berkeley View of Cloud ComputingPR 2: Due
6/3(Wednesday)HW 4: Due
6/4
6/11 Final Exam 7pm - 10pm

Course Organization

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

  • Lectures: The lectures present the core of the material.
  • Sections: The discussion sections aregiven by the TAs to answer questions about the lecture, textbookreadings, homework assignments, and project assignments.
  • Readings: The readings in the textbook provide preparationand a reference for the lectures. Note, however, that they arenot a substitute for the lectures.
  • Homeworks: There are approximately four homework assignments withquestions taken from the textbook and other materials. The homework assignments reinforce the readings and lectures.
  • Projects: There are two programming projects, all usingthe Nachos instructional operating system.
  • Exams: There are two exams, a midterm exam in the middle ofthe quarter and a final exam at the end of the quarter. The examswill cover the material presented in lecture, the homeworks, and theprojects.

Homework

The course will have four homeworks. I will post them as the quarter progresses. You will submit all your homework electronically via Canvas. We will reduce homework grades by 20% for each day that they are late.

Due to extensive copying on homeworks in the past, I have changed how homeworks are graded. As long as you submit a technical answer related to the question, you will get full credit for the question. The goal of the homeworks is to give you practice learning the material. The homework questions both supplement and complement the material from lecture and in the project, and you will also find the homework questions to be useful for practicing for the exams. We will post solutions to all homeworks after they are submitted, and you can use them for studying as well. But, even with the solutions, the amount you learn from the homeworks will be directly correlated with your effort working on them.

I encourage you to collaborate on the homeworks: You can learn alot from your fellow students. Collaboration consists of discussingproblems with other students and independently writing your ownanswers to the problems based upon those discussions. As a rule ofthumb, you should be able to discuss a homework problem in the hallwith others, go home, and then write up your answer to the problem onyour own.

Projects

The course has one tutorial project and two programming projectsusing the Nachos instructional operating system.

  • Project page

Exams

The course has two exams, a midterm and a final. The midterm willcover the first half of the class, and the final will cover thesecond half of the class.

Discussion Sections

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

Grading

Your grade for the course will be based on your performance on thehomeworks, midterm, and (no-fault) final exams, and the three projects using thebetter letter-grade result of the following two calculations:

  • Homeworks: 6%
  • Midterm: 21%
  • Projects: 50%
  • Homeworks: 6%
  • Midterm: 18%
  • Final: 26%
  • Projects: 50%

The academichonesty guidelines outlined by Charles Elkan apply to this course.I urge you to resist any temptation to cheat, no matter how desperatethe situation may seem. If you are in circ*mstances that you feelcompel you to cheat, come to me first before you do so.

Supplemental Reading

The supplemental readings include primary sources and in-depthsupplements for concepts in the class. Supplemental reading is foryour own interest — the readings are not required, nor will you betested on the material. Note that some of the links to the documentspoint to the ACM Digital Library. UCSD has a subscription to the ACMDigital Library, so you will need to use a web browser on campus toaccess them.

yiying@ucsd.edu

CSE 120: Principles of Computer Operating Systems (2024)

References

Top Articles
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 6239

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.