Weak Ordering: A New Definition (presenting: Matthew Moskewicz) CS258, UCB, 2002. (2002.02.28)

Slides:



Advertisements
Similar presentations
Libertarianism and the Philosophers Lecture 4
Advertisements

Page 6 As we can see, the formula is really the same as the formula. So, Furthermore, if an equation of the tangent line at (a, f(a)) can be written as:

TEST-TAKING STRATEGIES FOR THE OHIO ACHIEVEMENT READING ASSESSMENT
This first sample can be identify as a good CV because: Each section is highlighted making it easier for reader to differentiate the different sections.
Threads Cannot be Implemented As a Library Andrew Hobbs.
Memory Consistency Models Kevin Boos. Two Papers Shared Memory Consistency Models: A Tutorial – Sarita V. Adve & Kourosh Gharachorloo – September 1995.
Recursion CS 367 – Introduction to Data Structures.
Time Value of Money Lecture 9 This lecture is part of Chapter 4: Investing in the Company.
The Four Agreements by Miguel Ruiz. 1. Be Impeccable With Your Word Speak with integrity. Say only what you mean. Avoid using the word to speak against.
Consistency Models Based on Tanenbaum/van Steen’s “Distributed Systems”, Ch. 6, section 6.2.
Matrices: Inverse Matrix
Calculations with significant figures
POETRY!!! Students : YES! THANK YOU MRS.SMITH!!!!
 This lesson is about the different types of characters found in literature. The different types I will cover in this lesson are the protagonist, antagonist,
Threading Part 2 CS221 – 4/22/09. Where We Left Off Simple Threads Program: – Start a worker thread from the Main thread – Worker thread prints messages.
1 Complexity of Network Synchronization Raeda Naamnieh.
Mr Barton’s Maths Notes
Prof. Bodik CS 164 Lecture 171 Register Allocation Lecture 19.
Register Allocation (via graph coloring)
Computer Architecture II 1 Computer architecture II Lecture 9.
CS533 - Concepts of Operating Systems 1 CS533 Concepts of Operating Systems Class 8 Synchronization on Multiprocessors.
Shared Memory Consistency Models: A Tutorial By Sarita V Adve and Kourosh Gharachorloo Presenter: Meenaktchi Venkatachalam.
Object-oriented design CS 345 September 20,2002. Unavoidable Complexity Many software systems are very complex: –Many developers –Ongoing lifespan –Large.
Lesson 4: Percentage of Amounts.
CSCI-383 Object-Oriented Programming & Design Lecture 15.
Memory Consistency Models Some material borrowed from Sarita Adve’s (UIUC) tutorial on memory consistency models.
Simplifying Rational Expressions – Part I
Mobile Robot Control Architectures “A Robust Layered Control System for a Mobile Robot” -- Brooks 1986 “On Three-Layer Architectures” -- Gat 1998? Presented.
A Computer Science Tapestry 1 Recursion (Tapestry 10.1, 10.3) l Recursion is an indispensable technique in a programming language ä Allows many complex.
An Introduction to Poetry.. Why does man continue to write poetry in today’s world? Write and answer this question in your notes. Write as much as you.
To start the tutorial, push the f5 key in the upper row on your keyboard f5 Then you can use the up and down arrow keys to advance backwards and forwards.
CS 350 – Software Design The Object Paradigm – Chapter 1 If you were tasked to write code to access a description of shapes that were stored in a database.
Primes and Tests for Divisibility Chapter 5 Section 1 By: Tiffany Fey.
Lecture 21 Multiple Inheritance. What is Multiple Inheritance? We defined inheritance earlier in the semester as a relationship between classes. If class.
5 BASIC CONCEPTS OF ANY PROGRAMMING LANGUAGE Let’s get started …
Process is continuously improving Have Definition of Done (DoD) DoD achievable within each iteration Team respects DoD The bottom line Delivering working,
Moving Around in Scratch The Basics… -You do want to have Scratch open as you will be creating a program. -Follow the instructions and if you have questions.
Main Memory CS448.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 10 By Herbert I. Gross and Richard A. Medeiros next.
1 CSE-308 Digital System Design (DSD) N-W.F.P. University of Engineering & Technology, Peshawar.
Perhaps you will be flying off for a holiday on the moon? Or maybe you will be taking your dog for a walk in virtual reality. We recently carried out.
Shared Memory Consistency Models. SMP systems support shared memory abstraction: all processors see the whole memory and can perform memory operations.
Memory Consistency Models. Outline Review of multi-threaded program execution on uniprocessor Need for memory consistency models Sequential consistency.
Instructor: Craig Duckett Lecture 03: Tuesday, April 14, 2015 SQL Sorting, Aggregates and Joining Tables 1.
Design Principles… Alignment. The Principle of Alignment states, "Nothing should be placed on the page arbitrarily. Every item should have a visual connection.
Use Cases CS 6961 – Lecture 4 Nathan Dykman. Neumont UniversityCS Lecture 102 Administration Homework 1 is due –Still reviewing the proposal, but.
4.5 Inverse of a Square Matrix
Thank you for the kind feedback. I truly do hope you have enjoyed the course and have had a good learning experience. Most people said they found the course.
Design Principles EDUC 6307: Design of Print Based Media Summer 2009 Ranelle Woolrich.
Module 10Energy1 Module 10 Energy We start this module by looking at another collision in our two inertial frames. Last time we considered a perfectly.
Digipacks. Emily Batts. Front View.. TITLE – The title for this album is ‘Myth’. This is a mysterious name, and the colourings used are quite random as.
Instructor: Craig Duckett Lecture 07: Tuesday, October 20 th, 2015 Conflicts and Isolation, MySQL Workbench 1 BIT275: Database Design (Fall 2015)
CS 350 – Software Design The Facade Pattern – Chapter 6 Many design patterns are catalogued in the “Gang of Four” text. I find their definitions not to.
AP Psychology Free Response Questions. FRQs-Free Response Questions ●The AP Psychology Exam is approximately two hours long and has two parts — multiple.
Lecture 5 Page 1 CS 111 Summer 2013 Bounded Buffers A higher level abstraction than shared domains or simple messages But not quite as high level as RPC.
Structure Report essays need logical form and shape i.e. structure As a basic structure you should think: Plan Look before you leap; use the planning page.
CSCI 383 Object-Oriented Programming & Design Lecture 15 Martin van Bommel.
CSE 486/586 Distributed Systems Consistency --- 2
This first sample can be identify as a good CV because:
Design Principles… Alignment. The Principle of Alignment states, "Nothing should be placed on the page arbitrarily. Every item should have a visual connection.
Threads and Memory Models Hal Perkins Autumn 2011
Consistency Models.
Threads and Memory Models Hal Perkins Autumn 2009
ECE 352 Digital System Fundamentals
NETWORK PROGRAMMING CNET 441
Relaxed Consistency Part 2
Relaxed Consistency Finale
HFOOAD Chapter 5 Interlude
Presentation transcript:

Weak Ordering: A New Definition (presenting: Matthew Moskewicz) CS258, UCB, ( )

Truth in Advertising This is paper is exactly what its title says it is: a new definition of ‘weak ordering’ –“Definition 1” – (the old definition) acts as the whipping boy throughout the paper. –“Definition 2” – (the new definition) illustrates the key goals of the work. –“Definition 3” – (the example) tries to show that “Definition 2” is just as cool as it looks.

Definition 1 Definition 1 is a little interesting… –It appears to be a (re)formulation of the visible behaviors of a particular flavor of multiprocessor memory system that ‘defined’ the idea of weak consistency –It is hinted that the original ‘definition’ was simply a description of the hardware itself. But since we’re going to compare it against another concept entirely, we better reformulate. –Semantics: sync accesses are strongly ordered. for the rest, finish them before sync, and wait until after sync to do more.

Definition 2 In its full glory: “Hardware is weakly ordered with respect to a synchronization model if and only if it appears sequentially consistent to all software that obey the synchronization model.” Bam. Programmer wants to think about sequential consistency –So he can, if he obeys the synchronization model Hardware can do anything it wants –As long as it meets its contractual obligation But? –What’s a synchronization model? –Is this even comparable with definition 1? Does that matter?

Definition 3 Well, okay, but clearly we need a good synch model for this to fly. Here’s a simple one: –No data races (DRF0) Simple concept –If no conflicting accesses not separated by synchronization allowed. What does this mean to the programmer? –Must make synchronization explicit in a certain way –Not so bad overall, “most” programs want to avoid data races anyway.

Definitions 4&5? What does this mean for the hardware? –We’ll describe some hardware, pretty much like the hardware we reverse engineered “Definition 1” from. –But we won’t actually formulate “Definition 4” and compare that against its counterpart: “Definition 1” –Instead, we’ll show that DRF0 is ‘weaker’ than whatever model is it that “Definition 1” supports – “Definition 5”. Which really isn’t much of a surprise But then again, all we had before was Definition 1.

And? And now we can make up as many synchronization models as we want. –And hopefully, adding restrictions to the models will allow more efficient hardware Without restricting the programmer too much –And the contract is ‘tight’ from both sides –And look at DRF0 It’s clean It’s ‘almost’ as good as whatever Definition 1 supports. And it allows more freedom in hardware And the program can execute more efficiently

To Sum Up Concept of an Interface: Good. Previous definition of ‘weak ordering’ didn’t use an interface model: Bad. Programmer wants to think about sequential consistency of constrained class of programs. So that’s our Interface. And it seems to work pretty well. –But we couldn’t quite characterize the old definition under the new Interface –But we probably could

Fin