Chap. 1) Introduction
|
|
- Allen Walker
- 5 years ago
- Views:
Transcription
1 Chap. 1) Introduction 경희대학교컴퓨터공학과 조진성 Operating System
2 What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware Operating system goals: Execute user programs and make solving user problems easier Make the computer system convenient to use Use the computer hardware in an efficient manner Operating System 1
3 Abstract View of Computer System Components Operating System 2
4 Operating System Definitions Resource allocator manages and allocates resources Control program controls the execution of user programs and operations of I/O devices Kernel the one program running at all times (all else being application programs) Operating System 3
5 What is an OS? OS is a resource manager Abstraction Sharing Time multiplexing Space multiplexing Protection Fairness Performance Resources CPU Memory I/O devices OS provides the program execution environment Operating System 4
6 System Software Layers User applications Middlewares Software Development Environment (compilers, loaders, editors, utilities Command interpreter, libraries) Operating System (Kernel) Computer System Architecture Operating System 5
7 Computer-System Architecture Operating System 6
8 Computer-System Operation I/O devices and the CPU can execute concurrently Each device controller is in charge of a particular device type Each device controller has a local buffer CPU moves data from/to main memory to/from local buffers Cf) DMA (Direct Memory Access) I/O is from the device to local buffer of controller Device controller informs CPU that it has finished its operation by causing an interrupt Operating System 7
9 Modern PC Architecture Memory Controller Hub (MCH) I/O Controller Hub (ICH) Operating System 8
10 CPU Instruction Set Architecture RISC vs. CISC Intel, SPARC, MIPS, PowerPC, ARM, Alpha, Pipelining Fetch, Decode, Execute, Write Back, etc. Registers Program Counter (PC) Instruction Register (IR) Program Status Word (PSW) General-purpose registers Instruction-Level Parallelism(ILP) Superscalar vs. VLIW Simultaneous Multithreading Operating System 9
11 Mutual interaction The functionality of an OS is limited by architectural features Multiprocessing on DOS/8086? OS and Architecture The structure of an OS can be simplified by architectural support Interrupt, DMA, etc. Most proprietary OS s were developed with the certain architecture in mind Operating System 10
12 Storage Structure Main memory only large storage media that the CPU can access directly von Neumann architecture vs. Harvard architecture SRAM vs. DRAM DDR, QDR, RDRAM Secondary storage extension of main memory that provides large nonvolatile storage capacity Magnetic disks rigid metal or glass platters covered with magnetic recording material Disk surface is logically divided into tracks, which are subdivided into sectors The disk controller determines the logical interaction between the device and the computer Operating System 11
13 Moving-Head Disk Mechanism Operating System 12
14 A Modern Disk Drive IBM Deskstar 120GXP (120GB) Disks/Head: 3/6 Max. areal density: 29.7 Gbits/sq.inch Max. recording density: 524K BPI (bits/inch) Track density: 56.7K TPI (tracks/inch) Seek time: 8.5ms average Rotational latency: 7200rpm (8.3ms/rotation) Max. media transfer rate: 592 Mbits/sec Max. interface transfer rate: 100MB/sec Sustained data rate: 48 to 23 MB/sec SAMSUNG HD203WI (2TB) Seek time: 8.9ms Rotational latency: 5400rpm Max. media transfer rate: 300MB/sec Max. interface transfer rate: 135MB/sec Operating System 13
15 Storage Hierarchy Storage systems organized in hierarchy Speed Cost Volatility Caching copying information into faster storage system main memory can be viewed as a last cache for secondary storage Operating System 14
16 Storage-Device Hierarchy Operating System 15
17 Operating System 16 Memory Hierarchy
18 Caching Use of high-speed memory to hold recently-accessed data Requires a cache management policy Write-through vs. Write-back Caching introduces another level in storage hierarchy. This requires data that is simultaneously stored in more than one level to be consistent Cache coherency Operating System 17
19 Migration of A From Disk to Register Operating System 18
20 I/O Structure After I/O starts, control returns to user program only upon I/O completion Wait instruction idles the CPU until the next interrupt Wait loop (contention for memory access) At most one I/O request is outstanding at a time, no simultaneous I/O processing After I/O starts, control returns to user program without waiting for I/O completion System call request to the operating system to allow user to wait for I/O completion Device-status table contains entry for each I/O device indicating its type, address, and state Operating system indexes into I/O device table to determine device status and to modify table entry to include interrupt Operating System 19
21 I/O Control How does the kernel notice an I/O has finished? Polling Hardware interrupt Operating System 20
22 I/O Control (Cont d) Device interrupts CPU stops current operation, switches to kernel mode, and saves current PC and other state on kernel stack CPU fetches proper vector from vector table and branches to that address (to routine to handle interrupt) Interrupt routine examines device database and performs action required by interrupt Handler completes operation, restores saved (interrupt state) and returns to user mode (or calls scheduler to switch to another program) Operating System 21
23 Two I/O Methods From the perspective of applications Synchronous/ Blocking Asynchronous/ Non-blocking Operating System 22
24 Interrupts Generated by hardware devices Triggered by a signal in INTR or NMI pins (Pentium) Asynchronous Interrupts and Exceptions Exceptions Generated by software executing instructions INT instruction in IA32 Page fault, protection fault Synchronous Trap (expected) or fault (unexpected) Operating System 23
25 Data Transfer Modes in I/O Programmed I/O (PIO) By special I/O instructions Memory-mapped I/O DMA (Direct Memory Access) DMA Used for high-speed I/O devices able to transmit information at close to memory speeds Device controller transfers blocks of data from buffer storage directly to main memory without CPU intervention. Only an interrupt is generated per block Operating System 24
26 Hardware Protection I/O Protection Memory Protection CPU Protection Operating System 25
27 Dual-Mode Operation Sharing system resources requires operating system to ensure that an incorrect program cannot cause other programs to execute incorrectly Provide hardware support to differentiate between at least two modes of operations 1. User mode execution done on behalf of a user 2. Monitor mode (also kernel mode or system mode) execution done on behalf of operating system Operating System 26
28 Dual-Mode Operation (Cont d) Mode bit added to computer hardware to indicate the current mode: monitor (0) or user (1) When an interrupt or fault occurs hardware switches to monitor mode Interrupt/fault monitor user set user mode Privileged instructions can be issued only in monitor mode Operating System 27
29 I/O Protection All I/O instructions are privileged instructions Must ensure that a user program could never gain control of the computer in monitor mode (I.e., a user program that, as part of its execution, stores a new address in the interrupt vector) Operating System 28
30 Use of A System Call to Perform I/O Operating System 29
31 System Call Netscape: read( ) user mode kernel mode trap to kernel mode; save app state trap handler find read( ) handler in vector table restore app state, return to user mode, resume read( ) kernel routine Operating System 30
32 Memory Protection Must provide memory protection at least for the interrupt vector and the interrupt service routines In order to have memory protection, add two registers that determine the range of legal addresses a program may access: Base register holds the smallest legal physical memory address Limit register contains the size of the range Memory outside the defined range is protected Operating System 31
33 Use of A Base and Limit Register Operating System 32
34 Hardware Address Protection Operating System 33
35 MMU (Memory Management Unit) Memory management hardware provides more sophisticated memory protection mechanisms base and limit registers page table pointers, page protection, TLBs virtual memory segmentation Memory Protection Manipulation of memory management hardware are protected (privileged) operations Operating System 34
36 CPU Protection Timer interrupts computer after specified period to ensure operating system maintains control Timer is decremented every clock tick When timer reaches the value 0, an interrupt occurs Timer commonly used to implement time sharing Time also used to compute the current time Load-timer is a privileged instruction Operating System 35
37 How does the OS take control of CPU from the running programs? Use a hardware timer that generates a periodic interrupt The timer interrupt transfers control back to OS The OS preloads the timer with a time to interrupt. ( quantum ) 10ms for Linux Cf) time slice or time quantum The timer is privileged. Only the OS can load it Timers Operating System 36
38 Network Structure Local Area Networks (LAN) Relay, bridge, gateway, router, switch, hub Wide Area Networks (WAN) Operating System 37
39 Local Area Network Structure Operating System 38
40 Wide Area Network Structure Operating System 39
41 Computer Systems Mainframe systems Multiprogramming systems Time-sharing systems Desktop systems Parallel systems Distributed systems Clustered systems Real-time systems Embedded systems Handheld systems Operating System 40
42 Mainframe Systems Reduce setup time by batching similar jobs Automatic job sequencing automatically transfers control from one job to another. First rudimentary operating system Resident monitor initial control in monitor control transfers to job when job completes control transfers back to monitor Operating System 41
43 Memory Layout for a Simple Batch System Operating System 42
44 Multiprogrammed Batch Systems Several jobs are kept in main memory at the same time, and the CPU is multiplexed among them. Operating System 43
45 OS Features Needed for Multiprogramming I/O routine supplied by the system Memory management the system must allocate the memory to several jobs CPU scheduling the system must choose among several jobs ready to run Allocation of devices Operating System 44
46 Time-Sharing Systems Interactive Computing The CPU is multiplexed among several jobs that are kept in memory and on disk (the CPU is allocated to a job only if the job is in memory) A job swapped in and out of memory to the disk On-line communication between the user and the system is provided; when the operating system finishes the execution of one command, it seeks the next control statement from the user s keyboard On-line system must be available for users to access data and code Operating System 45
47 Terminology Batch, Multiprogramming, Time-sharing(or Multitasking) von Neumann architecture Job scheduling vs. CPU scheduling Job, Task, Process Concurrent, Simultaneous, Parallel Operating System 46
48 Desktop Systems Personal computers computer system dedicated to a single user I/O devices keyboards, mice, display screens, small printers User convenience and responsiveness Can adopt technology developed for larger operating system Individuals have sole use of computer and do not need advanced CPU utilization of protection features May run several different types of operating systems (Windows, MacOS, UNIX, Linux) Operating System 47
49 Parallel Systems Multiprocessor systems with more than one CPU in close communication Tightly coupled system processors share memory and a clock; communication usually takes place through the shared memory Advantages of parallel system: Increased throughput Economical Increased reliability graceful degradation fail-soft systems (fault-tolerant systems) Cf) Co-processor or controller Operating System 48
50 Parallel Systems (Cont d) Symmetric multiprocessing (SMP) Each processor runs and identical copy of the operating system Many processes can run at once without performance deterioration Most modern operating systems support SMP Asymmetric multiprocessing Each processor is assigned a specific task; master processor schedules and allocated work to slave processors More common in extremely large systems Operating System 49
51 Symmetric Multiprocessing Architecture Operating System 50
52 Distributed Systems Distribute the computation among several physical processors Loosely coupled system each processor has its own local memory; processors communicate with one another through various communications lines, such as high-speed buses or telephone lines Advantages of distributed systems Resources Sharing Computation speed up load sharing Reliability Communications Operating System 51
53 Distributed Systems (Cont d) Requires networking infrastructure Local area networks (LAN) or Wide area networks (WAN) May be either client-server or peer-to-peer systems Operating System 52
54 General Structure of Client-Server Operating System 53
55 Clustered Systems Clustering allows two or more systems to share storage Provides high reliability (or high availability) Asymmetric clustering: one server runs the application while other servers standby Symmetric clustering: all N hosts are running the application Cf) Grid Computing Cf) Distributed Lock Manager (DLM), Storage Area Network (SAN) Operating System 54
56 Real-Time Embedded Systems Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems Well-defined fixed-time constraints Real-Time systems may be either hard or soft real-time Operating System 55
57 Real-Time Embedded Systems (Cont d) Hard real-time: Secondary storage limited or absent, data stored in short term memory, or readonly memory (ROM) Conflicts with time-sharing systems, not supported by general-purpose operating systems Soft real-time Limited utility in industrial control of robotics Useful in applications (multimedia, virtual reality) requiring advanced operatingsystem features Operating System 56
58 Handheld Systems Personal Digital Assistants (PDAs) Cellular telephones Issues: Limited memory Slow processors Small display screens Operating System 57
59 Computing Environments Traditional computing Client-Server computing Peer-to-Peer computing Web-based computing Operating System 58
60 Migration of Operating-System Concepts and Features Operating System 59
61 1st Generation ( ) Vacuum Tubes and Plugboards No OS No Programming Languages No Assembly Languages Operating System 60
62 2nd Generation ( ) Transistors and Mainframes Batch systems One job at a time Card readers, tape drives, line printers OS is always resident in memory and merely transfers a control. CPU is underutilized due to the bottleneck in I/O Operating System 61
63 3rd Generation ( ) Integrated Circuits (ICs) Architectural Advances Using ICs: better price/performance Disk drives On-line terminals The notion of Computer Architecture IBM System/360 family Operating System 62
64 3rd Generation ( ) Multiprogrammed Systems Increase CPU utilization OS features Job scheduling Memory management CPU scheduling Protection Spooling (Simultaneous Peripheral Operation On-Line) Operating System 63
65 3rd Generation ( ) Time-sharing Systems Improve response time OS features Swapping Virtual memory File system Sophisticated CPU scheduling Synchronization Interprocess communication Interactive shell More protection, Operating System 64
66 4th Generation (1980-) LSIs & VLSIs Architectural Advances Microprocessors: smaller and faster Storages: larger and faster Personal computers CPU work is offloaded to I/O devices Modern OS Features GUI (Graphical User Interface) Multimedia Internet & Web Networked / Distributed, etc. Operating System 65
67 OS History IBM OS/360: Multiprogramming A long time ago, in a galaxy far, far away, MIT CTSS (Compatible Time-Sharing System) MIT, Bell Labs, GE, MULTICS (MULTiplexed Information and Computing Service) And UNIX was born in 1969 Operating System 66
68 OS History: UNIX ( ) USG/USDL/ATTIS DSG/USO/USL Bell Labor atories Research Berkeley Software Distri butions 1969 Fi rst Edition 1973 Fifth Edition 1976 Sixth Edition 1977 PWB MER T CB UNIX 1BSD 1977 UNIX RT Seventh Editi on 2BSD 32V BSD BSD 1980 XENIX BSD Sys tem III 4.1aBSD System V XENIX 3 Eighth 4.1cBSD Edition 1984 Sys tem V SunOS 4.2BSD Release 2 2.8BSD 2.9BSD 1985 Figure 1.1 The UNIX system family tree, Operating System 67
69 OS History: UNIX ( ) Sys tem V Eighth 1985 Release 2 XENIX 3 SunOS Edition 4.2BSD 2.9BSD 1986 MACH 4.3BSD SunOS3 System V 1987 Release 3 Ninth 2.10BSD Chorus Edition XENIX MACH BSD-Tahoe System V 1989 Release 4 NeXT SunOS4 Tenth 2.11BSD Chorus Step Edition NET/1 V OSF/1 Plan 9 4.3BSD-Reno 1991 NET/2 386BSD 1992 Solaris NetBSD 0.8 Novell DEC UNIX FreeBSD 1.0 BSDI Linux UNIX Ware Solaris 2 4.4BSD BSD Lite SCO FreeBSD 2.0 BSDI 2.0 UNIX 4.4BSD Lite Figure 1.2 The UNIX system family tree, Operating System 68
70 OS History: UNIX (Current) Sun Solaris HP HP-UX IBM AIX Caldera (SCO) Unixware Compaq (Digital) Tru64 SGI Irix Linux, FreeBSD, NetBSD Apple Mac OS X, etc. Cf) POSIX Operating System 69
71 OS History: Windows & Linux MS-DOS Family Windows Family ME SE Windows for WorkGroup Family Windows NT Family K XP Linux Operating System 70
72 OS History: Windows & Linux (Cont d) ? Windows A.B.C A: Kernel version B: Major revision C: Minor revision Operating System 71
73 OS Classification (1) MS-DOS Windows 98 Windows NT Linux Multi-user X X O O Multi-task Multi-process X O O O Multi-processor X X O O Multi-thread X O O O Operating System 72
74 OS Classification (2) Monolithic Kernel Function calls Unixware, Solaris, AIX, HP-UX, Linux, etc. API Integrated Kernel Hardware Micro kernel Multiple servers Message passing Mach, Chorus, Linux mk, etc. API server server server Microkernel Hardware Operating System 73
75 Mainframe systems CTS, MULTICS, IBM MVS, VM Desktop systems DOS, Windows, MacOS, Unix/Linux Multiprocessor systems Cluster systems Distributed systems OS Classification (3) Amoeba(Vrije Univ.), Locus(UCLA), Grapevine(Xerox), V(Stanford), Eden(U. of Washington), Chorus/Nucleus(Inria) Embedded systems Vertex, psos, VxWorks, OSE, Windows-CE, Embedded Linux Company-proprietary OS (Cisco, Qualcomm, Palm, Cellvic) Real-time systems Real-Time Linux, Spring(U. of Massachusetts), HARTS(U. of Michigan), MARUTI(U. of Maryland) Operating System 74
76 Operating system An intermediary software between users and computer hardware Summary Goals of operating system Use the computer hardware in efficient manners Convenient programming & use through encapsulation of complexity of H/Ws Maximization of performance of computer hardware resources Operating System 75
77 Computer system architecture & Operation CPU, Memory, I/O devices Instructions Arithmetic instructions: add, subtract, Logical instructions: and, or, not, Control flow instructions: goto, if, call, return, Data instructions: load, store, move, input, output, Interrupt DMA Summary (Cont d) When I/O events occur, I/O devices trigger an interrupt CPU saves its operation and runs the corresponding interrupt service routine (ISR) Transfers blocks of data from I/O devices to main memory without CPU intervention Storage hierarchy Register / Cache / Main memory / Secondary storage / Tertiary storage Operating System 76
78 Computer system architecture & Operation (Cont d) System call Summary (Cont d) An interface to the service made available by operating system When a user process calls a system call, controls are transferred from the user process to operating system user mode vs. kernel mode Protection I/O protection: Dual-mode operation Memory protection: MMU (Memory Management Unit) CPU protection: Timer interrupt History of computer systems Mainframe systems or batch systems Multiprogramming systems Time-sharing systems Desktop systems Parallel / Distributed / Clustered / Cloud systems Real-time / Embedded / Handheld systems Operating System 77
Chapter 1: Introduction
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments
More informationOperating 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 informationIntroduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?
Introduction CSCI 315 Operating Systems Design Department of Computer Science What is an Operating System? A Modern Computer System Computer System Components Disks... Mouse Keyboard Printer 1. Hardware
More informationOPERATING 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 informationOperating System: an Overview. Lucia Dwi Krisnawati, MA
Operating System: an Overview Lucia Dwi Krisnawati, MA What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals:
More informationModule 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
More informationECE397A 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 informationInstruction Cycle. Computer-System Architecture. Computer-System Operation. Common Functions of Interrupts. Chapter 2: Computer-System Structures
Summary Operating Systems evolved through stages Resident monitors Multiprogrammed batch systems Time-shared multiuser systems Desktop systems Specialized operating systems (real-time, handheld, parallel
More informationModule 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 informationModule 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 informationComputer-System Architecture
Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 Computer-System Architecture 2.2 1
More informationComputer-System Architecture. Common Functions of Interrupts. Computer-System Operation. Interrupt Handling. Chapter 2: Computer-System Structures
Chapter 2: Computer-System Structures Computer-System Architecture Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 2.2 Computer-System
More informationChapter 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 informationOperating System Review
COP 4225 Advanced Unix Programming Operating System Review Chi Zhang czhang@cs.fiu.edu 1 About the Course Prerequisite: COP 4610 Concepts and Principles Programming System Calls Advanced Topics Internals,
More informationComputer-System Structures
Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection Network Structure 2.1 Sana a University, Dr aimen A Modern Computer System 2.2
More informationChapter 1: Introduction. What is an Operating System? Overview Course (contd.) How do I spend my time? Computer System Components
ECE397A Operating Systems Overview Chapter 1: Introduction Welcome! Instructor: Professor Csaba Andras Moritz, andras@ecs.umass.edu Class webpage: http://www.ecs.umass.edu/ece/andras/courses/ece397_s2005
More informationIntroduction 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 informationModule 2: Computer-System Structures. Computer-System Architecture
Module 2: Computer-System Structures Computer-System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Silberschatz
More informationChapter 1: Introduction. Operating System Concepts 8th Edition,
Chapter 1: Introduction, Administrivia Reading: Chapter 1. Next time: Continued Grand Tour. 1.2 Outline Common computer system devices. Parallelism within an operating system. Interrupts. Storage operation,
More informationIntroduction. TDDI04, K. Arvidsson, IDA, Linköpings universitet Contents. What is an Operating System (OS)?
TDDI04 Concurrent Programming, Operating Systems, and Real-time Operating Systems Introduction Copyright Notice: The lecture notes are mainly based on Silberschatz s, Galvin s and Gagne s book ( Operating
More informationChapter 2: Computer-System Structures. Hmm this looks like a Computer System?
Chapter 2: Computer-System Structures Lab 1 is available online Last lecture: why study operating systems? Purpose of this lecture: general knowledge of the structure of a computer system and understanding
More informationChapter 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 informationUniprocessor Computer Architecture Example: Cray T3E
Chapter 2: Computer-System Structures MP Example: Intel Pentium Pro Quad Lab 1 is available online Last lecture: why study operating systems? Purpose of this lecture: general knowledge of the structure
More informationChapter 1: Introduction. Operating System Concepts 9 th Edit9on
Chapter 1: Introduction Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 Objectives To describe the basic organization of computer systems To provide a grand tour of the major
More informationFour 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 informationTo provide a grand tour of the major operating systems components To provide coverage of basic computer system organization
Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management Memory Management Storage Management
More informationIntroduction 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 informationLecture 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 informationEuropean 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 informationINTRODUCTION 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 informationIntroduction 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 informationCS370 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 informationDM510 Operating Systems. Jacob Aae Mikkelsen
DM510 Operating Systems Jacob Aae Mikkelsen DM510 2014 DM510 Course Introduction Teacher: Jacob Aae Mikkelsen ( jamik@imada.sdu.dk ) Teaching Assistant: Daniel Fentz Johansen ( dfjohansen@gmail.com ) Course
More informationCS370 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 informationIntroduction 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 informationOperating 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 informationArchitectural Support for Operating Systems. Jinkyu Jeong ( Computer Systems Laboratory Sungkyunkwan University
Architectural Support for Operating Systems Jinkyu Jeong ( jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics Basic services of OS Basic computer system
More informationCourse 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 informationIntroduction 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 informationChapter 1: Introduction Dr. Ali Fanian. Operating System Concepts 9 th Edit9on
Chapter 1: Introduction Dr. Ali Fanian Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 1.2 Silberschatz, Galvin and Gagne 2013 Organization Lectures Homework Quiz Several homeworks
More information7/20/2008. What Operating Systems Do Computer-System Organization
Introduction to Operating Systems Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationCPSC 341 OS & Networks. Introduction. Dr. Yingwu Zhu
CPSC 341 OS & Networks Introduction Dr. Yingwu Zhu What to learn? Concepts Processes, threads, multi-processing, multithreading, synchronization, deadlocks, CPU scheduling, networks, security Practice:
More informationUNIT I OPERATING SYSTEMS OVERVIEW
UNIT I OPERATING SYSTEMS OVERVIEW Computer System Overview-Basic Elements, Instruction Execution, Interrupts, Memory Hierarchy, Cache Memory, Direct Memory Access, Multiprocessor and Multicore Organization.
More informationChapter 1: Introduction
Chapter 1: Introduction Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationOPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems
OPERATING SYSTEMS: Lesson 1: Introduction to Jesús Carretero Pérez David Expósito Singh José Daniel García Sánchez Francisco Javier García Blas Florin Isaila 1 Why study? a) OS, and its internals, largely
More informationChapter 1: Introduction
Chapter 1: Introduction Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationCommon Computer-System and OS Structures
Common Computer-System and OS Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Oct-03 1 Computer-System Architecture
More informationChapter 1: Introduction. Chapter 1: Introduction
Chapter 1: Introduction Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationChapter 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 informationComputer-System Organization (cont.)
Computer-System Organization (cont.) Interrupt time line for a single process doing output. Interrupts are an important part of a computer architecture. Each computer design has its own interrupt mechanism,
More informationCSE Opera+ng System Principles
CSE 30341 Opera+ng System Principles Lecture 2 Introduc5on Con5nued Recap Last Lecture What is an opera+ng system & kernel? What is an interrupt? CSE 30341 Opera+ng System Principles 2 1 OS - Kernel CSE
More informationFundamental 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 informationIntroduction to Operating Systems
Introduction to Operating Systems B. Ramamurthy (adapted from C. Egert s and W. Stallings slides) 1/25/02 CSE421, Spring 2002 1 Introduction A computer system consists of hardware system programs application
More informationOperating Systems Overview. Chapter 2
Operating Systems Overview Chapter 2 Operating System A program that controls the execution of application programs An interface between the user and hardware Masks the details of the hardware Layers and
More informationOperating 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 informationCSC 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 informationOperating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction
Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction Lecturer: Eng. Mohamed B. Abubaker Note: Adapted from the resources of textbox Operating System Concepts, 9 th edition What is an
More informationOperating 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 informationOverview of Operating Systems
Lecture Outline Overview of Operating Systems Instructor: Dr. Tongping Liu Thank Dr. Dakai Zhu and Dr. Palden Lama for providing their slides. 1 2 Lecture Outline Von Neumann Architecture 3 This describes
More informationOperating Systems. Lecture Course in Autumn Term 2015 University of Birmingham. Eike Ritter. September 22, 2015
Lecture Course in Autumn Term 2015 University of Birmingham September 22, 2015 Course Details Overview Course Details What is an Operating System? OS Definition and Structure Lecture notes and resources:
More informationReserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input.
Introduction & Ch1 Two Roles of an Operating System Extended Machine or virtual machine Device drivers, Processes, File systems, Networking protocols. Resource Manager Allocates and enforces Memory, Disk
More informationCourse Details. Operating Systems with C/C++ Course Details. What is an Operating System?
Lecture Course in Autumn Term 2013 University of Birmingham Lecture notes and resources: http://www.cs.bham.ac.uk/ exr/teaching/lectures/opsys/13_14 closed facebook group: UoBOperatingSystems anyone registered
More informationfor Operating Systems Computer Systems Laboratory Sungkyunkwan University
Architectural t Support for Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics Basic computer system architecture
More informationArchitectural Support for Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University
Architectural Support for Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics Basic structure of OS Basic computer
More informationCS6401- Operating System QUESTION BANK UNIT-I
Part-A 1. What is an Operating system? QUESTION BANK UNIT-I An operating system is a program that manages the computer hardware. It also provides a basis for application programs and act as an intermediary
More informationEECS 3221 Operating System Fundamentals
EECS 3221 Operating System Fundamentals Instructor: Prof. Hui Jiang Email: hj@cse.yorku.ca Web: http://www.eecs.yorku.ca/course/3221 General Info 3 lecture hours each week 2 assignments (2*5%=10%) 1 project
More informationEECS 3221 Operating System Fundamentals
General Info EECS 3221 Operating System Fundamentals Instructor: Prof. Hui Jiang Email: hj@cse.yorku.ca Web: http://www.eecs.yorku.ca/course/3221 3 lecture hours each week 2 assignments (2*5%=10%) 1 project
More informationCS3600 SYSTEMS AND NETWORKS
CS3600 SYSTEMS AND NETWORKS NORTHEASTERN UNIVERSITY Lecture 1: Overview and Introduction Prof. Alan Mislove (amislove@ccs.neu.edu) What is an Operating System? 2 What is an Operating System? A program
More informationCS450/550 Operating Systems
CS450/550 Operating Systems Lecture 1 Introductions to OS and Unix Palden Lama Department of Computer Science CS450/550 P&T.1 Chapter 1: Introduction 1.1 What is an operating system 1.2 History of operating
More informationPrinciples 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 c. Types of O/S Mainframe systems Desktop & laptop systems Parallel systems
More informationChapter 1. Historical Background
If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside. -- Robert
More informationTopics: Early systems and OS overview Skim Chapters 1-2 of SGG Read Chapter 1 of USP CS 3733 Operating Systems
Topics: Early systems and OS overview Skim Chapters 1-2 of SGG Read Chapter 1 of USP CS 3733 Operating Systems Instructor: Dr. Turgay Korkmaz Department Computer Science The University of Texas at San
More informationIntroduction. Chapter Prof. Amr El-Kadi
Introduction Chapter 1 2015 Prof. Amr El-Kadi Computer System Structure 2015 Prof. Amr El-Kadi 1 Computer Abstraction layers Banking system Airline reservation Web browser Application programs Compilers
More informationOPERATING SYSTEMS OVERVIEW. Operating Systems 2015 Spring by Euiseong Seo
OPERATING SYSTEMS OVERVIEW Operating Systems 2015 Spring by Euiseong Seo What is an Operating System? A program that acts as an intermediary between a user of a computer and computer hardware Operating
More informationOperating 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 informationArchitectural Support for Operating Systems
Architectural Support for Operating Systems Today Computer system overview Next time OS components & structure Computer architecture and OS OS is intimately tied to the hardware it runs on The OS design
More informationOverview of Operating Systems
Lecture Outline Overview of Operating Systems Instructor: Dr. Tongping Liu Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded
More informationDownloaded from various sources on the NET
Overview Computers. Hardware components of a Computer. Purpose and functions of computer operating systems. Evolution of computer operating systems. Operating systems available today. Downloaded from various
More informationLecture 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 informationOperating 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 informationIntroduction. Operating Systems (Fall/Winter 2018) Yajin Zhou ( Zhejiang University
Operating Systems (Fall/Winter 2018) Introduction Yajin Zhou (http://yajin.org) Zhejiang University Acknowledgement: Some slides are based on Zhi Wang (FSU) s slides. Four Components of a Computer System
More informationArchitectural Support for OS
Architectural Support for OS Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu EEE3052: Introduction to Operating Systems, Fall 2017, Jinkyu Jeong (jinkyu@skku.edu)
More informationSome 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 informationPart I Overview Chapter 1: Introduction
Part I Overview Chapter 1: Introduction Fall 2010 1 What is an Operating System? A computer system can be roughly divided into the hardware, the operating system, the application i programs, and dthe users.
More informationOperating Systems. Operating System Structure. Lecture 2 Michael O Boyle
Operating Systems Operating System Structure Lecture 2 Michael O Boyle 1 Overview Architecture impact User operating interaction User vs kernel Syscall Operating System structure Layers Examples 2 Lower-level
More informationIntroduction to Operating System
Introduction to Operating System An operating system is a program which manages all the computer hardware. It provides the base for application program and acts as an intermediary between a user and the
More informationLecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter
Lecture Topics Today: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) Next: Processes (Stallings, chapter 3.1-3.6) 1 Announcements Consulting hours posted Self-Study Exercise #3 posted
More informationChapter 2 Computer-System Structure
Contents 1. Introduction 2. Computer-System Structures 3. Operating-System Structures 4. Processes 5. Threads 6. CPU Scheduling 7. Process Synchronization 8. Deadlocks 9. Memory Management 10. Virtual
More informationChapter 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 What Operating Systems Do Computer-System Organization Computer-System Architecture
More informationPrinciples 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 informationChapter 1 Computer System Overview
Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Seventh Edition By William Stallings Objectives of Chapter To provide a grand tour of the major computer system components:
More informationComputer 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 informationCMPSC 311- Introduction to Systems Programming Module: UNIX/Operating Systems
CMPSC 311- Introduction to Systems Programming Module: UNIX/Operating Systems Professor Patrick McDaniel Fall 2015 Assignment #1 See webpage Due 9/14/15 Page 2 UNIX Utilities: tar tar collects multiple
More informationCSC 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 informationAnnouncements. 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 informationELEC 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 informationComputer-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 informationOperating Systems Part M10 Introduction to OS, SW Interrupts, Supervisory Call. Florina Ciorba 16/23 October 2015
Operating Systems Part M10 Introduction to OS, SW Interrupts, Supervisory Call Florina Ciorba 16/23 October 2015 Today s Overview Introduction to Operating Systems, earlier Operating Systems see 5 th Operating
More informationOPERATING SYSTEMS OVERVIEW
OPERATING SYSTEMS OVERVIEW Contents O.S.Functions The Evolution of O.S. Characteristics of O.S. Basic hardware elements Contents USER 1 USER 2 USER 3 USER n O.S.Components System calls O.S.Structure compiler
More informationOPERATING SYSTEMS Lecture Notes. Prepared by K.Rohini, Assistant Professor, CSE Department, GVPCEW.
OPERATING SYSTEMS Lecture Notes Prepared by K.Rohini, Assistant Professor, CSE Department, GVPCEW. UNIT-I Computer System and Operating System Overview: Overview of computer operating systems, operating
More information