Instructor: Xiuwen Liu Department of Computer Science

Slides:



Advertisements
Similar presentations
Interactive lesson about operating system
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.
Introduction. Why Study OS? Understand model of operation –Easier to see how to use the system –Enables you to write efficient code Learn to design an.
Slide 1-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 1.
 Understand model of operation  Easier to see how to use the system  Enables you to write efficient code  Learn to design an OS  Even so, OS is pure.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Winter 2015 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University Introduction and Overview.
1 Introduction to Operating Systems 9/16/2008 Lecture #1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Course Information Sarah Diesburg Operating Systems COP 4610.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
CDA 3100 Fall2009. Special Thanks Thanks to Dr. Xiuwen Liu for letting me use his class slides and other materials as a base for this course.
Course Book Course Objective - The student will be able to describe various operating system concepts as they are applied to memory, process, file system.
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.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
CMPS Operating Systems Prof. Scott Brandt Computer Science Department University of California, Santa Cruz.
Introduction to Operating Systems Concepts
Chapter 1: Introduction
Selected topic in computer science (1)
COMPSCI 110 Operating Systems
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 2: System Structures
Course Information Mark Stanovich Principles of Operating Systems
Introduction to Operating System (OS)
Chapter 1: Introduction
CS 286 Computer Organization and Architecture
Chapter 1: Introduction
Introduction to Operating Systems
Quick Introduction to OS
Chapter 1: Introduction
Introduction and History
Systems Software Keywords Operating Systems
Andy Wang Operating Systems COP 4610 / CGS 5765
GEOMATIKA UNIVERSITY COLLEGE CHAPTER 2 OPERATING SYSTEM PRINCIPLES
COP 5611: Operating Systems
CDA 3100 Spring 2009.
Introduction.
Outline Introduction to Operating Systems Using the Operating Systems
Andy Wang Operating Systems COP 4610 / CGS 5765
CDA 3100 Spring 2010.
Chapter 1: Introduction
Unit 1: Introduction to Operating System
Andy Wang Operating Systems COP 4610 / CGS 5765
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Outline Chapter 2 (cont) OS Design OS structure
Introduction and History
Chapter 1: Introduction
Chapter 1: Introduction
Andy Wang Operating Systems COP 4610 / CGS 5765
Operating Systems: A Modern Perspective, Chapter 3
Chapter 1: Introduction
Introduction.
Software - Operating Systems
System calls….. C-program->POSIX call
Introduction and History
Chapter 1: Introduction
Chapter 2 Operating System Overview
TOPIC: HARDWARE AND SOFTWARE
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.
Andy Wang Operating Systems COP 4610 / CGS 5765
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Chapter 2: Operating-System Structures
An Introduction to Operating Systems
Chapter 1: Introduction
In Today’s Class.. General Kernel Responsibilities Kernel Organization
Presentation transcript:

Instructor: Xiuwen Liu Department of Computer Science COP 4610:Introduction to Operating Systems CGS 5765: Principles of Operating Systems Instructor: Xiuwen Liu Department of Computer Science Florida State University Please pick up the syllabus from the front

Outline Class organization Programming environment at Computer Science Syllabus Programming environment at Computer Science Introduction to Operating Systems A survey 5/7/2019 COP4610

Class organization Class syllabus Class web page Comments Grading Academic honor code Programs you submitted must be your own While discussions of class materials and assignments are allowed, discussion and copying of solutions is strictly prohibited. 5/7/2019 COP4610

Class Email List Class email list I sent a message with the subject “We are going to have the first recitation on Aug. 27” on Monday, Aug. 25 If you have not received the email, or would like to use another email, please send me an email with your email address Some of you did not receive the message because of problems such as wrong email address in your record I will send important announcements through the mailing list 5/7/2019 COP4610

Recitation Session Recitation session will be taught by the instructor You are required to attend the same session as you registered Recitation session will focus on Questions and answers Programming examples First recitation session is this Wednesday, Aug. 27. 5/7/2019 COP4610

Textbook You are required to read the chapters in the textbook You can skip sections only when specified You are NOT required to read programming examples in the dotted boxes However, you are required to know programming examples given in class and those related to programming projects You may be tested on the materials in the textbook but not fully covered in the class I will specify those sections clearly for self studying The majority on quizzes and exams will be covered in the class 5/7/2019 COP4610

Textbook - continued Some comments on the textbook This class focuses on basic principles All the programming assignments will be done in Unix / Linux environment Comments from amazon.com 5/7/2019 COP4610

Programming Environment linprog consists of four linux machines program consists of four Sun workstations Three programming assignments must be done on either linprog or program Doing the assignments on other machines is not allowed 5/7/2019 COP4610

Programming Environment – cont. Access ssh to those machines ssh linprog ssh program 5/7/2019 COP4610

Linux/Unix Tutorial You are expected to know how to use Linux/Unix How to edit a program – e.g., emacs, pico, vi How to compile a program – gcc, g++ How to run a program How to navigate through your files – cd, mkdir, mv, rm, rmdir, ls On-line resources Unix Guide 5/7/2019 COP4610

Expectations You are expected to have a strong desire to learn something new (and may be difficult sometimes) You are expected to be an Operating System expert You are expected to know how to read and understand manuals System calls Unix commands 5/7/2019 COP4610

Expectations – cont. System call manual pages Syntax Semantics Function prototype How to call a function Semantics The meanings of the function What it does with different parameter values fork example 5/7/2019 COP4610

System Overview A computer system consists of hardware and software that are combined to provide a tool to solve specific problems Hardware includes CPU, memory, disks, printers, screen, keyboard, mouse ... Software includes System software A general environment to create specific applications Application software A tool to solve a specific problem 5/7/2019 COP4610

System Overview – cont. 5/7/2019 COP4610

Hardware Resources Processor: execute instructions Memory: store programs and data Input/output (I/O)controllers: transfer to and from devices Disk devices: long-term storage Other devices: conversion between internal and external data representations 5/7/2019 COP4610

Hardware Resources – cont. 5/7/2019 COP4610

Hardware Interface – cont. Everything that a programmer needs to know in order to write programs that perform desired operation on the hardware Disk drive is an example Disk interface provides functions to move disk head, transfer data Monitor Monitor interface provides functions to move the cursor, display characters/graphics 5/7/2019 COP4610

Software Classification System software Provides a general programming environment in which programmers can create specific applications Application software Intended to solve a specific problem 5/7/2019 COP4610

Software Classification - continued 5/7/2019 COP4610

What is an Operating System? The operating system is the part of the system software that manages the use of the hardware used by other system software and all application software It is the system program that acts between the hardware and the user programs 5/7/2019 COP4610

What is an Operating System? - continued It provides services to user programs Through system calls / message passing File system services Memory services I/O services It hides hardware from user programs When your program shows a message on the monitor, it does not need to know the details When your program generates a new file, it does not need to where the free space is on your hard drive 5/7/2019 COP4610

Differences between OS and System Software Major differences between OS and general system software General system software relies on the abstractions provided by OS OS abstracts the hardware directly OS provides the fundamental trusted mechanisms for resource sharing A general purpose OS is domain-independent 5/7/2019 COP4610

Operating System Functions Resource manager manage hardware and software resources Resource abstraction and sharing A nicer environment implement a virtual machine for processes to run in A program in execution is called a process a nicer environment than the bare hardware 5/7/2019 COP4610

Resource Management Functions Transform physical resources to logical resources Resource abstraction Make the hardware resources easier to use Multiplex one physical resource to several logical resources Create multiple, logical copies of resources Schedule physical and logical resources Decide who gets to use the resources 5/7/2019 COP4610

Resource Abstraction Provides an abstract model of the operation of hardware components Like data abstraction in Object-Oriented programming Interface functions Internal functions and status 5/7/2019 COP4610

A Disk Device Abstraction Three interface functions Load(block, length, device) seek(device, track) out(device, sector) 5/7/2019 COP4610

A Disk Device Abstraction – cont. An abstract function for writing 5/7/2019 COP4610

Resource Abstraction – cont. Multi-level abstractions Disk controller -> disk driver -> file system 5/7/2019 COP4610

Resource Sharing Two types of sharing Time multiplexed sharing time-sharing schedule a serially-reusable resource among several users Space multiplexed sharing space-sharing divide a multiple-use resource up among several users 5/7/2019 COP4610

Time-multiplexing the Processor - Called multiprogramming 5/7/2019 COP4610

Time-multiplexing the Processor – cont. - Resulted in concurrent execution or concurrency 5/7/2019 COP4610

Time-multiplexing the Processor – cont. - Multiprogramming can improve the overall system performance 5/7/2019 COP4610

Space-multiplexing Memory 5/7/2019 COP4610

Time-multiplexing I/O Devices 5/7/2019 COP4610

Space-multiplexing the Disk 5/7/2019 COP4610

Issues in Resource Sharing Resource isolation and sharing Protection Sharing Resource allocation Scheduling 5/7/2019 COP4610

Survey This survey consists of a few questions The purpose is to give me a better knowledge of your background so that I may do a better job It will be used as evidence for attendance It will not be used for any grading We will have the first recitation this week This Wednesday, Aug. 27, 2001 5/7/2019 COP4610