ICOM 5007 - Noack Operating Systems - Administrivia Prontuario - Please time-share and ask questions Info is in my homepage amadeus/~noack/ Make bookmark.

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

OS Components and Structure
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
Operating System Structure
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
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.
3: OS Structures 1 OPERATING SYSTEM STRUCTURES PROCESS MANAGEMENT A process is a program in execution: (A program is passive, a process active.) A process.
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
1 Threads, SMP, and Microkernels Chapter 4. 2 Process: Some Info. Motivation for threads! Two fundamental aspects of a “process”: Resource ownership Scheduling.
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Figure 1.1 Interaction between applications and the operating system.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Chapter 4 Structure of Operating Systems Copyright © 2008.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
1 Lecture 3: OS Functions and Design Approaches  OS duties process management memory management disk/file management protection & security  interaction.
Ceng Operating Systems
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
2001 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
Windows 2000 Course Summary Computing Department, Lancaster University, UK.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE 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.
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
CS 346 – Chapter 2 OS services –OS user interface –System calls –System programs How to make an OS –Implementation –Structure –Virtual machines Commitment.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
UNIX Unit 1- Architecture of Unix - By Pratima.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
ICOM 5995 (crypto) - Noack Crypto - Administrivia Prontuario - Please time-share and ask questions Info is in my homepage amadeus.uprm.edu/~noack/ Make.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
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.
Find – used to find files corresponding to a certain criteria find starting_dir matching_criteria [options] Examples: find /usr –name startx find /usr.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Introduction to Operating Systems Concepts
Computer System Structures
Computer System Structures
Virtualization.
Kernel Design & Implementation
Operating System Structure
KERNEL ARCHITECTURE.
What is an Operating System?
Chapter 3: Windows7 Part 2.
Threads, SMP, and Microkernels
Chapter 2: System Structures
Chapter 3: Windows7 Part 2.
CS703 - Advanced Operating Systems
Lecture 4- Threads, SMP, and Microkernels
OS Components and Structure
OPERATING SYSTEMS STRUCTURES
Operating Systems Structure
Presentation transcript:

ICOM Noack Operating Systems - Administrivia Prontuario - Please time-share and ask questions Info is in my homepage amadeus/~noack/ Make bookmark for ICOM5007 Page contains prontuario Links to old exams and labs Links to Minix and Linux source Kernel Hacker’s guide Links to current assignments as developed Course includes Exams and lecture material Lab work Project (described in course page) Lab Partly in OS/Networking lab Individual programs, often using Linux source or Java threads

ICOM Noack Operating Systems - More Trivia Accounts already exist for most students Will be automatically created for others Lab instructor - last year was Juan Carvajal Barreto Please find me by - noack - or X3652 Projects Info on course page Try to form groups soon - three or four people Project can be: Device driver or module Operating system utility Operating system modification/improvement

ICOM Noack Operating Systems - Basics An OS is a program that controls and shares the resources of a computing system, which are: CPU time (or allotment in distributed systems) Memory allocation and swapping to background I/O device handling - the dirty details File systems Network devices, layers and protocols An OS is (after initial setup) an interrupt-driven program Interrupts may come from: I/O devices Timer interrupts - time slicing and hangup recovery Software interrupts - system call mechanism

ICOM Noack Operating Systems - Structures Monolithic One big complicated layer between users and hardware Unix is a typical monolithic system Layered - with microkernel Example - Mach contains Processes Threads Messages Memory blocks and everything else is implemented in higher layers using these highly protected basics Virtual Machine VM360 (IBM) is an example The virtual machine layer is: between hardware and client machines emulates a separate machine for each user session

ICOM Noack The basic layered structure of all operating systems Application layer Operating system Hardware components System call interface Hardware/software interface The concentric shell pictureLayers – as usually drawn

ICOM Noack More OS Structures The main OS program is often called the kernel The Kernel operates in privileged mode contains the device drivers and modules contains process, memory and file management is protected by the system call interface - the INT instruction in 80x86 architecture The system call interface Is implemented by the INT or similar instruction Is used when a user program makes a system call Is the transition from user to kernel mode Keeps users from running kernel code

ICOM Noack Monolithic operating system structure e. g. Unix/Linux Hardware Process handling File system routines Memory management Device driver System call interface Application layer Intermediate routine

ICOM Noack Microkernel-based system e. g. Mach (used for distributed systems) Application layer Microkernel layer Hardware entities (can be several) Outer kernel I Could be Posix Compliant layer Outer kernel II Could be VMS emulator Outer kernel III Experimental OS?

ICOM Noack Virtual machine system VM – first secure OS for IBM 360/370 Hardware Kernel image For User I Application layer Virtual machine layer Kernel image For User II Application layer Kernel image For User III Application layer

ICOM Noack The shell is not the kernel The shell is an ordinary user program It operates by creating processes that in turn do system calls or run programs It is the equivalent of COMMAND.COM in MS/DOS Shell programming is possible and is often done in OS utilities Extensions of shell programming include: PERL awk and sed ksh, csh, bash and other enhanced shells

ICOM Noack The standard lies of OS There is a separate processor for each process The CPU is time-shared You really have all that memory Memory is loaded only when needed - demand paging You are really doing all those disk operations The operations are done when and if the OS pleases - the disk block cache idea That remote file system is really there Remote file system utilities are a little unpredictable The OS is really secure Ask the big kids

ICOM Noack Concurrency The theoretical core of OS An OS creates a set of processes that run concurrently A process is like a person - it has a stream of consciousness possessions - memory, files, data is created, reproduces, dies interacts with other processes In actuality, it is a program in execution Concurrent process misbehaviors Race conditions - unpredictable results because processes simultaneously modify data or devices Deadlocks - Each has what the other wants, nobody gets anywhere Starvation - some processes go hungry - others eat well

ICOM Noack Some operating system ideas Everything is a file - even devices This allows a program to work with human input, or a device, or a temporary or permanent file or even a network connection The file system provides access control for devices also – protects raw disk operations from users Interrupt-driven behavior Example - windows - process is simultaneously sensitive to events from mouse, keyboard, process subsystem, and window manager Caching - Foreground and background copies Used in Cache memory Swapping The disk block cache - recent transactions are in memory Networking utilities Advantage – operations take place at memory speeds