The VMS Operating System CS 351: Operating Systems Spring 2001 Section 1 Chad Cruys, Joshua Krug, William Menke, Matt Stehle, Kenneth Ward.

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

Threads, SMP, and Microkernels
More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
Chapter 3 Process Description and Control
VMS Operating System Keith Gittings CS 450 Fall 2002.
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.
IBM OS/2 CS450 Section 2 5:00PM Perpetrators: © Dario Berini, Derek Cole, Drew Hayes, Leigh Johann, Matt Kesler.
Computer Systems/Operating Systems - Class 8
Process Description and Control
Process Description and Control Module 1.0. Major Requirements of an Operating System Interleave the execution of several processes to maximize processor.
Process Description and Control Chapter 3. Major Requirements of an Operating System Interleave the execution of several processes to maximize processor.
Page 1 Processes and Threads Chapter Processes 2.2 Threads 2.3 Interprocess communication 2.4 Classical IPC problems 2.5 Scheduling.
Introduction to Operating Systems – Windows process and thread management In this lecture we will cover Threads and processes in Windows Thread priority.
1 Process Description and Control Chapter 3. 2 Process Management—Fundamental task of an OS The OS is responsible for: Allocation of resources to processes.
CSCE 351: Operating System Kernels
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
1 Chapter 4 Threads Threads: Resource ownership and execution.
Threads, SMP, and Microkernels
1 Process Description and Control Chapter 3 = Why process? = What is a process? = How to represent processes? = How to control processes?
Process Description and Control A process is sometimes called a task, it is a program in execution.
Using Two Queues. Using Multiple Queues Suspended Processes Processor is faster than I/O so all processes could be waiting for I/O Processor is faster.
1 Threads Chapter 4 Reading: 4.1,4.4, Process Characteristics l Unit of resource ownership - process is allocated: n a virtual address space to.
Process Description and Control Chapter 3. Major Requirements of an OS Interleave the execution of several processes to maximize processor utilization.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Chapter 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Process Management. Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
SYNCHRONIZATION Module-4. scheduling Scheduling is an operating system mechanism that arbitrate CPU resources between running tasks. Different scheduling.
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Chapter 3 Advanced Operating System
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.
IBM OS/2 Warp Mike Storck Matt Kerster Mike Roe Patrick Caldwell.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Operating Systems Process Management.
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-
The IBM VM CS450/550 Section 2 Stephen Kam. IBM VM - Origins Originally an experimental OS called “CP-67” Designed to run on the IBM System/360 Model.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Threads G.Anuradha (Reference : William Stallings)
1 Threads, SMP, and Microkernels Chapter 4. 2 Process Resource ownership: process includes a virtual address space to hold the process image (fig 3.16)
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
Windows 2000 Michael Blinn Ben Hejl Jane McHugh Matthew VanMater.
Operating Systems 1 K. Salah Module 1.2: Fundamental Concepts Interrupts System Calls.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
Process Description and Control Chapter 3. Source Modified slides from Missouri U. of Science and Tech.
Amanda Johnson Hannah Young Josh Taylor Rich Carroll Troy Gladhill Saunders Roesser.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
Chapter 3: Processes. 3.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts - 7 th Edition, Feb 7, 2006 Chapter 3: Processes Process Concept.
Chapter 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
Copyright © Curt Hill More on Operating Systems Continuation of Introduction.
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Chapter 3: Windows7 Part 2.
Threads, SMP, and Microkernels
Chapter 3: Windows7 Part 2.
Process Description and Control
Lecture Topics: 11/1 General Operating System Concepts Processes
Process Description and Control
Lecture 4- Threads, SMP, and Microkernels
Threads Chapter 4.
Major Topics in Operating Systems
Process Description and Control
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
The VMS Operating System
Outline Operating System Organization Operating System Examples
Michael Blinn Ben Hejl Jane McHugh Matthew VanMater
Presentation transcript:

The VMS Operating System CS 351: Operating Systems Spring 2001 Section 1 Chad Cruys, Joshua Krug, William Menke, Matt Stehle, Kenneth Ward

Overview of VMS Also known as OpenVMS Developed by Digital/Compaq First released in 1978 for the VAX system Later released for the Alpha system also (1992)

Overview of VMS The 32-bit operating system quickly gained popularity Ran on minicomputers and workstations Compaq has added many server applications to the OS Runs JAVA, Apache Server, and various servers

Overview of VMS A new design and marketing strategy of OpenVMS is to provide integration of VMS and Windows NT By partnering with Microsoft to develop NT and VMS integrated solutions, OpenVMS seems to continue to play a major role in enterprise information systems.

Success of VMS Compaq reports that 66% of fund transfers between banks take place on systems running VMS 90% of CPU manufacturers use VMS to run their assembly lines A large portion of stock transfers and many cellular phone billing services run on VMS systems VMS is the top rated healthcare operating system for real-time, mission critical computing

Technological Success OpenVMS set the bar for reliability and security Password security is unmatched by UNIX or Microsoft Provides security from denial-of-service attacks, hot-swappable hardware, and the ability to run multiple instances of the operating system on the same machine to increase reliability

Process State Structure The process state structure for VMS involves a process priority queue where processes are ranked in priority from 0 to is a high priority real-time process 0-15 is a normal process Normal processes are moved up in the queue if they are critical to the operating environment

Process State Structure States: suspended, executable, running, or waiting executable process would be similar to Stalling's ready state

Process State Structure A register called the processor status long word (PSL) contains information about the process information contained includes the current access mode, the current interrupt priority level (IPL), the stack alignment, and several reserved fields

Process State Structure The interrupt priority word contains a ranking at which one process may interrupt another There are four access modes: kernel (mode 0), executive (mode 1), supervisor (mode 2), and user (mode 3)

Symmetric Multiprocessing (SMP) Multiple processors used All processors perform simultaneously Prioritized processes

OpenVMS VAX processes Consist of: –individual address space –registers –code (executable image) Maximum of 8,192 per system Processes prioritized (0-31) –0-15 for time-sharing or not time critical –16-32 for real-time

OpenVMS Alpha Kernel Threads Consist of: –individual address space –registers –code (executable image) Maximum of 16,384 per system Kernel threads prioritized (0-63) –0-15 for time-sharing or not time critical –16-63 used for real-time

Interprocess Communication Shared memory sections Event flags Lock manager for queuing

Synchronization Facilities Uses locks –Access regulation shared address spaces shared I/O resources –Mutual exclusion Lock Manager –Multileveled locks –Asynchronous System Traps (ASTs) –Cluster systems RMS XQP Application programs

Synchronization Facilities (Cont.) System coordination –Shared resources –Updating data –Guarantees data integrity Multithreaded applications –DECthreads multiple threads executed at once concurrent processing mutexes condition variables coordinated access

File System Vital part of operating system –Link between hardware and software teams Timesharing system Separates from I/O operations –Initial opening of I/O –Update virtual-to-logical map

File System (Cont.) Files-11 On-Disk Structure (ODS) –Latest version ODS-5 –On-disk structures –CD-ROM volume file structures Random file access –Disk read access write access –CD-ROM read only access

File System (Cont.) Levels of On-Disk Structures –ODS-1 –ODS-2 –ODS-5 (latest) ODS-5 –Supports Extended File Specifications

Memory Management Two means for memory management in VMS –Swapper Controls number of processes in memory –Pager Moves pages in and out of memory

Pager Upon creation of a process, only necessary pages are moved into memory When a page fault occurs: –A process-local page replacement policy is used –FIFO replacement algorithm –Recently replaced pages are placed in cache

Memory Data Structure 32-bit virtual address –First two bits are the segment –Next 21 bits are the page –Last nine are the offset –512 bits per page

File Data Structures File ID –File Number –File Sequence Number –Relative Volume Number –File Number Extension

File Data Structures File Header –Header Area –Ident Area –Map Area –Access Control List Area –Reserved Area –End Checksum

Process Data Structures –Process Quotas –Privileges –User Identification Code –Username –Process ID –Process’ Scheduling Priority

Process Data Structures Virtual Address Space Description –Program –Control –System

Deadlock Permanent blocking of multiple processes Two causes –Competing for system resources –Attempting to communicate with each other Lock Manager –TRANSACTION TIMEOUT –Transaction services aborts if time limit exceeded

Scheduling Three parts –Process Time –Process Priority –Process State

Scheduling Time –Round-robin with preemption –QUANTUM –Quantum remaining field 10-milliseconds timer interrupt called and remaining value is decremented 0 means next process in queue is scheduled to run

Scheduling Priority 0-15 (Normal processes) –If a resource is needed, it can get a boost of up to 6 priority points –i.e. I/O-bound can get boost, CPU-bound can’t (Real-time processes) –No boosting allowed

Scheduling State Similar to Stallings’ states –Readily computable vs. Waiting for resource –Memory resident vs. Must be swapped into memory