Chapter 1 Introduction

Similar documents
Operating Systems CS 571

OPERATING SYSTEMS. After A.S.Tanenbaum, Modern Operating Systems, 3rd edition. Uses content with permission from Assoc. Prof. Florin Fortis, PhD

Operating Systems, Fall

Master level: Operating systems, distributed systems, networking,

CS450/550 Operating Systems

EEE 435 Principles of Operating Systems

Computer System Overview

Introduction to Operating Systems

Lecture 2 - Fundamental Concepts

MODERN OPERATING SYSTEMS

System Call. Preview. System Call. System Call. System Call 9/7/2018

Memory Layout for a Simple Batch System

Operating Systems, Fall

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

Reserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input.

Introduction OS

Useful information. Introduction. Outline of the course. Background. References

Principles of Operating Systems

CS30002: Operating Systems. Arobinda Gupta Spring 2017

Introduction SOFTWARE TECHNOLOGIES FOR BIOENGINEERING OS

COURSE DESCRIPTION. CS 232 Course Title Computer Organization. Course Coordinators

Operating Systems ( )

Operating Systems Concepts

Operating Systems ( )

Principles of Operating Systems CS 446/646

Operating Systems ( )

CSC 553 Operating Systems

Process Description and Control

SE-292 High Performance Computing. Memory Hierarchy. R. Govindarajan

Preview. The Thread Model Motivation of Threads Benefits of Threads Implementation of Thread

Chapter 2 Processes and Threads

Chapter 1 Computer System Overview

Chapter 1: Introduction

CSC 453 Operating Systems

Four Components of a Computer System

OPERATING SYSTEMS UNIT - 1

Lecture 1 Introduction (Chapter 1 of Textbook)

Multiprocessor Synchronization

Reader's Guide Outline of the Book A Roadmap For Readers and Instructors Why Study Computer Organization and Architecture Internet and Web Resources

Operating Systems Structure

OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL. Chap. 2.2 Interprocess Communication

The Operating System Machine Level

Integrated Approach. Operating Systems COMPUTER SYSTEMS. LEAHY, Jr. Georgia Institute of Technology. Umakishore RAMACHANDRAN. William D.

Introduction to OS. Introduction MOS Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1

! Readings! ! Room-level, on-chip! vs.!

Lecture 5: Process Description and Control Multithreading Basics in Interprocess communication Introduction to multiprocessors

OPERATING SYSTEMS CS136

OPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems

Introduction. Computer System Organization. Languages, Levels, Virtual Machines. A multilevel machine. Sarjana Magister Program

Computer organization and architecture UNIT-I 2 MARKS

Operating Systems Overview. Chapter 2

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

Operating Systems 2010/2011

Chapter 3: Operating-System Structures

Operating Systems. Hadi Salimi Computer Engineering Department Iran University of Science and Technology Tehran, Iran

Computer Architecture

Unix API Books. Linux Kernel Books. Assignments and Exams. Grading for CSC 256. Operating Systems 8/31/2018. CSC 256/456 Fall

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

Section I Section Real Time Systems. Processes. 1.6 Input/Output Management. (Textbook: A. S. Tanenbaum Modern OS - ch. 5)

COS 318: Operating Systems. Overview. Jaswinder Pal Singh Computer Science Department Princeton University

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

NPTEL. High Performance Computer Architecture - Video course. Computer Science and Engineering.

CS399 New Beginnings. Jonathan Walpole

Chapter 1 - Introduction

A superscalar machine is one in which multiple instruction streams allow completion of more than one instruction per cycle.

1.Explain with the diagram IVT of 80X86. Ans-

CMPS 111: Introduction to Operating Systems

Experiment #0. PC Hardware and Operating Systems

Module 1: Introduction

CS377P Programming for Performance Multicore Performance Multithreading

Lecture 2 Operating System Structures (chapter 2)

CS 333 Introduction to Operating Systems Class 2 OS-Related Hardware & Software The Process Concept

Operating Systems ( )

Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System

Operating System Overview. Operating System

Chapter 3: Operating-System Structures

Multicore computer: Combines two or more processors (cores) on a single die. Also called a chip-multiprocessor.

PC I/O. May 7, Howard Huang 1

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

Hyperthreading Technology

Chapter 5 Input/Output. I/O Devices

Last class: OS and Architecture. OS and Computer Architecture

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

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Problem Set: Processes

Computer System Overview

The Operating System Machine Level

x86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures

Operating System: an Overview. Lucia Dwi Krisnawati, MA

Embedded Linux Architecture

Problem Set: Processes

ESE 333 Real-Time Operating Systems 2 What is an operating system? Two views: 1. Top-down view: Extended machine ffl Covers the details of the hardwar

File systems: management 1

CS 261 Fall Mike Lam, Professor. Virtual Memory

Operating-System Structures

I/O Design, I/O Subsystem, I/O-Handler Device Driver, Buffering, Disks, RAID January WT 2008/09

1 System & Activities

Operating System Structure

Introduction to Computer Systems and Operating Systems

CS 333 Introduction to Operating Systems. Class 2 OS-Related Hardware & Software The Process Concept

Transcription:

MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction

What Is An Operating System (1) A modern computer consists of: One or more processors Main memory Disks Printers Various input/output devices Managing all these components requires a layer of software the operating system

What Is An Operating System (2) Figure 1-1. Where the operating system fits in.

The Operating System as an Extended Machine Figure 1-2. Operating systems turn ugly hardware into beautiful abstractions.

The Operating System as a Resource Manager Allow multiple programs to run at the same time Manage and protect memory, I/O devices, and other resources Includes multiplexing (sharing) resources in two different ways: In time In space

Computer Hardware Review Figure 1-6. Some of the components of a simple personal computer.

CPU Pipelining Figure 1-7. (a) A three-stage pipeline. (b) A superscalar CPU.

Multithreaded and Multicore Chips Figure 1-8. (a) A quad-core chip with a shared L2 cache. (b) A quad-core chip with separate L2 caches.

Memory (1) Figure 1-9. A typical memory hierarchy. The numbers are very rough approximations.

Memory (2) Questions when dealing with cache: When to put a new item into the cache. Which cache line to put the new item in. Which item to remove from the cache when a slot is needed. Where to put a newly evicted item in the larger memory.

Disks Figure 1-10. Structure of a disk drive.

I/O Devices Figure 1-11. (a) The steps in starting an I/O device and getting an interrupt.

Buses Figure 1-12. The structure of a large Pentium system

The Operating System Zoo Mainframe operating systems Server operating systems Multiprocessor operating systems Personal computer operating systems Handheld operating systems Embedded operating systems Real-time operating systems

Operating System Concepts Processes Address spaces Files Input/Output Protection The shell

Processes Figure 1-13. A process tree. Process A created two child processes, B and C. Process B created three child processes, D, E, and F.

Files (1) Figure 1-14. A file system for a university department.

Files (2) Figure 1-15. (a) Before mounting, the files on the CD-ROM are not accessible. (b) After mounting, they are part of the file hierarchy.

Files (3) Figure 1-16. Two processes connected by a pipe.

System Calls Figure 1-17. The 11 steps in making the system call read(fd, buffer, nbytes).

System Calls for Process Management Figure 1-18. Some of the major POSIX system calls.

System Calls for File Management (1) Figure 1-18. Some of the major POSIX system calls.

System Calls for File Management (2) Figure 1-18. Some of the major POSIX system calls.

Miscellaneous System Calls Figure 1-18. Some of the major POSIX system calls.

A Simple Shell Figure 1-19. A stripped-down shell.

Memory Layout Figure 1-20. Processes have three segments: text, data, and stack.

Linking Figure 1-21. (a) Two directories before linking /usr/jim/memo to ast s directory. (b) The same directories after linking.

Mounting Figure 1-22. (a) File system before the mount. (b) File system after the mount.

Operating Systems Structure Monolithic systems basic structure: A main program that invokes the requested service procedure. A set of service procedures that carry out the system calls. A set of utility procedures that help the service procedures.

Microkernels Figure 1-26. Structure of the MINIX 3 system.

Client-Server Model Figure 1-27. The client-server model over a network.

Virtual Machines Figure 1-29. (a) A type 1 hypervisor. (b) A type 2 hypervisor.

The Model of Run Time Figure 1-30. The process of compiling C and header files to make an executable.