Final ReviewCS-502 Fall 20061 CS-502 Operating Systems Fall 2006 Review.

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

Operating System.
Chorus Vs Unix Operating Systems Overview Introduction Design Principles Programmer Interface User Interface Process Management Memory Management File.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Computer Systems/Operating Systems - Class 8
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Review: Chapters 1 – Chapter 1: OS is a layer between user and hardware to make life easier for user and use hardware efficiently Control program.
1 Threads, SMP, and Microkernels Chapter 4. 2 Process: Some Info. Motivation for threads! Two fundamental aspects of a “process”: Resource ownership Scheduling.
1 Chapter 2 Operating Systems: Software in the Background.
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
CS-3013 & CS-502, Summer 2006 Review Topics1 CS-3013 & CS-502 Operating Systems.
Computer Organization and Architecture
Threads, SMP, and Microkernels
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
1 I/O Management in Representative Operating Systems.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
CS364 CH08 Operating System Support TECH Computer Science Operating System Overview Scheduling Memory Management Pentium II and PowerPC Memory Management.
Layers and Views of a Computer System Operating System Services Program creation Program execution Access to I/O devices Controlled access to files System.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Operating Systems Sameer Mahajan. Overview Process management Interrupts Memory management File system Device drivers Networking (TCP/IP, UDP) Security.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
General What is an OS? What do you get when you buy an OS? What does the OS do? What are the parts of an OS? What is the kernel? What is a device.
Chapter 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
CS 153 Design of Operating Systems Spring 2015 Final Review.
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
CSE 451: Operating Systems Section 10 Project 3 wrap-up, final exam review.
2001 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
CE Operating Systems Lecture 11 Windows – Object manager and process management.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Processes Introduction to Operating Systems: Module 3.
Scott Ferguson Section 1
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
Silberschatz, Galvin and Gagne  Operating System Concepts Operating Systems 1. Overview 2. Process Management 3. Storage Management 4. I/O Systems.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
1 Rutgers UniversityCS 416: Operating Systems Final exam details December 22, pm-3pm. Venue: SEC 118. Tips: Spend time reading the questions before.
CS1253- OPERATING SYSTEMS. SYLLABUS UNIT I PROCESSES AND THREADS 9 Introduction to operating systems – Review of computer organization – Operating.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
1/31/20161 Final Exam Dec 10. Monday. 4-7pm. Phelp 1160 Similar to midterm The exam is closed book. You can bring 2 page of notes (double sided) Nachos.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
Week 10 March 10, 2004 Adrienne Noble. Important Dates Project 4 due tomorrow (Friday) Final Exam on Tuesday, March 16, 2:30- 4:20pm.
Operating Systems: Summary INF1060: Introduction to Operating Systems and Data Communication.
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
CT101: Computing Systems Introduction to Operating Systems.
Operating System (OS) QUESTIONS AND ANSWERS
Section 10: Last section! Final review.
KERNEL ARCHITECTURE.
Threads, SMP, and Microkernels
Lecture 4- Threads, SMP, and Microkernels
Operating Systems Lecture 1.
Major Topics in Operating Systems
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Presentation transcript:

Final ReviewCS-502 Fall CS-502 Operating Systems Fall 2006 Review

Final ReviewCS-502 Fall Week 1 Concurrency Processes – a fundamental abstraction Interrupts, dispatching, ready queue Busy waiting, Peterson’s solution Critical sections, semaphores Processes (à la Unix, Linux, Windows) What does this include? Process states fork() and exec()

Final ReviewCS-502 Fall Week 2 Threads Concurrency within an address space Shared (virtual) memory programming Lightweight concurrency Scheduling Goals and criteria FCFS, RR, Priority, SJF, etc. Multi-level scheduling (later) Rate monotonic, Earliest Deadline First –(for real time problems)

Final ReviewCS-502 Fall Week 3 Producer-consumer models Interprocess communication Shared memory Semaphores Software interrupts & signals to processes Pipes Message passing Monitors Remote procedure call

Final ReviewCS-502 Fall Week 4 – Memory Management Partitioning physical memory Base and Limit registers The first “virtual” memory Easy relocation Segmentation Multiple segments Paging Page tables & page translation Copy-on-write & other tricks

Final ReviewCS-502 Fall Week 4 – Memory Management (cont.) Virtual Memory Page replacement algorithms Paging performance calculations Locality of reference ; thrashing Cache: Fundamental principle that cuts across all of computing Physical memory is cache of virtual memory TLB is a cache of page tables File caches, activity caches, etc. Fundamental issues in caching

Final ReviewCS-502 Fall Week 5 – I/O subsystems Types of I/O devices Character vs. block vs. graphic vs. streaming Types of transfers Programmed I/O Interrupt-driven DMA Device drivers Statically loaded vs. dynamically loaded Interrupt handling: bottom vs. top half

Final ReviewCS-502 Fall Weeks 6 & 7 – Disks and File Systems Disks I/O devices mostly used for storage within system Randomly accessed; blocks independently writeable Bad block management Disk economics Moore’s law increase in densities Slow, linear increase in performance RAID Protection against disk failures Some improvements in performance Stable storage Also protection against failures Generalizes to transaction management

Final ReviewCS-502 Fall Weeks 6 & 7 – Disks and File Systems (cont.) Disk scheduling algorithms Not particularly relevant except in some database or multimedia systems File: Fundamental abstraction of persistent storage Also used for system functions (including protection) File metadata Information about the file, stored with file Container vs. contents

Final ReviewCS-502 Fall Weeks 6 & 7 – Disks and File Systems (cont.) Operations on files Read, write, seek, create, delete, truncate, open, close, etc. Types of file allocation Contiguous Linked (or FAT) Indexed Directory A special kind of file Linux virtual file systems Mounting

Final ReviewCS-502 Fall Week 8 – Networks OSI seven-layer stack Connection A fundamental abstraction of networking Socket An OS abstraction; one end of a connection Network layer Routing Transport layer Reliable transmission

Final ReviewCS-502 Fall Week 9 – Distributed File System DFS naming & access DFS caching File server semantics Stateless vs. stateful Example systems NFS – a stateless system AFS – very much a stateful system

Final ReviewCS-502 Fall Week 10 – Multiprocessing and Distributed Systems Types of multi-computers Shared memory multiprocessors Clusters of separate computers Distributed systems SMP One operating system Multiple computations in kernel at once Processes & interrupts execute on any processor

Final ReviewCS-502 Fall Week 10 – Multiprocessing and Distributed Systems (cont.) Clusters Physically close; separate OS on each machine Shared I/O and disk devices Fast IPC & RPC Load balancing Distributed computing Physically separated; internet communications Distributed file systems; NFS, etc.

Final ReviewCS-502 Fall Week 11 – Virtualization Decoupling of hardware from {OS, appl.} Insulates systems from each other Commissioning and updates Debugging new version Separate OS required by separate applications Dynamic repartitioning of hardware Move running applications Balancing shifting loads

Final ReviewCS-502 Fall Week 11 & 12 – Multimedia Systems Delivery of audio, video, etc, streams to computers Broad impact in last decade TiVo, iPod, video on demand, audio/video on PCs CD & DVD disk and file formats Compression is essential JPEG, MPEG, MP-3 Lossless vs. lossy Take advantage of temporal locality

Final ReviewCS-502 Fall Week 11 & 12 – Multimedia Systems (cont.) Processor and disk scheduling Rate monotonic: equivalent to any static algorithm Earliest deadline first: equiv. to any dynamic alg. Multimedia file organization Frame vs. blocked; Locations on disk Network streaming Progressive download vs. real-time Real-time streaming Live vs. video-audio on demand

Final ReviewCS-502 Fall Week 13 – Protection and Security Protection Mechanisms in OS to keep processes from things they should not touch Access control lists vs. capabilities Separate policy from mechanism Security Validating credentials of users, processes Validating authenticity of messages, controls, etc. Cryptography General security mechanism Public key vs. private key methods

Final ReviewCS-502 Fall Term Projects At least 5 real-time operating systems eCos, VxWorks, QNX Neutrino, Itron, ThreadX, Nucleus Lots of embedded systems RTOS, plus Visual DSP++ Personal devices: PalmOS, Symbian Games: PSP Very small devices: TinyOS, BrickOS Big systems Telephone exchanges: Chorus Corporate computing: Open VMs Eclectic systems Inferno, Squeak

Final ReviewCS-502 Fall Other topics OS organization Big vs. small Monolithic kernel vs. microkernel Linux kernel projects Adding a system call Building a message passing subsystem Discovering answers to questions …

Final ReviewCS-502 Fall Questions