Docsity

CS 537: Intro to Operating Systems, Lecture notes of Operating Systems

Partial preview of the text

Download CS 537: Intro to Operating Systems and more Lecture notes Operating Systems in PDF only on Docsity!

CS 537: INTRO TO OPERATING SYSTEMS

Andrea C. Arpaci-Dusseau

University of Wisconsin-Madison

Fall 2019

WHO AM I?

Professor Andrea Arpaci-Dusseau PhD from U.C. Berkeley – Implicit Coscheduling of Parallel Jobs Postdoc at Stanford – Taught OS course there Teach CS 537, CS 736 (Adv OS), CS 739 (Dist Systems) and CS 402 Co-Advised about 25 PhD students, mostly research in file and storage systems Co-Chair for 2018 OSDI Program Committee 2018 (w/ Remzi) - SIGOPS Mark Weiser award for "outstanding leadership, innovation, and impact in storage and computer systems research"

TODAYS AGENDA

What will you do in this course?

What is an operating system and why do we need one?

Why study operating systems?

Course syllabus

ASSESSMENTS

Lecture Material (50%) Two midterms and a final exam Closed book, multiple choice Assess OS concepts discussed in class May have homeworks as part of this Form study groups of 5 or so; meet weekly to discuss lecture content Projects (50%) Eight programming projects done on CS Linux labs Gain hands-on experience, Build your own OS system calls!

FORMAT

Lecture Tue and Thu, 11:00-12: Location: 1125 BioChem Conceptual content, Shows Slides, Reading matches textbook chapters Discussion 5 “smaller” sections on Wednesday … Hands-on code walk through (BYOL) Explain programming projects Led by TAs (and Peer Mentors)

IMPORTANT LINKS

Course website https://canvas.wisc.edu/courses/ Piazza https://piazza.com/wisc/fall2019/fa19compsci537001/home

MATERIALS

Free

WHAT IS AN OPERATING SYSTEM?

WHAT DOES OS PROVIDE: ROLE

Abstraction: Provide standard library for resources What is a resource? Anything valuable (e.g., CPU, memory, disk) What abstraction does modern OS typically provide? CPU: process and/or thread Memory: address space Disk: files

WHY SHOULD OS DO THIS?

Advantages of OS providing abstraction? Allow applications to reuse common facilities Make different devices look the same Provide higher-level or more useful functionality Challenges What are the correct abstractions? How much of hardware should be exposed?

WHY SHOULD OS DO THIS?

Advantages of OS providing resource management? Protect applications at a common layer Provide efficient access to resources (cost, time, energy) Provide fair access to resources Challenges What are the correct mechanisms? What are the correct policies?

OPERATING SYSTEM ROLES SUMMARY

Two main roles

  • Abstraction
  • Resource management

Common layer to implement roles

Number of design, implementation challenges