DISTRIBUTED CONSISTENCY MANAGEMENT IN A SINGLE ADDRESS SPACE DISTRIBUTED OPERATING SYSTEM Sombrero.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Threads, SMP, and Microkernels
Virtualisation From the Bottom Up From storage to application.
User-Mode Linux Ken C.K. Lee
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Extensibility, Safety and Performance in the SPIN Operating System Presented by Allen Kerr.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
Helper Threads via Virtual Multithreading on an experimental Itanium 2 processor platform. Perry H Wang et. Al.
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Bugnion et al. Presented by: Ahmed Wafa.
DISTRIBUTED CONSISTENCY MANAGEMENT IN A SINGLE ADDRESS SPACE DISTRIBUTED OPERATING SYSTEM Sombrero.
1: Operating Systems Overview
Disco Running Commodity Operating Systems on Scalable Multiprocessors.
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
1 Distributed Scheduling In Sombrero, A Single Address Space Distributed Operating System Milind Patil.
Figure 1.1 Interaction between applications and the operating system.
Chapter 11 Operating Systems
A. Frank - P. Weisberg Operating Systems Introduction to Tasks/Threads.
RGF M.S. Thesis Presentaton 12/011 Reduced Development Costs in the Operating System.
ASU 64-bit OS Group7/15/ Effects of the Single Address Space Paradigm on CPU and OS Design for a Distributed Computer System Donald S. Miller.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
1 The Google File System Reporter: You-Wei Zhang.
Computer Organization
Computer System Architectures Computer System Software
2017/4/21 Towards Full Virtualization of Heterogeneous Noc-based Multicore Embedded Architecture 2012 IEEE 15th International Conference on Computational.
Protection and the Kernel: Mode, Space, and Context.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Disco : Running commodity operating system on scalable multiprocessor Edouard et al. Presented by Jonathan Walpole (based on a slide set from Vidhya Sivasankaran)
CS533 Concepts of Operating Systems Jonathan Walpole.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
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.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Types of Operating Systems
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Edouard et al. Madhura S Rama.
G53SEC 1 Reference Monitors Enforcement of Access Control.
OPERATING SYSTEM SUPPORT DISTRIBUTED SYSTEMS CHAPTER 6 Lawrence Heyman July 8, 2002.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Disco : Running commodity operating system on scalable multiprocessor Edouard et al. Presented by Vidhya Sivasankaran.
A summary by Nick Rayner for PSU CS533, Spring 2006
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2015.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto Demand Paging.
Processes and Virtual Memory
1 Isolating Web Programs in Modern Browser Architectures CS6204: Cloud Environment Spring 2011.
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
Background Computer System Architectures Computer System Software.
Primitive Concepts of Distributed Systems Chapter 1.
Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine and Mendel Rosenblum Presentation by Mark Smith.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
Introduction to Operating Systems Concepts
Translation Lookaside Buffer
Distributed Shared Memory
CS490 Windows Internals Quiz 2 09/27/2013.
Advanced Operating Systems
Page Replacement.
Chapter 2: System Structures
Outline Midterm results summary Distributed file systems – continued
Threads Chapter 4.
Prof. Leonardo Mostarda University of Camerino
Chapter 2 Operating System Overview
Presentation transcript:

DISTRIBUTED CONSISTENCY MANAGEMENT IN A SINGLE ADDRESS SPACE DISTRIBUTED OPERATING SYSTEM Sombrero

John Olson M.S. Thesis Presentation 8/02 2 Outline Overview SASOS vs MASOS Sombrero Consistency  In Distributed Shared Memory  In Sombrero Peer Services Standard Interface Chain of Events Thread Migration Conclusion Contributions Questions

John Olson M.S. Thesis Presentation 8/02 3 Overview Sombrero is a Distributed SASOS Protection is Hardware Supported Memory Objects are distributed Consistency Policy applied per-object Consistency Policy Service is a Peer Service Nodes are transparent to user Nodes compare to Multi-Processors

John Olson M.S. Thesis Presentation 8/02 4 SASOS vs MASOS SASOS  All activity on a machine or network shares the same virtual address space  Protection is orthogonal to address translation MASOS  Each process has its own virtual address space  Protection is achieved by isolating processes using the inherent address-space separation between processes  Today’s stock processors are built to support multiple address spaces in hardware

John Olson M.S. Thesis Presentation 8/02 5 Sombrero Distributed SASOS  virtual addresses are shared by all activity on the entire network 64 bit address space  very large number of addresses Hardware support for protection Hardware enables reduced complexity of software

John Olson M.S. Thesis Presentation 8/02 6 Consistency Middleware Distributed Shared Memory  Network Latency can be an issue  Weaker models can mitigate the overhead  Consistency Policies Strict Sequential Weaker  Traditional DSM uses separate namespace

John Olson M.S. Thesis Presentation 8/02 7 Consistency Management in Sombrero Implemented as a Peer Service “Token Tracking” is the built-in mechanism  Supports sequential consistency by default  Any policy can be supported by implementation Implementations share a common interface Registered on a per-object basis Service distributes automatically as needed when objects distribute.

John Olson M.S. Thesis Presentation 8/02 8 Peer Services Consistency Service not privileged

John Olson M.S. Thesis Presentation 8/02 9 May be replaced by user implementation Protection mechanism shields rest of system Peer Services - Continued

John Olson M.S. Thesis Presentation 8/02 10 Standard Interface Simple Standard Interface  Made available to the system  Request for Token called by local Protection Service  Request for Pages called by local Paging Service  Calls are hidden from execution of user programs Example of Intra-consistency Service Call  Handle Incoming Message called from Communications Service to Consistency Service

John Olson M.S. Thesis Presentation 8/02 11 Chain of Events Access Attempt  read()  write()  assignment Protection Service  Protection Miss token must be obtained  Protection Hit token is present Page Access  Hit  Miss

John Olson M.S. Thesis Presentation 8/02 12 Chain of Events (Protection Miss) Local Protection Service makes call to: Consistency_Service::RequestToken(access type) Consistency Service does processing to enforce policy in preparation for setting the token  May unset tokens on other nodes by calling Local Protection Service on those nodes: Protection_Service::UnsetToken(access type) Consistency Service Sets Token by calling Local Protection service on calling node: Protection_Service::SetToken(access type) Protection Service restarts access

John Olson M.S. Thesis Presentation 8/02 13 Chain of Events (Page Miss) Only can occur after a Protection Hit Paging Service invokes call to: Consistency_Service::RequestPage(vaPageAdr) Consistency Service finds copy of page in accordance with policy and supplies it to the local Paging Service. If the page is not found, the page is assumed to be a zero-page.

John Olson M.S. Thesis Presentation 8/02 14 Thread Migration Is a benefit of Sombrero vs a Network of MASOS machines The same context of execution may run on any node Comparable to multi-processor  One pager per node  Cache coherency Timing  Affected data must move with thread to preserve the consistency of target memory object Requires rethinking of Lamport’s concept of “individual processor”

John Olson M.S. Thesis Presentation 8/02 15 Thread Migration

John Olson M.S. Thesis Presentation 8/02 16 Simulation 1) a set of processes each of which is an instance of a Win32 Console Application with each instance representing a simulated node 2) a Visual Basic Windows Application, called the UI Application, for generating user input to the various simulated nodes 3) a Win32 Console Application called the “Host” application which routes messages between simulated nodes and logs activity.

John Olson M.S. Thesis Presentation 8/02 17 Sombrero to Simulation Mapping

John Olson M.S. Thesis Presentation 8/02 18 Sombrero Simulation Implementation Architecture

John Olson M.S. Thesis Presentation 8/02 19 Simulation to Sombrero Mapping The Windows 2000 virtual address space view simulates the local view of the Sombrero Single Virtual Address Space The Windows 2000 paging and file system simulates storage on a Sombrero Node

John Olson M.S. Thesis Presentation 8/02 20 Differences from Sombrero  Uses 32 Bit Addresses  Non-Consistency Sombrero Services Simulated only to the extent necessary to support the simulation Paging Service Protection Service Communications Service  Access attempts always succeed

John Olson M.S. Thesis Presentation 8/02 21 Contributions Architecture  Developed specific architecture from original high level design Detailed Implementation  Designed interfaces between services and components Show Feasibility of Implementation  Implemented working simulation Thread Migration  Interpreted meaning in distributed single address space

John Olson M.S. Thesis Presentation 8/02 22 Conclusion Sombrero provides a flexible platform for fine-tuning consistency management to an application The Sombrero model for consistency management is correct Implementation of the Sombrero model for consistency management is feasible Areas of additional research exist  Thread Migration  Scalability

John Olson M.S. Thesis Presentation 8/02 23 Questions