Operating Systems CMPSC 473 Introduction and Overview August 24, 2010 - Lecture 1 Instructor: Bhuvan Urgaonkar.

Slides:



Advertisements
Similar presentations
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Advertisements

CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
1: Operating Systems Overview
Disco Running Commodity Operating Systems on Scalable Multiprocessors.
OS Spring’03 Introduction Operating Systems Spring 2003.
Modified from Silberschatz, Galvin and Gagne ©2009 CS 446/646 Principles of Operating Systems Lecture 1 Chapter 1: Introduction.
1 Last Class: Introduction Operating system = interface between user & architecture Importance of OS OS history: Change is only constant User-level Applications.
1.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Instructor:
Chapter 1: Introduction
OS Spring’04 Introduction Operating Systems Spring 2004.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
Winter 2015 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University Introduction and Overview.
CSE 501N Fall ‘09 00: Introduction 27 August 2009 Nick Leidenfrost.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
1 Introduction to Operating Systems 9/16/2008 Lecture #1.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Operating Systems CSCI 411.
Operating Systems CSE 411 Introduction and Overview Sept Lecture 1 Instructor: Bhuvan Urgaonkar.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto OS-Related Hardware.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
CT 1503 Network Operating Systems Instructor: Dr. Najla Al-Nabhan 2014.
Course Information Sarah Diesburg Operating Systems COP 4610.
Course Information Andy Wang Operating Systems COP 4610 / CGS 5765.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
G53SEC 1 Reference Monitors Enforcement of Access Control.
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Welcome to CPS 210 Graduate Level Operating Systems –readings, discussions, and programming projects Systems Quals course –midterm and final exams Gateway.
CS533 Concepts of Operating Systems Class 1 Course Overview.
COP4610/CGS5765 Operating Systems Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: W M F 9:10am – 10:00am, or by appointments.
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.
Virtualization: Techniques and Applications CSE 598F Introduction and Overview Lecture 1: January 11, 2011 Instructor: Bhuvan Urgaonkar.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 1: Introduction & OS Structures (Part One, Chapters 1&2)
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
CSI 3131 Summer 2016 Principles of Operating Systems Instructor: Dr. Nathalie Japkowicz Office: STE 5029 Office Hours: n In.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
CSC322 OPERATING SYSTEM Mr. Dilawar Lecturer, Department of Computer Science, Jahan University Kabul, Afghanistan.
Introduction to Operating Systems Concepts
Computer Organization & Design 计算机组成与设计
Andy Wang Object Oriented Programming in C++ COP 3330
Operating Systems CMPSC 473
Andy Wang COP 5611 Advanced Operating Systems
Course Information Mark Stanovich Principles of Operating Systems
Chapter 1: Introduction
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Object Oriented Programming in C++ COP 3330
Andy Wang Operating Systems COP 4610 / CGS 5765
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Operating Systems Lecture 3.
Andy Wang Operating Systems COP 4610 / CGS 5765
System calls….. C-program->POSIX call
CSE 153 Design of Operating Systems Winter 2019
Instructor: Xiuwen Liu Department of Computer Science
Andy Wang Operating Systems COP 4610 / CGS 5765
EECE.4810/EECE.5730 Operating Systems
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment. Phone:
Lecture 1 Class Overview
In Today’s Class.. General Kernel Responsibilities Kernel Organization
Presentation transcript:

Operating Systems CMPSC 473 Introduction and Overview August 24, Lecture 1 Instructor: Bhuvan Urgaonkar

About me Bhuvan Urgaonkar –Research areas OS, distributed systems, storage, performance evaluation –Office hours: TR 11am-1pm, or by appointment –Office: 338D, IST Building – cse. psu. edu Welcome!

Administrative Stuff

Other teaching staff Teaching Assistant: OhYoung Jang –Office address/hours: TBD – TBD

Online resources and text-book Course Web page: – All material will be available via ANGEL –Please seek help from the TA if needed Text-book –Operating Systems Concepts, 8th ed., Silberschatz, Galvin, and Gagne

Seeking help via ANGEL’s course mailing list –Use with care You are welcome to us any questions, complains, suggestions, etc. –Make sure to include “CMPSC 473” in the subject –If we don’t respond soon enough, send a reminder or talk to me after class

Grading Projects (4): = 60% Exams (2): = 40% Final grade may involve some “curving.” –Last year: 90+: A, 85+: A-, 80+: B+, 75+: B, … –Will know more as the course progresses Occasional in-class quizzes –Will not be part of your grade –Useful in preparing for exams and keeping up with covered material

Projects will be done individually Grades based on demos in front of TA Late policy: 20% per extra day for projects –Inform TA well in advance if there is a real reason for a delay in project submission –Same for conflict exams Projects

Computing resources Linux/Solaris accounts for projects me or the TA if you don’t have an account or have any doubts/problems

Academic honesty Do all projects on your own –Please do not copy, lift code off the Web, etc. Please do not use rentacoder.com et al. We will use software to compare project source codes –You are expected to know everything about each project

Assumed background First course on algorithms and data structures Comfortable programming in C/C++ –Comfortable with a de-bugger like gdb Preliminary understanding of computer architecture –We will cover some basics in this course Talk to me if you have doubts

Before we begin … Some advice –Speak up in class, ask questions –Attend all classes Hint: Ideas concerning projects and exams –Do all projects on your own! –Make good use of office hours –Bring print-outs of lectures to class and take notes on them Print multiple slides on one paper –Read text-book soon after class Sections to read will be made available on the Web site alongside lecture notes Even better: read before class and come prepared with questions

Operating Systems: Introduction & Background

Operating System Definition Definition using functionality OS is a resource allocator –Divides up resources among programs –Decides between conflicting requests for efficient and fair resource use OS is a control program –Controls execution of programs to prevent errors and improper use of the computer OS virtualizes resources

OS Virtualizes Resources Resources –CPU –Memory –I/O devices Virtual resources –Process (Address space) –Virtual memory –File

How a Modern Computer Works

Key Interfaces ISA, API, ABI, System calls

Dual CPU Mode Dual-mode operation allows OS to protect itself and other system components –User mode and kernel mode –Mode bit provided by hardware Provides ability to distinguish when system is running user code or kernel code Some instructions designated as privileged, only executable in kernel mode

Protected Instructions Privileged instructions & registers: –Direct access to I/O –Modify page table pointers, TLB –Enable & disable interrupts –Halt the machine, etc.

Kernel/User Mode A modern CPU has at least two modes –Indicated by status bit in protected CPU register –OS runs in privileged mode Also called kernel or supervisor mode –Applications run in normal mode Events that need the OS to run switch the processor to privileged mode –E.g., division by zero OS can switch the processor to user mode One OS definition: Software than runs in privileged mode –True for many OSes –OS designs with code in user mode also exist Pro: More reliable, Con: Performance degradation due to more user/kernel switches (later)