Operating System Design

Slides:



Advertisements
Similar presentations
Chapter 12: File System Implementation
Advertisements

Software development process. Explanation of the iterative nature of the software development process.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 3 Memory Management Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
1 Starting a Program The 4 stages that take a C++ program (or any high-level programming language) and execute it in internal memory are: Compiler - C++
UML Static diagrams. Static View: UML Component Diagram Component diagrams show the organization and dependencies among software components. Component:
Chapter 11: File System Implementation
Software Design & Development Year 12. Structure of the Course Development and Impact of Software Solutions Development and Impact of Software Solutions.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6 Implementing Processes, Threads, and Resources.
Where Do the 7 layers “fit”? Or, where is the dividing line between hdw & s/w? ? ?
Chapter 12: File System Implementation
Chapter 3.2 : Virtual Memory
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
File System Structure §File structure l Logical storage unit l Collection of related information §File system resides on secondary storage (disks). §File.
EET 4250: Chapter 1 Performance Measurement, Instruction Count & CPI Acknowledgements: Some slides and lecture notes for this course adapted from Prof.
1 Operating System Design Chapter The nature of the design problem 12.2 Interface design 12.3 Implementation 12.4 Performance 12.5 Project management.
File System Implementation
Chapter 91 Translation Lookaside Buffer (described later with virtual memory) Frame.
Chapter 6 Color Image Processing Chapter 6 Color Image Processing.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Chapter 1 CSF 2009 Computer Abstractions and Technology.
System Calls 1.
: Chapter 12: Image Compression 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
Huffman Encoding Veronica Morales.
1 Chapter 3.2 : Virtual Memory What is virtual memory? What is virtual memory? Virtual memory management schemes Virtual memory management schemes Paging.
Chapter 4 Storage Management (Memory Management).
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Structure.
J. Christiansen, CERN - EP/MIC
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-8 Memory Management (2) Department of Computer Science and Software.
Dr. T. Doom 11.1 CEG 433/633 - Operating Systems I Chapter 11: File-System Implementation File structure –Logical storage unit –Collection of related information.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
Software Metrics Cmpe 550 Fall Software Metrics.
Introduction to OpenGL  OpenGL is a graphics API  Software library  Layer between programmer and graphics hardware (and software)  OpenGL can fit in.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 11 File-System Implementation Slide 1 Chapter 11: File-System Implementation.
CE Operating Systems Lecture 17 File systems – interface and implementation.
A New Operating Tool for Coding in Lossless Image Compression Radu Rădescu University POLITEHNICA of Bucharest, Faculty of Electronics, Telecommunications.
Basic Memory Management 1. Readings r Silbershatz et al: chapters
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
Seminar on Service Oriented Architecture Distributed Systems Architectural Models From Coulouris, 5 th Ed. SOA Seminar Coulouris 5Ed.1.
Chapter 12: Programming in the Large By: Suraya Alias 1-1.
NETW3005 Memory Management. Reading For this lecture, you should have read Chapter 8 (Sections 1-6). NETW3005 (Operating Systems) Lecture 07 – Memory.
Chapter 1 Introduction  What is an operating system  History of operating systems  The operating system zoo  Computer hardware review  Operating system.
Ray Tracing by GPU Ming Ouhyoung. Outline Introduction Graphics Hardware Streaming Ray Tracing Discussion.
Design and implementation Chapter 7 – Lecture 1. Design and implementation Software design and implementation is the stage in the software engineering.
Memory Management Chapter 5 Advanced Operating System.
Chapter 7: Main Memory CS 170, Fall Program Execution & Memory Management Program execution Swapping Contiguous Memory Allocation Paging Structure.
SLC/VER1.0/OS CONCEPTS/OCT'99
File-System Implementation
Chapter 11: File System Implementation
File System Implementation
Chapter 11: File System Implementation
Operating Systems: A Modern Perspective, Chapter 6
Paging and Segmentation
Memory Management 11/17/2018 A. Berrached:CS4315:UHD.
Chapter 11: File System Implementation
Operating System Design
Lecture 3: Main Memory.
Operating System Design
Chapter 8: Memory Management strategies
Chapter 4 Introduction to Computer Organization
Color Image Processing
Software development process
Chapter 11: File System Implementation
一種兼顧影像壓縮與資訊隱藏之技術 張 真 誠 國立中正大學資訊工程學系 講座教授
Quantizing Compression
CSE 153 Design of Operating Systems Winter 2019
Page Main Memory.
Presentation transcript:

Operating System Design Chapter 12 Operating System Design 12.1 The nature of the design problem 12.2 Interface design 12.3 Implementation 12.4 Performance 12.5 Project management 12.6 Prends in operating system design

Paradigms (1) Algorithmic code

Paradigms (2) Event-driven code

One possible design for a modern layered operating system Implementation Layer One possible design for a modern layered operating system

Directories are used to map external names onto internal names Naming Directories are used to map external names onto internal names

Static Versus Dynamic Structures Code for searching the process table for a given PID. Searching a static table for a pid

CPU-dependent conditional compilation Hiding the Hardware (1) CPU-dependent conditional compilation

Word-length dependent conditional compilation Hiding the Hardware (2) Word-length dependent conditional compilation

Space-Time Trade-offs (1) A procedure for counting bits in a byte (a) A procedure to count the 1 bits in a byte

Space-Time Trade-offs (2) A macro to count the bits A macro to access bit count in a table (b) Macro to count the bytes (c) Macro to look up the count

Space-Time Trade-offs (3) (a) Part of an uncompressed image with 24 bits per pixel (b) Same part compressed with GIF, 8 bits per pixel (c) The color palate

Caching Part of an i-node cache

Software team Structure Mills’ proposal for populating a 10-person chief programmer team

The Role of Experience (1) Traditional software design progresses in stages

The Role of Experience (2) Alternative design produces a working system that does nothing starting on day 1