Introduction. Operating Systems. Introduction. Introduction. Introduction

Size: px
Start display at page:

Download "Introduction. Operating Systems. Introduction. Introduction. Introduction"

Transcription

1 Operating Systems User OS Kernel & Device Drivers Interface Programs Instructor Brian Mitchell - Brian bmitchel@mcs.drexel.edu TA - To Be Announced Course Information MCS720 Tuesday s 6-9 PM Online Information Please check course web page several times per week. The web page will be my primary mechanism for communicating: Special and Emergency Information (posted by 12:00 noon on day of the class) Syllabus Assignments Exam Information Solutions to Problems Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 1 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 2 Course Objective To investigate classical internal algorithms and structures of operating systems Machine Architectures Concurrent Programming Textbook Applied Operating Systems Concepts, Avi Silberschatz, Peter Galvin, Greg Gagne Additional References Modern Operating Systems, Andrew Tanenbaum Distributed Operating Systems, Andrew Tanenbaum Selected research papers Homework s, Projects, Exams Programming Projects: This course will include a significant project that can be worked on individually or in teams. Specifications for the project are on the course web page. Research Presentation: This course will require you review research papers related to operating systems, as well as present a paper that you select to the class. Final: There will be a 90 minute final exam Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 3 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 4 1

2 Course Topics Project Processes & Threads Process Synchronization CPU Scheduling Memory Management Virtual Memory Deadlock File and I/O Systems Directory Services Security and Protection Operating System Case Studies Special Purpose Operating Systems Embedded JavaOS WebOS Learn about the internals of operating systems, operating system algorithms, and operating system and hardware integration. Goal: Construct a simulated: Hardware Operating System Assembler User Programs Operating System Hardware Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 5 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 6 Project Project Sample Programming Language Simple, pseudo-assembler based Instructions: Nop, alm, frm, cmp, jeq, jgt, jlt, jge, jle, clr, inc, dec, add, sub, mul, div, mov, and, or, not, xor, hlt, dis Processing the programs FIRST INSTRUCTION Get Instruction Sample Program start: alm R1,d500 ;allocate 500 bytes mov R2,#0 ;R2 will hold our offset looptop: mov (R1)+R2,R2 ;update memory location ;with value inc R2 ;increment R2 cmp R2,d500 ;compare R2 to 500 jlt looptop ;if R2<500 go to looptop halt ;stop execution Validate Instruction Fetch and resolveopcode arguments (if any) Execute Instruction Check and Handle Faults (if any) Log Instruction Results in the Hardware Trace NEXT INSTRUCTION Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 7 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 8 2

3 Project Project OS Memory Manager Linked Lists First, best, next, worst fit allocation algorithm Interface with the page table in hardware Handle program and page faults Provide interface to user programs who require memory Interface with hardware to manage the memory Simulated hardware General Purpose Registers R1 R2 R3 R4 R5 R6 R7 R8 Control Registers C T PF PC Physical Memory TLB* CACHE* PAGE TABLE SWAP Space Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 9 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 10 Project Information Getting Started Sample code and ant ( script is provided in the project page Grading The following distribution will be used to determine your final grade in this course: 20%: Phase 1 Project Deliverable 10%: Phase 2 Project Deliverable 30%: Phase 3 Project Deliverable 20%: Research Paper Presentation 20%: Final Exam Policies Policies governing the project are described on the project web page. Makeup exams will take the form of an oral exam or an alternative test (in-class or take-home). Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 11 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 12 3

4 Computer hardware requires software to perform useful operations Types of software Systems Programs: manage the operation of the computer itself Application Programs: solve user problems The Operating System (OS) is the most fundamental of all systems programs OS controls ALL of the computers resources OS provides VALUABLE services to user programs OS COORDINATES the execution of user programs OS PROVIDES resources to user programs Computer Systems Structure Modern computer systems consist of: One or more processors Main memory Clocks (Synchronization, coordination) Terminals Disks Network Interfaces Input/Output Devices Systems Architectures SISD, SIMD, MIMD, MISD (we will look at these later) Processor Organization Single Processor Multiprocessor Symmetric Multiprocessor Distributed Clusters Brian Mitchell - Operating Systems 13 Brian Mitchell - Operating Systems 14 Rationale for OS OS Architecture Directly interfacing user programs with hardware is COMPLEX Building programs for specific computer architectures is not portable If every program included code to interface with the computer hardware Redundancy Inconsistent quality Inefficient use of resources DESIRE => Shield programmers from the complexity of the hardware OS is a layer that sits on top of the hardware OS provides an interface or virtual machine that is easy to understand and program Most Operating Systems use a layered architecture Banking System Compilers Airline Reservation Editors Operating System Machine Language Microprogramming Physical Devices Word Processor Command Interpreter USER SYSTEM HARDWARE Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 15 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 16 4

5 OS Architecture (con t) OS Architecture (con t) Physical Devices Computer hardware - CPU, memory, I/O devices, network interfaces Microprogramming ROM-based programs Controls CISC processors Machine Language Instructions supported by the hardware Binary encoded Processors typically support instructions CISC vs RISC Use registers as the basis for performing most operations Running programs Device interfaces Operating Systems Hide the complexity of software Read 200 bytes from file A versus managing the motor and arms of the disk drive Provide an interface for the programmer Usually documented as a set of API s ex: Win32 on Windows98 & WindowsNT Win32 contains about 6,000 API s OpenFile(), CreateProcess(),... Systems software usually sits on top of the kernel of the OS Command Interpreter, Security Manager, Utilities (e.g., awk, grep on Unix) Most processors support multiple execution modes Minimally Kernel/Supervisor and User modes Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 17 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 18 OS Architecture (con t) OS Architecture - Summary Operating system runs in Kernel mode and user programs run in User mode Kernel Mode Full access to machine instruction set Direct access to hardware, memory, and input/output devices OS and device drivers must run in Kernel mode User Mode Access to a limited set of machine instructions No direct access to hardware, memory and input/output devices Device access is coordinated by OS Typically user mode instructions consist of computational instructions MS DOS only supported Kernel mode Operating System acts as an extended machine from a user program perspective Reduce complexity Increase system integrity Reduce redundancy Operating System acts as a resource manager Hardware provides many resources to user programs Demand for resources may exceed resource capacity OS must optimally manage allocation of the resources Ex: Memory, Processor/CPU time Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 19 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 20 5

6 Example: Web Browser History of Operating Systems Socket API TCP/IP Frames Memory-Mapped Electrical Signals WEB Browser Operating System Device Driver Network Interface Card (NIC) Network User Mode Switch to Kernel Mode Kernel Mode First Generation ( ) Hardware was tube-based Programs were hardwired on plugboards Hardware could run one program at a time Applications: Numerical Calculations Second Generation ( ) Transistor-based Assembler - improvement over machine language High Level Language - FORTRAN Batch oriented Jobs were created on card or tape Jobs were serially executed Scientific / Engineering applications Early operating systems introduced Capabilities limited to controlling the serial execution of batch jobs Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 21 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 22 History of Operating Systems History of Operating Systems Third Generation ( ) IC circuits (LSI, VLSI chips) Business applications supported in addition to scientific and engineering applications Business Applications: IO-based Engineering/Scientific Applications : CPUbased OS supported several new capabilities Multiprogramming Load multiple jobs into memory When one job was waiting for I/O the OS ran another job Job spooling - queue of ready to run jobs reduced operator intervention Timesharing Support for multiple, concurrent users OS timeslices user sessions OS takes responsibility for maximizing CPU and device utilization Fourth Generation ( ) Workstations and PC s Computer networks become commonplace CPU s with millions of transistors offer high computational power Desire: User friendly software Result: Complex operating systems OS designed to scale and integrate well with new computer architectures Real time / Embedded SMP CISC, RISC Parallel Network OS address new concerns Network transparency Security Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 23 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 24 6

7 History of Operating Systems Fifth Generation (2000? -???? ) OS designed to support massively parallel computer architectures Thousands of CPU s MPP architectures may consist of thousands of independent computers connected by high -speed networks ex: BISDN at 155Mbits/sec MPP architectures may consist of processor boards plugged into custom design backplanes One or multiple copies of the OS? Issues Cache coherence Management and coordination of distributed resources Bandwidth limitations Keeping consistent time Special Operating System Types Distributed Systems Goal is to distribute the computation across several physical processors Can use either standard networks, or proprietary inter-connection technologies Advantages: Scalability at low cost Reliability Disadvantages: Programming is complex Overhead may be large Real time systems Typically used to control a device Well defined time constraints must be respected General purpose operating systems do not often handle the requirements of a realtime system Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 25 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 26 Operating System Components Operating System Components Process Management A process is a program in execution OS manages the creation and deletion of processes Main-Memory Management OS keeps track of memory in use and free memory, who is using the memory, allocation and freeing of memory. Secondary-Storage Management OS uses secondary storage to extend physical memory Secondary Storage typically resides on disk I/O System Management OS uses the I/O system for management of devices (device drivers) Caching Example: File System File Management OS Manages the creation and deletion of files, and directories OS also manages file system permissions Who owns the file, who can modify the file Protection System Distinguish authorized versus nonauthorized usage of OS resources Networking Enables OS users to utilize network resources Remote disks, Internet, shared printers, file servers, , Command-Interpreter System, Graphical User Interfaces Provides the user with an interface for using the operating system facilities Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 27 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 28 7

8 Operating System Interfaces Virtual Machines Operating Systems typically provide two interfaces: User interfaces: Command Line Interpreter, or graphical user interface Program interfaces: OS provide interfaces via application programming interfaces to programs. Sometimes called system calls System Calls Operating system designers typically package system calls as C language function calls Example: Win32 on Windows 95/98/NT Most operating systems also provide additional classes for better integration with object oriented languages such as C++ Example: MFC on Windows 95/98/NT A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though they were all hardware. A virtual machine provides an interface identical to the underlying bare hardware. The operating system creates the illusion of multiple processes, each executing on its own processor with its own (virtual) memory. Some operating systems (e.g., VM by IBM), work by running all processes in a virtual machine VM concepts are most widely applied in interpretive languages (e.g., Java) Interface to the machine is facilitated by the virtual machine Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 29 Brian Mitchell (bmitchel@mcs.drexel.edu) - Operating Systems 30 8

Introduction. Distributed Systems. Introduction. Introduction. Instructor Brian Mitchell - Brian

Introduction. Distributed Systems. Introduction. Introduction. Instructor Brian Mitchell - Brian Distributed 1 Directory 1 Cache 1 1 2 Directory 2 Cache 2 2... N Directory N Interconnection Network... Cache N N Instructor Brian Mitchell - Brian bmitchel@mcs.drexel.edu www.mcs.drexel.edu/~bmitchel

More information

Andrew S. Tanenbaum, Operating Systems, Design and Implementation, (Second Edition), Prentice Hall.

Andrew S. Tanenbaum, Operating Systems, Design and Implementation, (Second Edition), Prentice Hall. Chapter 1 Introduction and Fundamental Concepts OPERATING SYSTEMS Design and Implementation Instructor: Hadi Salimi Computer Engineering Department IRAN University of Science and Technology hsalimi@iust.ac.ir

More information

CSC Operating Systems Fall Lecture - I Introduction. Tevfik Ko!ar. Louisiana State University. August 25 th, Contact Information

CSC Operating Systems Fall Lecture - I Introduction. Tevfik Ko!ar. Louisiana State University. August 25 th, Contact Information CSC 4103 - Operating Systems Fall 2009 Lecture - I Introduction Tevfik Ko!ar Louisiana State University August 25 th, 2009 1 Contact Information Instructor: Prof. Tevfik Kosar Office: 292 Coates (also

More information

Module 1: Introduction. What is an Operating System?

Module 1: Introduction. What is an Operating System? Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real-Time Systems

More information

Module 1: Introduction

Module 1: Introduction Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real-Time Systems

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real -Time

More information

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics What is OS? History of OS 2 What is OS? (1) Application

More information

CS30002: Operating Systems. Arobinda Gupta Spring 2017

CS30002: Operating Systems. Arobinda Gupta Spring 2017 CS30002: Operating Systems Arobinda Gupta Spring 2017 General Information Textbook: Operating System Concepts, 8 th or 9 th Ed, by Silberschatz, Galvin, and Gagne I will use materials from other books

More information

Operating Systems. studykorner.org

Operating Systems. studykorner.org Operating Systems Outlines What are Operating Systems? All components Description, Types of Operating Systems Multi programming systems, Time sharing systems, Parallel systems, Real Time systems, Distributed

More information

Operating Systems CS 571

Operating Systems CS 571 Operating Systems CS 571 Prof. Sanjeev Setia Fall 2003 1 Prerequisites Overview Computer Architecture (CS 365) Data structures and programming (CS 310) (C++/C/Java progamming) Textbooks Modern Operating

More information

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History.

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History. Topics Operating System I What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Pick an OS you know: What are some

More information

Computer Science 4500 Operating Systems. Welcome! In This Module. Module 1 Introduction, Overview and History

Computer Science 4500 Operating Systems. Welcome! In This Module. Module 1 Introduction, Overview and History Computer Science 4500 Operating Systems Module 1 Introduction, Overview and History Updated: January 13, 2015 2008 Stanley A. Wileman, Jr. Operating Systems Slide 1 Welcome! Welcome to Operating Systems.

More information

Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction

Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction Operating Systems Fundamentals Overview of Operating Systems Ahmed Tawfik Modern Operating Systems are increasingly complex Operating System Millions of Lines of Code DOS 0.015 Windows 95 11 Windows 98

More information

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Why OS? 2 What is an OS? Software that converts hardware into

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 What is an Operating System? What is

More information

Topics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we?

Topics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we? Topics Operating System What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Guess if you are not sure Pick an OS

More information

Operating Systems ( )

Operating Systems ( ) Operating Systems (202-1-3031) Itai Dinur Office: Alon, 224 dinuri@cs.bgu.ac.il Office hours: Wednesday, 16:00-18:00 Danny Hendler Office: Alon, 218 hendlerd@cs.bgu.ac.il Office hours: Wednesday, 13:00-15:00

More information

06-Dec-17. Credits:4. Notes by Pritee Parwekar,ANITS 06-Dec-17 1

06-Dec-17. Credits:4. Notes by Pritee Parwekar,ANITS 06-Dec-17 1 Credits:4 1 Understand the Distributed Systems and the challenges involved in Design of the Distributed Systems. Understand how communication is created and synchronized in Distributed systems Design and

More information

Operating Systems CS3502 Spring 2018

Operating Systems CS3502 Spring 2018 Operating Systems CS3502 Spring 2018 Presented by Dr. Guoliang Liu Department of Computer Science College of Computing and Software Engineering Kennesaw State University Computer Systems See Appendix G

More information

Computer Organization. Chapter 16

Computer Organization. Chapter 16 William Stallings Computer Organization and Architecture t Chapter 16 Parallel Processing Multiple Processor Organization Single instruction, single data stream - SISD Single instruction, multiple data

More information

Introduction to Operating Systems

Introduction to Operating Systems Introduction to Operating Systems Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu EEE3052: Introduction to Operating Systems, Fall 2017, Jinkyu Jeong

More information

Computer System Overview

Computer System Overview Computer System Overview Introduction A computer system consists of hardware system programs application programs 2 Operating System Provides a set of services to system users (collection of service programs)

More information

Operating Systems (ECS 150) Spring 2011

Operating Systems (ECS 150) Spring 2011 Operating Systems (ECS 150) Spring 2011 Raju Pandey Department of Computer Science University of California, Davis CA 95616 pandey@cs.ucdavis.edu http://www.cs.ucdavis.edu/~pandey Course Objectives After

More information

Organisasi Sistem Komputer

Organisasi Sistem Komputer LOGO Organisasi Sistem Komputer OSK 14 Parallel Processing Pendidikan Teknik Elektronika FT UNY Multiple Processor Organization Single instruction, single data stream - SISD Single instruction, multiple

More information

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto Ricardo Rocha Department of Computer Science Faculty of Sciences University of Porto Slides based on the book Operating System Concepts, 9th Edition, Abraham Silberschatz, Peter B. Galvin and Greg Gagne,

More information

RISC Processors and Parallel Processing. Section and 3.3.6

RISC Processors and Parallel Processing. Section and 3.3.6 RISC Processors and Parallel Processing Section 3.3.5 and 3.3.6 The Control Unit When a program is being executed it is actually the CPU receiving and executing a sequence of machine code instructions.

More information

Introduction to Operating Systems (Part II)

Introduction to Operating Systems (Part II) Introduction to Operating Systems (Part II) Amir H. Payberah amir@sics.se Amirkabir University of Technology (Tehran Polytechnic) Amir H. Payberah (Tehran Polytechnic) Introduction 1393/6/24 1 / 45 Computer

More information

Lecture 1: Course Introduction and Overview Prof. Randy H. Katz Computer Science 252 Spring 1996

Lecture 1: Course Introduction and Overview Prof. Randy H. Katz Computer Science 252 Spring 1996 Lecture 1: Course Introduction and Overview Prof. Randy H. Katz Computer Science 252 Spring 1996 RHK.S96 1 Computer Architecture Is the attributes of a [computing] system as seen by the programmer, i.e.,

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 System I/O System I/O (Chap 13) Central

More information

Module 3: Operating-System Structures

Module 3: Operating-System Structures Module 3: Operating-System Structures System Components Operating-System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation Operating

More information

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1 ITS 225: Operating Systems Operating Systems Lecture 1 Introduction & Overview Jan 15, 2004 Dr. Matthew Dailey Information Technology Program Sirindhorn International Institute of Technology Thammasat

More information

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Operating systems are those

More information

CSC 2405: Computer Systems II

CSC 2405: Computer Systems II CSC 2405: Computer Systems II Dr. Mirela Damian http://www.csc.villanova.edu/~mdamian/csc2405/ Spring 2016 Course Goals: Look under the hood Help you learn what happens under the hood of computer systems

More information

Operating Systems ( )

Operating Systems ( ) Operating Systems (202-1-3031) Meni Adler Office: Alon, 109 meni.adler@gmail.com Office hours: Tuesdays, 08:00-10:00 Danny Hendler Office: Alon, 218 hendlerd@cs.bgu.ac.il Office hours: Tuesdays, 11:00-13:00

More information

INTRODUCTION TO OPERATING SYSTEMS. Jo, Heeseung

INTRODUCTION TO OPERATING SYSTEMS. Jo, Heeseung INTRODUCTION TO OPERATING SYSTEMS Jo, Heeseung TODAY'S TOPICS What is OS? History of OS 2 OPERATING SYSTEM? Computer systems internals 3 WHY DO WE LEARN OS? To graduate? To make a better OS or system Functionality

More information

OPERATING- SYSTEM CONCEPTS

OPERATING- SYSTEM CONCEPTS INSTRUCTOR S MANUAL TO ACCOMPANY OPERATING- SYSTEM CONCEPTS SEVENTH EDITION ABRAHAM SILBERSCHATZ Yale University PETER BAER GALVIN Corporate Technologies GREG GAGNE Westminster College Preface This volume

More information

OPERATING SYSTEMS UNIT - 1

OPERATING SYSTEMS UNIT - 1 OPERATING SYSTEMS UNIT - 1 Syllabus UNIT I FUNDAMENTALS Introduction: Mainframe systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered Systems Real Time Systems Handheld Systems -

More information

Introduction to Computer Systems and Operating Systems

Introduction to Computer Systems and Operating Systems Introduction to Computer Systems and Operating Systems Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered 1. Computer History 2. Computer System

More information

Lecture 9: MIMD Architectures

Lecture 9: MIMD Architectures Lecture 9: MIMD Architectures Introduction and classification Symmetric multiprocessors NUMA architecture Clusters Zebo Peng, IDA, LiTH 1 Introduction A set of general purpose processors is connected together.

More information

Introduction to Operating Systems. Jo, Heeseung

Introduction to Operating Systems. Jo, Heeseung Introduction to Operating Systems Jo, Heeseung Today's Topics What is OS? History of OS 2 Operating System? Computer systems internals 3 Why do we learn OS? To graduate? To make a better OS or system Functionality

More information

2. The system of... generally ran one job at a time. These were called single stream batch processing.

2. The system of... generally ran one job at a time. These were called single stream batch processing. Set 1 1. Which of the following is/ are the part of operating system? A) Kernel services B) Library services C) Application level services D) All of the above 2. The system of... generally ran one job

More information

CSC 453 Operating Systems

CSC 453 Operating Systems CSC 453 Operating Systems Lecture 3: Operating-System Structures Operating System Components Operating systems are large and complex - the only way to manage such a project is to divide it into smaller

More information

Operating Systems ( )

Operating Systems ( ) Operating Systems (202-1-3031) Danny Hendler Office: Alon, 218 hendlerd@cs.bgu.ac.il Office hours: Wednesday, 11:00-13:00 Amnon Meisels Office: 206 build., 37 am@cs.bgu.ac.il Office hours: Sun. & Thur.,

More information

OS structure. Process management. Major OS components. CSE 451: Operating Systems Spring Module 3 Operating System Components and Structure

OS structure. Process management. Major OS components. CSE 451: Operating Systems Spring Module 3 Operating System Components and Structure CSE 451: Operating Systems Spring 2012 Module 3 Operating System Components and Structure Ed Lazowska lazowska@cs.washington.edu Allen Center 570 The OS sits between application programs and the it mediates

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls (important!) Types of System Calls (important!) System

More information

Chapter 2. OS Overview

Chapter 2. OS Overview Operating System Chapter 2. OS Overview Lynn Choi School of Electrical Engineering Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: 3290-3249, Kong-Hak-Kwan 411, lchoi@korea.ac.kr,

More information

CS Computer Architecture

CS Computer Architecture CS 35101 Computer Architecture Section 600 Dr. Angela Guercio Fall 2010 Structured Computer Organization A computer s native language, machine language, is difficult for human s to use to program the computer

More information

Chapter 18 Parallel Processing

Chapter 18 Parallel Processing Chapter 18 Parallel Processing Multiple Processor Organization Single instruction, single data stream - SISD Single instruction, multiple data stream - SIMD Multiple instruction, single data stream - MISD

More information

Chapter 3: Operating-System Structures

Chapter 3: Operating-System Structures Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures 2.1 Silberschatz, Galvin and Gagne 2009 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System

More information

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory Q.1 Explain Memory Data Storage in storage device like CD, HDD, DVD, Pen drive etc, is called memory. The device which storage data is called storage device. E.g. hard disk, floppy etc. There are two types

More information

ELEC 377 Operating Systems. Week 1 Class 2

ELEC 377 Operating Systems. Week 1 Class 2 Operating Systems Week 1 Class 2 Labs vs. Assignments The only work to turn in are the labs. In some of the handouts I refer to the labs as assignments. There are no assignments separate from the labs.

More information

OS and Computer Architecture. Chapter 3: Operating-System Structures. Common System Components. Process Management

OS and Computer Architecture. Chapter 3: Operating-System Structures. Common System Components. Process Management Last class: OS and Architecture OS and Computer Architecture OS Service Protection Interrupts System Calls IO Scheduling Synchronization Virtual Memory Hardware Support Kernel/User Mode Protected Instructions

More information

Principles of Operating Systems CS 446/646

Principles of Operating Systems CS 446/646 Principles of Operating Systems CS 446/646 1. Introduction to Operating Systems a. Role of an O/S b. O/S History and Features Serial processing Simple batch systems Multiprogrammed batch systems Time-sharing

More information

Lecture 2 - Fundamental Concepts

Lecture 2 - Fundamental Concepts Lecture 2 - Fundamental Concepts Instructor : Bibhas Ghoshal (bibhas.ghoshal@iiita.ac.in) Autumn Semester, 2015 Bibhas Ghoshal IOSY 332C & IOPS 332C: OS Autumn Semester, 2015 1 / 43 Lecture Outline Operating

More information

Four Components of a Computer System

Four Components of a Computer System Four Components of a Computer System Operating System Concepts Essentials 2nd Edition 1.1 Silberschatz, Galvin and Gagne 2013 Operating System Definition OS is a resource allocator Manages all resources

More information

CS 471 Operating Systems. Yue Cheng. George Mason University Fall 2017

CS 471 Operating Systems. Yue Cheng. George Mason University Fall 2017 CS 471 Operating Systems Yue Cheng George Mason University Fall 2017 Introduction o Instructor of Section 002 Dr. Yue Cheng (web: cs.gmu.edu/~yuecheng) Email: yuecheng@gmu.edu Office: 5324 Engineering

More information

Last class: OS and Architecture. OS and Computer Architecture

Last class: OS and Architecture. OS and Computer Architecture Last class: OS and Architecture OS and Computer Architecture OS Service Protection Interrupts System Calls IO Scheduling Synchronization Virtual Memory Hardware Support Kernel/User Mode Protected Instructions

More information

Last class: OS and Architecture. Chapter 3: Operating-System Structures. OS and Computer Architecture. Common System Components

Last class: OS and Architecture. Chapter 3: Operating-System Structures. OS and Computer Architecture. Common System Components Last class: OS and Architecture Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation

More information

Introduction to System Programming

Introduction to System Programming Introduction to System Programming Introduction to System Programming Why system programming? Basic operation of a computer system Summary Acknowledgement: slides based on the cs:app2e material 2 Why System

More information

UNIT 2. OPERATING SYSTEM STRUCTURES

UNIT 2. OPERATING SYSTEM STRUCTURES This document can be downloaded from www.chetanahegde.in with most recent updates. 1 UNIT 2. OPERATING SYSTEM STRUCTURES 2.1 INTRODUCTION An OS provides the environment within which the programs are executed.

More information

Chapter 2: Operating-System Structures. Chapter 2: Operating-System Structures. Objectives. Operating System Services

Chapter 2: Operating-System Structures. Chapter 2: Operating-System Structures. Objectives. Operating System Services Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System

More information

Operating Systems Concepts. CMPUT 379, Winter 2014 Section B1

Operating Systems Concepts. CMPUT 379, Winter 2014 Section B1 Operating Systems Concepts CMPUT 379, Winter 2014 Section B1 What is this course about? Demystifying some of the underlying operation and organization of computer systems Title text: This is how I explain

More information

Operating Systems ( )

Operating Systems ( ) Operating Systems (202-1-3031) Meni Adler Office: Alon, 211 adlerm@cs.bgu.ac.il Office hours: Wed.. Danny Hendler Office: Alon, 218 hendlerd@cs.bgu.ac.il Office hours: 11:30-13:30 Amnon Meisels Office:

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Silberschatz, Galvin and Gagne 2009 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Silberschatz, Galvin and Gagne 2009 Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System

More information

Operating-System Structures

Operating-System Structures Recap Chapter 2: Operating-System Structures Presented By: Dr. El-Sayed M. El-Alfy Note: Most of the slides are compiled from the textbook and its complementary resources From: OS by Tanenbaum, 2008 March

More information

When we start? 10/24/2013 Operating Systems, Beykent University 1

When we start? 10/24/2013 Operating Systems, Beykent University 1 When we start? 10/24/2013 Operating Systems, Beykent University 1 Early Systems 10/24/2013 Operating Systems, Beykent University 2 Second Generation 10/24/2013 Operating Systems, Beykent University 3 Third

More information

Chapter 3: Operating-System Structures

Chapter 3: Operating-System Structures Chapter 3: Operating-System Structures System Components Operating System Services System Calls POSIX System Programs System Structure Virtual Machines System Design and Implementation System Generation

More information

CSC 256/456: Operating Systems. Introduction. John Criswell! University of Rochester

CSC 256/456: Operating Systems. Introduction. John Criswell! University of Rochester CSC 256/456: Operating Systems Introduction John Criswell! University of Rochester 1 Logistics 2 Course Instructors Instructor TA Name: John Criswell! Email: criswell@cs! Office: CSB 717! Office Hours:

More information

CSCI 4717 Computer Architecture

CSCI 4717 Computer Architecture CSCI 4717/5717 Computer Architecture Topic: Symmetric Multiprocessors & Clusters Reading: Stallings, Sections 18.1 through 18.4 Classifications of Parallel Processing M. Flynn classified types of parallel

More information

Lecture 1: January 22

Lecture 1: January 22 CMPSCI 677 Distributed and Operating Systems Spring 2018 Lecture 1: January 22 Lecturer: Prashant Shenoy Scribe: Bin Wang 1.1 Introduction to the course The lecture started by outlining the administrative

More information

Syllabus CSCI 405 Operating Systems Fall 2018

Syllabus CSCI 405 Operating Systems Fall 2018 Syllabus CSCI 405 Operating Systems Fall 2018 1.0 General Information Class Time: Monday/Wednesday/Friday 11:00 AM - 11:50 AM Class Location: 317 Thompson Instructor: Dr. Deepti Joshi; Office: 224 Thompson;

More information

Operating Systems : Overview

Operating Systems : Overview Operating Systems : Overview Bina Ramamurthy CSE421 8/29/2006 B.Ramamurthy 1 Topics for discussion What will you learn in this course? (goals) What is an Operating System (OS)? Evolution of OS Important

More information

CS370: Operating Systems [Spring 2017] Dept. Of Computer Science, Colorado State University

CS370: Operating Systems [Spring 2017] Dept. Of Computer Science, Colorado State University Frequently asked questions from the previous class survey CS 370: OPERATING SYSTEMS [MEMORY MANAGEMENT] Matrices in Banker s algorithm Max, need, allocated Shrideep Pallickara Computer Science Colorado

More information

Lecture 9: MIMD Architectures

Lecture 9: MIMD Architectures Lecture 9: MIMD Architectures Introduction and classification Symmetric multiprocessors NUMA architecture Clusters Zebo Peng, IDA, LiTH 1 Introduction MIMD: a set of general purpose processors is connected

More information

Motivation. Threads. Multithreaded Server Architecture. Thread of execution. Chapter 4

Motivation. Threads. Multithreaded Server Architecture. Thread of execution. Chapter 4 Motivation Threads Chapter 4 Most modern applications are multithreaded Threads run within application Multiple tasks with the application can be implemented by separate Update display Fetch data Spell

More information

Operating System For Computer Science & Information Technology By www.thegateacademy.com Syllabus Syllabus for Operating System Processes, Threads, Inter Process Communication, Concurrency and Synchronization,

More information

Lecture 9: MIMD Architecture

Lecture 9: MIMD Architecture Lecture 9: MIMD Architecture Introduction and classification Symmetric multiprocessors NUMA architecture Cluster machines Zebo Peng, IDA, LiTH 1 Introduction MIMD: a set of general purpose processors is

More information

Chapter 4: Threads. Operating System Concepts 8 th Edition,

Chapter 4: Threads. Operating System Concepts 8 th Edition, Chapter 4: Threads, Silberschatz, Galvin and Gagne 2009 Chapter 4: Threads Overview Multithreading Models Thread Libraries 4.2 Silberschatz, Galvin and Gagne 2009 Objectives To introduce the notion of

More information

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc.

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc. An Operating System (OS) is an interface between computer user and computer hardware. An operating system is software which performs all the basic tasks like file management, memory management, process

More information

Computer-System Architecture (cont.) Symmetrically Constructed Clusters (cont.) Advantages: 1. Greater computational power by running applications

Computer-System Architecture (cont.) Symmetrically Constructed Clusters (cont.) Advantages: 1. Greater computational power by running applications Computer-System Architecture (cont.) Symmetrically Constructed Clusters (cont.) Advantages: 1. Greater computational power by running applications concurrently on all computers in the cluster. Disadvantages:

More information

CSC Operating Systems Spring Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. January 17 th, 2007.

CSC Operating Systems Spring Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. January 17 th, 2007. CSC 4103 - Operating Systems Spring 2008 Lecture - II OS Structures Tevfik Ko!ar Louisiana State University January 17 th, 2007 1 Announcements Teaching Assistant: Asim Shrestrah Email: ashres1@lsu.edu

More information

Announcements. Operating System Structure. Roadmap. Operating System Structure. Multitasking Example. Tevfik Ko!ar

Announcements. Operating System Structure. Roadmap. Operating System Structure. Multitasking Example. Tevfik Ko!ar CSC 4103 - Operating Systems Spring 2008 Lecture - II OS Structures Tevfik Ko!ar Teaching Assistant: Asim Shrestrah Email: ashres1@lsu.edu Announcements All of you should be now in the class mailing list.

More information

OPERATING SYSTEMS. COMS W1001 Introduction to Information Science. Boyi Xie

OPERATING SYSTEMS. COMS W1001 Introduction to Information Science. Boyi Xie 1 OPERATING SYSTEMS COMS W1001 Introduction to Information Science Boyi Xie 2 Announcement Homework 1 is available Grace days A total of 5 days for 5 HWs If all grace days have been used, 50% of the points

More information

Module 3: Operating-System Structures. Common System Components

Module 3: Operating-System Structures. Common System Components Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1 Common

More information

Chapter 2: Operating-System Structures. Operating System Concepts Essentials 8 th Edition

Chapter 2: Operating-System Structures. Operating System Concepts Essentials 8 th Edition Chapter 2: Operating-System Structures Operating System Concepts Essentials 8 th Edition Silberschatz, Galvin and Gagne 2011 Chapter 2: Operating-System Structures Operating System Services User Operating

More information

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs Third Generation Batch Multiprogramming Misc. Problem: but I/O still expensive; can happen in middle of job Idea: have a pool of ready jobs in memory, switch to one when another needs I/O When one job

More information

Chapter 2: Operating-System

Chapter 2: Operating-System Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services! User Operating System Interface! System Calls! Types of System Calls! System Programs! Operating

More information

Chapter 4: Multithreaded Programming

Chapter 4: Multithreaded Programming Chapter 4: Multithreaded Programming Silberschatz, Galvin and Gagne 2013 Chapter 4: Multithreaded Programming Overview Multicore Programming Multithreading Models Thread Libraries Implicit Threading Threading

More information

Course Content. 07-Feb-17 Faculty of Computer Science & Engineering 1 BK TP.HCM

Course Content. 07-Feb-17 Faculty of Computer Science & Engineering 1 BK TP.HCM Course Content Course Overview Process Concepts Processes Scheduling Processes Synchronization Deadlocks & Problems solving Real Memory Virtual Memory I/O Management Files system Some modern OS Examples

More information

Lecture 1 Introduction (Chapter 1 of Textbook)

Lecture 1 Introduction (Chapter 1 of Textbook) Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 1 Introduction (Chapter 1 of Textbook) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The slides

More information

Operating-System Structures

Operating-System Structures Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1 Sana a University,

More information

CSE3008: Operating Systems. Computer Systems Laboratory Sungkyunkwan University

CSE3008: Operating Systems. Computer Systems Laboratory Sungkyunkwan University CSE3008: Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Introduction Schedule 13:30 14:45 (Mon), 16:30 17:45 (Wed) Lecture room

More information

Fundamental Concepts and History

Fundamental Concepts and History Fundamental Concepts and History Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered I. Fundamental Concepts II. Evolution of OS 2 Key Concepts

More information

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 CSE 4/521 Introduction to Operating Systems Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 Overview Objective: To explore the principles upon which

More information

Chapter 1: Introduction. Operating System Concepts 9 th Edit9on

Chapter 1: Introduction. Operating System Concepts 9 th Edit9on Chapter 1: Introduction Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 Chapter 1: Introduction 1. What Operating Systems Do 2. Computer-System Organization 3. Computer-System

More information

European University of Lefke. Instructor: Dr. Arif SARI

European University of Lefke. Instructor: Dr. Arif SARI European University of Lefke CIS 105 Operating Systems Instructor: Dr. Arif SARI Email: asari@eul.edu.tr Introduction 1.1 Silberschatz, Galvin and Gagne 2009 Chapter 1: Introduction, Silberschatz, Galvin

More information

CSC 453 Operating Systems

CSC 453 Operating Systems CSC 453 Operating Systems Lecture 1: An Introduction What Is an Operating System? An operating system is the software that serves as an interface between the user (or his/her software applications) and

More information

ECE397A Operating Systems. Chapter 1: Introduction

ECE397A Operating Systems. Chapter 1: Introduction ECE397A Operating Systems Welcome! Instructor: Professor Csaba Andras Moritz Class webpage: http://www.ecs.umass.edu/ece/andras/courses/ece397 Instructors webpage: http://www.ecs.umass.edu/ece/andras 3

More information