Computer Organization Review and OS Introduction CS550 Operating Systems.

Slides:



Advertisements
Similar presentations
Slide 19-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating System.
Operating System Structures
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Slide 2-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 2 Using the Operating System 2.
Operating System Structure
Introduction CSCI 444/544 Operating Systems Fall 2008.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
CS4315A. Berrached:CMS:UHD1 Operating System Structures Chapter 3.
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.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
Distributed System Concepts and Architectures Services
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
Lecture 1: Network Operating Systems (NOS) An Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
What is a Process ? A program in execution.
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
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
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
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.
CT101: Computing Systems Introduction to Operating Systems.
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Introduction to Operating Systems Concepts
Resource Management IB Computer Science.
Operating System.
Operating System Structure
Introduction to Operating System (OS)
What is an Operating System?
Threads, SMP, and Microkernels
Chapter 2: System Structures
Operating Systems.
Mid Term review CSC345.
Lecture 4- Threads, SMP, and Microkernels
Operating Systems Lecture 1.
Operating Systems: A Modern Perspective, Chapter 3
OS Components and Structure
Chapter 2 Operating System Overview
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.
Operating Systems Structure
Presentation transcript:

Computer Organization Review and OS Introduction CS550 Operating Systems

Last Time What is the OS? A Resource Manager! Expected knowledge – Computer Organization – Data Structures – Basic algorithms like searching and sorting Learning about UNIX/Linux command line and text editor

Review of Comp. Org. A computer system consists of hardware and software It performs input, processing, and output HW consists of: CPU Main memory (RAM) Mass (secondary) storage (HDD, USB, etc.) --> provides permanence I/O (Screen, keyboard, communication) System bus (interconnect)

Computer Components | Processors | | Memory | ^ ^ | | ^ ^ ^ | | | | HDD || Comm. ports|| I/O |

Interrupts Interrupts - mechanisms by which a HW component sends a signal to a CPU to stop normal execution of a program so the CPU may handle that components needs. User program | main() | | A = 4 | | B = f(A) | | print(B) |< | | | | | | | | funct f(X) | | | | Y = X+1 | |---+ | return Y |

Interrupts Synchronous interrupts - calling a function and returning happens in the same way from a timing perspective. We call then return | main() | OS disk I/O handler | A = 4 | | B = A+4 | >| Start | | C = 2*B+3 |< | next disk | | D = A / B | | read. | | E = D * C | >| | Retrieving data from disk occurs in an asynchronous manner (order of reads and writes is unknown as is timing). One of the low level functions of the OS is to provide scheduling and interrupt handling.

Other OS Tools OS provides many other tools. Consists of many programs – Process management – Memory management – Device management – Security and protection – File management – Network management – Services

OS Structure Focus of this course is on General purpose operating systems. OS structure | GUI | | Command line interpreter | | System call interface | < | | Process, memory, file and|. | | device management |. |< OS | Kernel | Hardware control | <

Software components of the Kernel System calls - functions and methods to interact with HW/SW (e.g. println or printf) Process manager - allows for creation, suspension (blocking), execution, termination, and destruction of running programs (processes) Process - a running program. Note that many programs run at the same time in active memory. Process manager switches programs frequently. This operation is called a context switch (also overhead).

Software Components of the Kernel Memory manager - controls allocation and deallocation of memory. – Has policies and mechanisms for memory management – Includes paging, segmentation (think seg. fault), and virtual memory Resource manager - manages allocation and deallocation of resources such as HW/Information entities, CPU, files, words in memory, IO, tables, etc. File manager - manages creation and deletion of files and directories – Note that files represent devices in Linux – /media/... – Note that the same file may be open in multiple places at the same time. Device manager - handles devices and provides abstraction for them.

Types and Categories of OSes Types – Batch – Interactive – Real-time – Hybrids Categories – General purpose – Application dependent – Single/multi-user

Types of Kernels Monolithic Layered Modular Micro-kernel

Jobs Jobs - units of work submitted to OS (a process or a group of processes is a job) – sequence of commands to OS – program in source or binary – input data used by program when needed See book and site in previous lecture for history of OSes

Some Current OSes UNIX MS Windows OSX Android iOS TinyOS Debian Linux – Knoppix – BCCD Ubuntu CentOS RedHat Fedora Mint OSE QNX LynxOS VxWorks Many many more