Introduction to Computer Science
|
|
- Suzan Morrison
- 5 years ago
- Views:
Transcription
1 Introduction to Computer Science CSCI 109 China Tianhe-2 Andrew Goodney Spring 2019 Lecture 8: Operating Systems March 18th, 2019
2 Operating Systems ì Working Together 1
3 Schedule 2
4 Agenda u Talk about operating systems u Reiew midterm (time permitting) 3
5 Operating Systems uwhat is an OS? uthe kernel, processes and resources uprotection/isolation/security ucompeting for time Reading: St. Amant Ch. 6 4
6 Before Operating Systems u One computer ó one program u Program runs start to finish (or crashes) Once done, load the next program u Thought experiment? Program waits 10ms to load a data item from tape (eery once in a while) Oer the course of the program execution loads 1,000,000 data items. What happens to the 10,000s while the program was waiting? 5
7 Obseration u Most programs perform some I/O I/O is slow (tape, disk, network, human user, etc.) u CPU literally does nothing while waiting for I/O This is inefficient u What if we could share the CPU so when one program is waiting we can run another program? u Operating systems came out of this need to time-share the CPU 6
8 The need for an OS Problem Solution: Algorithm + Data Structures Low-leel instructions Executes on Pseudocode Program Compiles to CPU, Memory, Disk, I/O 7
9 The OS as a executie manager Problems Solution: Algorithms + Data Structures Pseudocode Low-leel Low-leel instructions Low-leel instructions instructions Executions managed by Operating System Program Program Program Program Compile to CPU, Memory, Disk, I/O 8
10 What is an Operating System? uan executie manager for the computer umanages resources Space (i.e. memory) Time (i.e. CPU compute time) Peripherals (i.e. input and output) uos is a program that starts, runs, pauses, restarts, and ends other programs u (some content from the following slides is courtesy of Mark Redekopp and CS350) 9
11 Definition A piece of software that manages a computer s resources What resources need managing? CPU (threads and processes) Memory (Virtual memory, protection) I/O (Abstraction, interrupts, protection) Hardware Kernel User Mode mode DISK User App System Library Processes & Scheduling I/O Driers & Protocols Processor Mem. Management Unit User App System Library File Systems Memory Translation Network Graphics 10
12 Examples of Operating Systems u u u Microsoft Family MSDOS, Windows , WindowsNT -> Windows 10 Predominately x86 (Intel) hardware, some PowerPC, some ARM FreeDOS POSIX (UNIX/like) macos, FreeBSD, openbsd, netbsd, Solaris, AIX, and others u ios Linux u u u u Others Run on most processor architectures Little side project of uniersity student UNIX clone that won the war 20+ popular distributions Android: heaily customized Linux and Jaa on phone/tablet PlaystationOS, VxWorks 11
13 12
14 13
15 Important Vocabulary u Resource Some part of the computer that programs use: u u Policy Memory, CPU, Input/Output deices Rules enforced by algorithms that share access to resources u OS Deelopers (humans) write policies that achiee some set of goals for the operating systems 14
16 What does an Operating System do? ua bare computer is just hardware uprograms are written to use that hardware, but exclusie use is inefficient uin simple terms, the OS: Enables more than one program at a time to use the computer hardware Present computer resources (CPU, disk, I/O) through abstract interfaces to allow sharing Enforce policies to manage/regulate the sharing of resources 15
17 Roles Referee Protection against other applications Enforce fair resource sharing Why doesn't an infinite loop require a reboot? Illusionist (Virtualization) Glue Each program thinks it is running separately Each program thinks it has full access to computer's resources (or unlimited resources) Common serices (such as copy/paste) Files can be read by any application UI routines for look & feel Separate applications from hardware so you don t need to know which keyboard, disk drie, etc 16
18 OS Design Criteria u Reliability (and aailability) u Security & Priacy u Performance u Portability 17
19 Reliability and Aailably u Reliable systems work properly Correct (or expected) outputs are generated for a set of inputs If this is not the case, the system has failed u Examples? u Aailable systems are aailable to do work u Aailable does not imply reliable System can be aailable but not reliable (system has bugs, generates wrong results) System can be reliable but not aailable u Crash eery 5 minutes, but saes results and restarts 5 minutes later 18
20 Priacy, Security, Isolation u For an OS security means the OS does not run unintended code or get into a compromised state No irus/malware u OS priacy means programs should not get access to data they should not hae Password keychains, files in other users directories u Security and Priacy require some tradeoffs with performance, which is why OS s are not 100% secure Some are better than others! 19
21 Portability u Many machine types exist: x86, x86_64, PPC, ARM, MIPS u Many different motherboards or hardware platforms exist: serer with 8 CPUs 12 PCIe slots to RaspberryPi, to AppleTV, etc. u OS with good portability abstracts these differences into a stable API so programmers don t notice u Also, can the OS itself be ported to new hardware easily? u Good portability leads to wide adoption Linux, Windows 20
22 Performance u What does performance mean? Lots of computation? Fluid GUI for game? Low latency disk for database? u OS balances these with policies Major axis is throughput s. response time Different OS s are tuned based on use case DB serer has different policies than Windows gaming rig 21
23 Examples of Policies utasks are gien priorities; higher priority tasks are handled first usome kind of tasks are neer interrupted uall tasks are equal priority; round-robin usome tasks can only use part of a disk usome tasks can use network 22
24 The kernel uthe kernel is the core of an OS ukernel coordinates other programs uwhen the computer starts up the kernel is copied from the disk to the memory ukernel runs until some other program needs to use the CPU ukernel pauses itself to run other program 23
25 How memory is used Start Kernel loaded User program runs User program done Free Memory Free Memory Free Memory Free Memory Executing Program Kernel Kernel Kernel 24
26 Multitasking u One program uses the CPU at a time u OS switches CPU usage (rapidly) u Creates an illusion that all the programs are running at the same time u Changeoer from one program to another is called a context switch u Examples of context switching? u Can context switching be good for a program? u Can context switching be good for a CPU? 25
27 Abstractions: Processes and Resources u Resources Space (memory) Time (CPU) Peripherals (printers etc.) u Process: an executing program Program counter Contents of registers Allocated memory & contents uos doesn t worry about what each program does uinstead OS cares about What resources does a process need? How long will it run? How important is it? 26
28 Protection/Isolation u Other processes hae to be preented from writing to the memory used by the kernel u Crash in one program shouldn t crash OS or other programs u OS has access to all resources: priileged mode u User programs hae restricted access: user mode u When a user program needs access to protected resources it makes a system call (e.g., managing files, accessing a printer) u Principle of least priilege (kernel has highest priilege) 27
29 Keep the CPU busy! u Keeping CPU busy is THE MOST IMPORTANT THING EVER! u Lets look at some policies that can help us do that. u We assume we hae lots of work (i.e. different programs) 28
30 Competing for time uthink of the time the CPU spends in chunks or blocks uhow can blocks of time be allocated to different processes so that work can be done efficiently? upolicy: rules to enforce process prioritization 29
31 Process Scheduling Policies uthe process queue u Round-robin u First-come, first-sered upriority-based Preset priority for each process Shortest-remaining-time uall these policies keep the CPU busy uare there other ways to judge a policy? 30
32 Keeping CPU busy 31
33 How to ealuate a policy? u u u u Utilization: how much work the CPU does Throughput: # of processes that use the CPU in a certain time Latency: aerage amount of time that processes hae to wait before running Fairness: eery process gets a chance to use the CPU CPU utilization Throughput Latency Fairness Round-robin Good Variable Potentially high First-come firstsered Shortest remaining time Fixed priority Good Variable Yes Good High Potentially high Good Yes No staration No Could hae staration 32
34 Eeryday policies uplanes taking off: first come first sered High efficiency for the runway If seeral smaller planes in line before a large one, not efficient for the aerage passenger u Traffic at an intersection w/light out: round robin First traffic in one direction, then another If a police car arries, then switch to priority-based Unlikely to eer be shortest remaining time 33
35 First-come, first sere (non-pre-emptie) 34
36 Round Robin (pre-emptie) 35
37 Weighted Round Robin 36
38 Shortest-time Remaining 37
Introduction to Computer Science
Introduction to Computer Science CSCI 109 China Tianhe-2 Andrew Goodney Fall 2017 Lecture 8: Operating Systems October 16, 2017 Operating Systems ì Working Together 1 Agenda u Talk about operating systems
More informationCSCI 350 Ch. 1 Introduction to OS. Mark Redekopp Ramesh Govindan and Michael Shindler
1 CSCI 350 Ch. 1 Introduction to OS Mark Redekopp Ramesh Govindan and Michael Shindler 2 Syllabus Website (http://bits.usc.edu/cs350) People Projects PintOS Policies Grading & Exams WHAT IS AN OPERATING
More informationCS 326: Operating Systems. CPU Scheduling. Lecture 6
CS 326: Operating Systems CPU Scheduling Lecture 6 Today s Schedule Agenda? Context Switches and Interrupts Basic Scheduling Algorithms Scheduling with I/O Symmetric multiprocessing 2/7/18 CS 326: Operating
More informationCS307 Operating Systems Introduction Fan Wu
CS307 Introduction Fan Wu Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2018 2 UNIX-family: BSD(Berkeley Software Distribution), System-V, GNU/Linux, MINIX, Nachos,
More informationSpring It takes a really bad school to ruin a good student and a really fantastic school to rescue a bad student. Dennis J.
Operating Systems * *Throughout the course we will use overheads that were adapted from those distributed from the textbook website. Slides are from the book authors, modified and selected by Jean Mayo,
More informationIntroduction to Concurrency
Introduction to Concurrency CSE 333 Summer 2018 Instructor: Hal Perkins Teaching Assistants: Renshu Gu William Kim Soumya Vasisht Administriia Last exercise due Monday Concurrency using pthreads hw4 due
More informationI/O Handling. ECE 650 Systems Programming & Engineering Duke University, Spring Based on Operating Systems Concepts, Silberschatz Chapter 13
I/O Handling ECE 650 Systems Programming & Engineering Duke University, Spring 2018 Based on Operating Systems Concepts, Silberschatz Chapter 13 Input/Output (I/O) Typical application flow consists of
More informationLecture 17: Threads and Scheduling. Thursday, 05 Nov 2009
CS211: Programming and Operating Systems Lecture 17: Threads and Scheduling Thursday, 05 Nov 2009 CS211 Lecture 17: Threads and Scheduling 1/22 Today 1 Introduction to threads Advantages of threads 2 User
More informationChapter 2: Operating-System Structures
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 informationCOSC243 Part 2: Operating Systems
COSC243 Part 2: Operating Systems Lecture 14: Introduction, and history of operating systems Zhiyi Huang Dept. of Computer Science, University of Otago Zhiyi Huang (Otago) COSC243 Lecture 14 1 / 27 General
More informationOperating Systems. Operating Systems
The operating system defines our computing experience. It is the first software we see when we turn on the computer, and the last software we see when the computer is turned off. It's the software that
More informationSOFTWARE ARCHITECTURE
1 SOFTWARE ARCHITECTURE Tatsuya Hagino hagino@sfc.keio.ac.jp Slide URL https://vu5.sfc.keio.ac.jp/slide/ 2 Lecture Slide System Please access to: https://vu5.sfc.keio.ac.jp/slide/ Select: Software Architecture
More informationMulti-Level Feedback Queues
CS 326: Operating Systems Multi-Level Feedback Queues Lecture 8 Today s Schedule Building an Ideal Scheduler Priority-Based Scheduling Multi-Level Queues Multi-Level Feedback Queues Scheduling Domains
More informationPreview. The Thread Model Motivation of Threads Benefits of Threads Implementation of Thread
Preview The Thread Model Motivation of Threads Benefits of Threads Implementation of Thread Implement thread in User s Mode Implement thread in Kernel s Mode CS 431 Operating System 1 The Thread Model
More informationIntroduction to Concurrency
Introduction to Concurrency CSE 333 Autumn 2018 Instructor: Hal Perkins Teaching Assistants: Tarkan Al-Kazily Renshu Gu Trais McGaha Harshita Neti Thai Pham Forrest Timour Soumya Vasisht Yifan Xu Administriia
More informationScheduling. Don Porter CSE 306
Scheduling Don Porter CSE 306 Last time ò We went through the high-level theory of scheduling algorithms ò Today: View into how Linux makes its scheduling decisions Lecture goals ò Understand low-level
More informationOPERATING 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 informationIBM Tivoli Storage Manager Version Optimizing Performance IBM
IBM Tioli Storage Manager Version 7.1.6 Optimizing Performance IBM IBM Tioli Storage Manager Version 7.1.6 Optimizing Performance IBM Note: Before you use this information and the product it supports,
More informationIBM Spectrum Protect for Linux Version Installation Guide IBM
IBM Spectrum Protect for Linux Version 8.1.2 Installation Guide IBM IBM Spectrum Protect for Linux Version 8.1.2 Installation Guide IBM Note: Before you use this information and the product it supports,
More informationOperating systems Architecture
Operating systems Architecture 1 Operating Systems Low level software system that manages all applications implements an interface between applications and resources manages available resources Resource
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 informationOperating Systems (2INC0) 2018/19. Introduction (01) Dr. Tanir Ozcelebi. Courtesy of Prof. Dr. Johan Lukkien. System Architecture and Networking Group
Operating Systems (2INC0) 20/19 Introduction (01) Dr. Courtesy of Prof. Dr. Johan Lukkien System Architecture and Networking Group Course Overview Introduction to operating systems Processes, threads and
More informationIBM Tivoli Storage Manager for AIX Version Installation Guide IBM
IBM Tioli Storage Manager for AIX Version 7.1.7 Installation Guide IBM IBM Tioli Storage Manager for AIX Version 7.1.7 Installation Guide IBM Note: Before you use this information and the product it supports,
More informationTechnology in Action. Chapter 5 System Software: The Operating System, Utility Programs, and File Management
Technology in Action Chapter 5 System Software: The Operating System, Utility Programs, and File Management Chapter Topics Operating System Fundamentals What the Operating System Does The Boot Process:
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 informationComp 204: Computer Systems and Their Implementation. Lecture 18: Devices
Comp 204: Computer Systems and Their Implementation Lecture 18: Devices 1 Today Devices Introduction Handling I/O Device handling Buffering and caching 2 Operating System An Abstract View User Command
More informationCSCI 120 Introduction to Computation Operating System (draft)
CSCI 120 Introduction to Computation Operating System (draft) Saad Mneimneh Visiting Professor Hunter College of CUNY 1 Introduction So far, we have studied computation from different perspectives, starting
More informationWhat s the difference between threads/processes. Operating Systems
Overview Definitions 1 How does OS execute processes? How do kernel & processes interact How does kernel switch between processes How do interrupts fit in What s the difference between threads/processes
More informationECE 598 Advanced Operating Systems Lecture 22
ECE 598 Advanced Operating Systems Lecture 22 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 19 April 2016 Announcements Project update HW#9 posted, a bit late Midterm next Thursday
More informationComputer Architecture
Instruction Cycle Computer Architecture Program Execution and Instruction Sets INFO 2603 Platform Technologies The basic function performed by a computer is the execution of a program, which is a set of
More informationIBM. Troubleshooting Operations Center client updates
IBM Troubleshooting Operations Center client updates ii Troubleshooting Operations Center client updates Contents Troubleshooting Operations Center client updates............ 1 iii i Troubleshooting Operations
More informationò mm_struct represents an address space in kernel ò task represents a thread in the kernel ò A task points to 0 or 1 mm_structs
Last time We went through the high-level theory of scheduling algorithms Scheduling Today: View into how Linux makes its scheduling decisions Don Porter CSE 306 Lecture goals Understand low-level building
More informationIBM. Systems management Logical partitions. System i. Version 6 Release 1
IBM System i Systems management Logical partitions Version 6 Release 1 IBM System i Systems management Logical partitions Version 6 Release 1 Note Before using this information and the product it supports,
More informationCS 550 Operating Systems Spring Operating Systems Overview
1 CS 550 Operating Systems Spring 2018 Operating Systems Overview 2 What is an OS? Applications OS Hardware A software layer between the hardware and the application programs/users which provides a virtualization
More informationChapter 2 Operating-System Structures
This chapter will discuss the following concepts: 2.1 Operating System Services 2.2 User Operating System Interface 2.3 System Calls 2.4 System Programs 2.5 Operating System Design and Implementation 2.6
More informationProject 2: CPU Scheduling Simulator
Project 2: CPU Scheduling Simulator CSCI 442, Spring 2017 Assigned Date: March 2, 2017 Intermediate Deliverable 1 Due: March 10, 2017 @ 11:59pm Intermediate Deliverable 2 Due: March 24, 2017 @ 11:59pm
More informationProcesses. CS 475, Spring 2018 Concurrent & Distributed Systems
Processes CS 475, Spring 2018 Concurrent & Distributed Systems Review: Abstractions 2 Review: Concurrency & Parallelism 4 different things: T1 T2 T3 T4 Concurrency: (1 processor) Time T1 T2 T3 T4 T1 T1
More informationModule 1 Introduction/OS Overview
Module 1 Introduction/OS Overview Reading: Chapter 1 and 2 (Silberchatz) Objective: Quick overview of computer system organization the processor (CPU), memory, and input/output, architecture and general
More informationNETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss
NETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss General The Computer Architecture section SFDV2005 is now complete, and today we begin on NETW3005 Operating Systems. Lecturers: Give
More informationAdvanced Operating Systems (CS 202) Scheduling (1)
Advanced Operating Systems (CS 202) Scheduling (1) Today: CPU Scheduling 2 The Process The process is the OS abstraction for execution It is the unit of execution It is the unit of scheduling It is the
More informationMemory Allocation. Copyright : University of Illinois CS 241 Staff 1
Memory Allocation Copyright : University of Illinois CS 241 Staff 1 Allocation of Page Frames Scenario Several physical pages allocated to processes A, B, and C. Process B page faults. Which page should
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 informationUnix API Books. Linux Kernel Books. Assignments and Exams. Grading for CSC 256. Operating Systems 8/31/2018. CSC 256/456 Fall
Prerequisites CSC 2/456: Operating s CSC 252 or equivalent C/C++ programming experience on Unix systems Instructor: Sandhya Dwarkadas TAs: Zhuojia Shen, Mohsen Mohammadi 8/31/2018 CSC 2/456 1 2 Meaning
More informationComp 310 Computer Systems and Organization
Comp 310 Computer Systems and Organization Lecture #9 Process Management (CPU Scheduling) 1 Prof. Joseph Vybihal Announcements Oct 16 Midterm exam (in class) In class review Oct 14 (½ class review) Ass#2
More informationLECTURE 3:CPU SCHEDULING
LECTURE 3:CPU SCHEDULING 1 Outline Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time CPU Scheduling Operating Systems Examples Algorithm Evaluation 2 Objectives
More information238P: Operating Systems. Lecture 14: Process scheduling
238P: Operating Systems Lecture 14: Process scheduling This lecture is heavily based on the material developed by Don Porter Anton Burtsev November, 2017 Cooperative vs preemptive What is cooperative multitasking?
More informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 8 Threads and Scheduling Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 FAQ How many threads
More informationIBM Tivoli Storage Manager for Windows Version 7.1. Installation Guide
IBM Tioli Storage Manager for Windows Version 7.1 Installation Guide IBM Tioli Storage Manager for Windows Version 7.1 Installation Guide Note: Before using this information and the product it supports,
More informationIBM Spectrum Protect for AIX Version Installation Guide IBM
IBM Spectrum Protect for AIX Version 8.1.0 Installation Guide IBM IBM Spectrum Protect for AIX Version 8.1.0 Installation Guide IBM Note: Before you use this information and the product it supports, read
More informationOpera&ng Systems: Principles and Prac&ce. Tom Anderson
Opera&ng Systems: Principles and Prac&ce Tom Anderson How This Course Fits in the UW CSE Curriculum CSE 333: Systems Programming Project experience in C/C++ How to use the opera&ng system interface CSE
More informationOperating-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 informationCPS221 Lecture: Operating System Functions
CPS221 Lecture: Operating System Functions Objectives 1. To overview key hardware concepts 2. To introduce the process concept 3. To discuss the various kinds of functionality of the OS last revised 8/25/11
More informationProcesses and Threads
OPERATING SYSTEMS CS3502 Spring 2018 Processes and Threads (Chapter 2) Processes Two important types of dynamic entities in a computer system are processes and threads. Dynamic entities only exist at execution
More informationCPS221 Lecture: Operating System Functions
CPS221 Lecture: Operating System Functions Objectives last revised 6/23/10 1. To overview key hardware concepts 2. To iintroduce the process concept 3. To discuss the various kinds of functionality of
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 informationTivoli Application Dependency Discovery Manager Version 7 Release 2.1. Installation Guide
Tioli Application Dependency Discoery Manager Version 7 Release 2.1 Installation Guide Tioli Application Dependency Discoery Manager Version 7 Release 2.1 Installation Guide Note Before using this information
More informationLecture 4: Memory Management & The Programming Interface
CS 422/522 Design & Implementation of Operating Systems Lecture 4: Memory Management & The Programming Interface Zhong Shao Dept. of Computer Science Yale University Acknowledgement: some slides are taken
More informationCS 167 Final Exam Solutions
CS 167 Final Exam Solutions Spring 2018 Do all questions. 1. [20%] This question concerns a system employing a single (single-core) processor running a Unix-like operating system, in which interrupts are
More informationNWI-IBC019: Operating systems. Nils Jansen and Bernard van Gastel
NWI-IBC019: Operating systems Nils Jansen and Bernard van Gastel Introduction - lecturer - Nils Jansen Aachen, Germany Austin, Texas Research: Formal Verification, Machine Learning, Robotics Hobbies: Reading,
More informationCS 326: Operating Systems. Process Execution. Lecture 5
CS 326: Operating Systems Process Execution Lecture 5 Today s Schedule Process Creation Threads Limited Direct Execution Basic Scheduling 2/5/18 CS 326: Operating Systems 2 Today s Schedule Process Creation
More informationDevices. Today. Comp 104: Operating Systems Concepts. Operating System An Abstract View 05/01/2017. Devices. Devices
Comp 104: Operating Systems Concepts Devices Today Devices Introduction Handling I/O Device handling Buffering and caching 1 2 Operating System An Abstract View User Command Interface Processor Manager
More informationChapter 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 informationNetworks and Operating Systems Chapter 11: Introduction to Operating Systems
Systems Group Department of Computer Science ETH Zürich Networks and Operating Systems Chapter 11: Introduction to Operating Systems (252-0062-00) Donald Kossmann & Torsten Hoefler Frühjahrssemester 2012
More informationCSE 4/521 Introduction to Operating Systems
CSE 4/521 Introduction to Operating Systems Lecture 3 Operating Systems Structures (Operating-System Services, User and Operating-System Interface, System Calls, Types of System Calls, System Programs,
More informationIBM Tivoli Monitoring: AIX Premium Agent Version User's Guide SA
Tioli IBM Tioli Monitoring: AIX Premium Agent Version 6.2.2.1 User's Guide SA23-2237-06 Tioli IBM Tioli Monitoring: AIX Premium Agent Version 6.2.2.1 User's Guide SA23-2237-06 Note Before using this information
More informationIBM Security Access Manager for Web Version 7.0. Upgrade Guide SC
IBM Security Access Manager for Web Version 7.0 Upgrade Guide SC23-6503-02 IBM Security Access Manager for Web Version 7.0 Upgrade Guide SC23-6503-02 Note Before using this information and the product
More informationOperating Systems. CPU Scheduling ENCE 360
Operating Systems CPU Scheduling ENCE 360 Operating System Schedulers Short-Term Which Ready process to Running? CPU Scheduler Long-Term (batch) Which requested process into Ready Queue? Admission scheduler
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 informationPROCESS VIRTUAL MEMORY. CS124 Operating Systems Winter , Lecture 18
PROCESS VIRTUAL MEMORY CS124 Operating Systems Winter 2015-2016, Lecture 18 2 Programs and Memory Programs perform many interactions with memory Accessing variables stored at specific memory locations
More informationLast Class: OS and Computer Architecture. Last Class: OS and Computer Architecture
Last Class: OS and Computer Architecture System bus Network card CPU, memory, I/O devices, network card, system bus Lecture 4, page 1 Last Class: OS and Computer Architecture OS Service Protection Interrupts
More informationOperating Systems. Scheduling
Operating Systems Scheduling Process States Blocking operation Running Exit Terminated (initiate I/O, down on semaphore, etc.) Waiting Preempted Picked by scheduler Event arrived (I/O complete, semaphore
More informationECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective. Part I: Operating system overview: Processes and threads
ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective Part I: Operating system overview: Processes and threads 1 Overview Process concept Process scheduling Thread
More informationLecture 1 - Operating System Overview
Lecture 1 - Operating System Overview Instructor : Bibhas Ghoshal (bibhas.ghoshal@iiita.ac.in) Autumn Semester, 2015 Bibhas Ghoshal OPS-332: OS Autumn Semester, 2015 1 / 1 Lecture Outline Defining an Operating
More informationSystem Software. System software
System Software 1 System Software 2 System Software System software o Consists of all the programs that enable the computer and its peripheral devices to function smoothly o Divided into two main categories:
More informationCSci 5103 Operating Systems. Jon Weissman. Administrivia
CSci 5103 Operating Systems Jon Weissman Administrivia Greetings Welcome to CSci 5103! me: Jon Weissman, Professor CS office hours M 1-2pm, 4-225F KH or when I am around interests: distributed and parallel
More informationCS370: System Architecture & Software [Fall 2014] Dept. Of Computer Science, Colorado State University
Frequently asked questions from the previous class survey CS 370: SYSTEM ARCHITECTURE & SOFTWARE [CPU SCHEDULING] Shrideep Pallickara Computer Science Colorado State University OpenMP compiler directives
More informationIntroduction and Overview
Introduction and Overview Instructor: Adam C. Champion, Ph.D. CSE 2431: Introduction to Operating Systems Reading: Chapters 1 2, [OSC] (except Sections 2.8.3 2.9) 1 Outline Course Information What is an
More informationOperating System Services. User Services. System Operation Services. User Operating System Interface - CLI. A View of Operating System Services
Operating System Services One set of services for users The other set of services for system operations Operating Systems Structures Notice: This set of slides is based on the notes by Professor Perrone
More informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 9 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 CPU Scheduling: Objectives CPU scheduling,
More informationChapter 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 informationData Protection for IBM Domino for UNIX and Linux
IBM Tioli Storage Manager for Mail Version 7.1 Data Protection for IBM Domino for UNIX and Linux Installation and User's Guide IBM Tioli Storage Manager for Mail Version 7.1 Data Protection for IBM Domino
More informationCISC 7310X. C05: CPU Scheduling. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 3/1/2018 CUNY Brooklyn College
CISC 7310X C05: CPU Scheduling Hui Chen Department of Computer & Information Science CUNY Brooklyn College 3/1/2018 CUNY Brooklyn College 1 Outline Recap & issues CPU Scheduling Concepts Goals and criteria
More informationIntroduction to Computer Science
Introduction to Computer Science CSCI 109 Readings St. Amant, Ch. 4, Ch. 8 China Tianhe-2 Andrew Goodney Spring 2018 An algorithm (pronounced AL-go-rithum) is a procedure or formula for solving a problem.
More informationCopyright Notice David A. Solomon and Mark Russinovich
Unit OS4: Scheduling and Dispatch 4.6. Quiz Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Copyright Notice 2000-2005 David A. Solomon and Mark Russinovich
More informationCS 126 Lecture S4: Operating Systems
CS 126 Lecture S4: Operating Systems Introductions History General mechanisms Process management Memory management File systems Conclusions Outline CS126 23-1 Randy Wang Why Learn About OS Be an informed
More informationOperating Systems: The Genie in the Computer. Chapter 6: Operating Systems: The Genie in the Computer. What is an operating system?
Chapter 6: : The Genie in the Computer What do you have left on your computer after you strip away all of the games and application programs you bought and installed? : The Genie in the Computer In this
More informationSignals, Synchronization. CSCI 3753 Operating Systems Spring 2005 Prof. Rick Han
, Synchronization CSCI 3753 Operating Systems Spring 2005 Prof. Rick Han Announcements Program Assignment #1 due Tuesday Feb. 15 at 11:55 pm TA will explain parts b-d in recitation Read chapters 7 and
More informationMon Sep 17, 2007 Lecture 3: Process Management
Mon Sep 17, 2007 Lecture 3: Process Management September 19, 2007 1 Review OS mediates between hardware and user software QUIZ: Q: Name three layers of a computer system where the OS is one of these layers.
More informationCHAPTER 2: PROCESS MANAGEMENT
1 CHAPTER 2: PROCESS MANAGEMENT Slides by: Ms. Shree Jaswal TOPICS TO BE COVERED Process description: Process, Process States, Process Control Block (PCB), Threads, Thread management. Process Scheduling:
More informationOperating-System Structures
Operating-System Structures Chapter 2 Operating System Services One set provides functions that are helpful to the user: User interface Program execution I/O operations File-system manipulation Communications
More informationOperating Systems: (Tue)
Operating Systems: (Tue) Definition: An operating system is the set of software that controls the overall operation of a computer system. provides an interface between the application software and the
More informationChapter 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 informationChapter 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 informationEECS 750: Advanced Operating Systems. 01/29 /2014 Heechul Yun
EECS 750: Advanced Operating Systems 01/29 /2014 Heechul Yun 1 Administrative Next summary assignment Resource Containers: A New Facility for Resource Management in Server Systems, OSDI 99 due by 11:59
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 informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 10 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Chapter 6: CPU Scheduling Basic Concepts
More informationOperating Systems: Principles and Practice. Mark Zbikowski Gary Kimura (kudos to Tom Anderson)
Operating Systems: Principles and Practice Mark Zbikowski Gary Kimura (kudos to Tom Anderson) How This Course Fits in the UW CSE Curriculum CSE 333: Systems Programming Project experience in C/C++ How
More informationLecture 2 Operating System Structures (chapter 2)
Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 2 Operating System Structures (chapter 2) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The
More informationLecture 25: Board Notes: Threads and GPUs
Lecture 25: Board Notes: Threads and GPUs Announcements: - Reminder: HW 7 due today - Reminder: Submit project idea via (plain text) email by 11/24 Recap: - Slide 4: Lecture 23: Introduction to Parallel
More informationAnnouncements. Program #1. Program #0. Reading. Is due at 9:00 AM on Thursday. Re-grade requests are due by Monday at 11:59:59 PM.
Program #1 Announcements Is due at 9:00 AM on Thursday Program #0 Re-grade requests are due by Monday at 11:59:59 PM Reading Chapter 6 1 CPU Scheduling Manage CPU to achieve several objectives: maximize
More information