Operating Systems Lecture 1 Jinyang Li. Class goals Understand how an OS works by studying its: –Design principles –Implementation realities Gain some.

Slides:



Advertisements
Similar presentations
Lecture 12 Page 1 CS 111 Online Devices and Device Drivers CS 111 On-Line MS Program Operating Systems Peter Reiher.
Advertisements

Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Operating Systems CS451 Brian Bershad
W4118 Operating Systems OS Overview Junfeng Yang.
Operating Systems. What is an Operating System? A layer of software between users/applications and the hardware. The first program loaded onto a computer.
© 2004, D. J. Foreman 1 CS350 Operating Systems. © 2004, D. J. Foreman 2 Administrivia  Assignments ■ Homework on most chapters ■ Approximately 8 lab.
Operating Systems Concepts Professor Rick Han Department of Computer Science University of Colorado at Boulder.
OS Spring’03 Introduction Operating Systems Spring 2003.
Operating Systems - Introduction S H Srinivasan
Figure 1.1 Interaction between applications and the operating system.
CS4315A. Berrached:CMS:UHD1 Operating System Structures Chapter 3.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Stack Management Each process/thread has two stacks  Kernel stack  User stack Stack pointer changes when exiting/entering the kernel Q: Why is this necessary?
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
Distributed systems [Fall 2014] G Lec 1: Course Introduction.
Chapter 1 CS 3204: Introduction. CS 3204: Operating Systems2 What is an Operating System (OS) ? Definition 1: An OS is the interface between the hardware.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
CSE 451: Operating Systems Section 10 Project 3 wrap-up, final exam review.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto OS Design.
Introduction and Overview Summer 2014 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 E-Main: Phone:
MODERN OPERATING SYSTEMS Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CT 1503 Network Operating Systems Instructor: Dr. Najla Al-Nabhan 2014.
Background: Operating Systems Brad Karp UCL Computer Science CS GZ03 / M th November, 2008.
Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
Processes Introduction to Operating Systems: Module 3.
Lecture 8: 9/19/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
1 Operating Systems: Principles and Practice Cpr E 308.
CS 346 – Chapter 2 OS services –OS user interface –System calls –System programs How to make an OS –Implementation –Structure –Virtual machines Commitment.
Lecture 2 Page 1 CS 111 Online System Services for OSes One major role of an operating system is providing services – To human users – To applications.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Welcome to CPS 210 Graduate Level Operating Systems –readings, discussions, and programming projects Systems Quals course –midterm and final exams Gateway.
COP 4610 Introduction to Operating Systems. Chapter 1 - Introduction OS - Layer between the hardware and user programs (Figure 1.1) OS - The ultimate.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
CS1253- OPERATING SYSTEMS. SYLLABUS UNIT I PROCESSES AND THREADS 9 Introduction to operating systems – Review of computer organization – Operating.
1 Advanced Operating Systems - Fall 2009 Lecture 2 – January 12, 2009 Dan C. Marinescu Office: HEC 439 B.
Operating Systems Introduction & Overview. Books (Tentative) Text Book: –Operating System Concepts, 6 th Edition, Silberschatz Galvin Gagne Reference.
12/2/091 What is an Operating System Andy Konwinski CS61CL Dec 2, 2009 Lecture 13 UCB CS61CL F09 Lec 13.
Operating Systems CSE 411 Revision and final thoughts Revision and final thoughts Dec Lecture 33 Instructor: Bhuvan Urgaonkar.
CCSB234/CSNB234 Operating System Concepts Semester 2, Dec 2006 – Mar 2007 Abdul Rahim Ahmad.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Overview of today’s lecture Major components of an operating system Structure and internal architecture of an operating system Monolithic Vs Micro-kernels.
Welcome to Intro to Operating Systems Course Website:
CMPS Operating Systems Prof. Scott Brandt Computer Science Department University of California, Santa Cruz.
Introduction to Operating Systems Concepts
COMPSCI 110 Operating Systems
Final exam: Wednesday, March 20, 2:30pm
COMPSCI 110 Operating Systems
CS 854: Advanced Topics in Operating Systems
GEOMATIKA UNIVERSITY COLLEGE CHAPTER 2 OPERATING SYSTEM PRINCIPLES
Subject Name: Operating System Concepts Subject Number:
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Operating Systems Structure
Instructor: Xiuwen Liu Department of Computer Science
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Lecture Topics: 11/1 Hand back midterms
Introduction and History
Presentation transcript:

Operating Systems Lecture 1 Jinyang Li

Class goals Understand how an OS works by studying its: –Design principles –Implementation realities Gain some hands-on experience with implementing some OS components

OS makes a computer “usable” What is an OS? Why need an OS? (Why not directly programm h/w?) –Lots of tedious details –Devices differ in their programming details –Redundant work across apps –Many apps want to use the same device (simultaneously)

What’s an OS? The small view: –A library that manages hardware The big view: –OS provides an abstract machine on top of the physical machine –The abstract machine has better properties than the physical one

OS is an abstract machine Hardware (CPU, memory, disk, printer, network cards) OS kernel (e.g. Linux, OS X, Windows) User applications (e.g. emacs, firefox) OS controls h/w using h/w’s interface e.g. write data to disk read h/w register write h/w register to set up DMA start DMA …. Apps use OS interfaces: e.g. write data to a file write(fd, buffer);

This class is about both design & implementation Hardware (CPU, memory, disk, printer, network cards) OS kernel (e.g. Linux, OS X, Windows) User applications (e.g. emacs, firefox) How to program the hardware is part of the OS implementation What type of OS abstractions to provide to apps is part of the OS design

Typical OS services Processes Address space File contents File namespace (directories, pathnames) Inter-process communication …

OS design goals Usability: abstract the hardware for programmer convenience Utilization: Multiplex the hardware among multiple applications Robustness: Isolate applications to contain bugs; prevent bad apps from crashing OS High Performance, low overhead

Why is OS design hard? Performance vs. ease of programmability Many features Complex component interactions Constantly evolving to handle new h/w, new app demands etc. Open problems: security, parallelism

Why should you take this class? OS is the foundation of systems programming –It’s challenging and important Learn what goes under the hood so you’ll be better at: –Using OS services effectively to build your own programs –Understanding the performance of your own programs –Diagnosing bugs and security problems

Class structure Staff: –Jinyang Li, 715 Broadway Rm 708 Lectures –Teach basic OS concepts –Read required book chapters, papers, handouts before attending lecture –Check class schedule on the web often!

Class structure Mini-labs –3 programming labs –C-based –Each lab is a fully functional small kernel illustrating one OS functionality –You need to have basic C programming experience to do the labs! Two quizzes –In-class quizzes, one mid-term, one final quiz –Strong students can skip final quiz and do a project instead (upon approval)

Class materials WebSite – –Check schedule, announcements, reading preparation, labs etc. Textbook –``Modern Operating Systems'' by Andrew Tanenbaum –Lectures loosely follow this book Class mailing list: – the list your question so everybody can contribute to the discussion

How are you evaluated? Class participation (10%) Three labs (15% each) Two quizzes (25% each)

Question?