The VMS Operating System

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

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.
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.
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
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.
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,
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.
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.
CE Operating Systems Lecture 11 Windows – Object manager and process management.
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.
Threads G.Anuradha (Reference : William Stallings)
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
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 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
The VMS Operating System CS 351: Operating Systems Spring 2001 Section 1 Chad Cruys, Joshua Krug, William Menke, Matt Stehle, Kenneth Ward.
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,
Processes and threads.
Process concept.
CS490 Windows Internals Quiz 2 09/27/2013.
Chapter 3: Windows7 Part 1.
Chapter 3: Windows7 Part 2.
Threads, SMP, and Microkernels
Chapter 3: Windows7 Part 2.
Process & its States Lecture 5.
Chapter 2: The Linux System Part 3
Process Description and Control
Lecture Topics: 11/1 General Operating System Concepts Processes
Process Description and Control
Lecture 4- Threads, SMP, and Microkernels
Operating Systems : Overview
Threads Chapter 4.
Process Description and Control
Concurrency: Mutual Exclusion and Process Synchronization
Operating Systems Lecture 1.
Process Description and Control
Major Topics in Operating Systems
Operating Systems : Overview
Process Description and Control
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Outline Operating System Organization Operating System Examples
Process Description and Control in Unix
Operating System Overview
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 email 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 31 16-31 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: Maximum of 8,192 per system 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 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 Pager 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 16-31 (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