17 Pages

consistency2

Course: CS 533, Spring 2008
School: University of Illinois,...
Rating:
 
 
 
 
 

Word Count: 876

Document Preview

Consistency Memory (II) Instructor: Josep Torrellas CS533 Copyright Josep Torrellas 2003, 2008 1 Enhancing RC Allow an access to partially or fully proceed even though the delay arcs demand that the access be delayed Detect and remedy the cases when the early access would result in incorrect behavior. How? Re-issue the access to the memory system Summary: common case proceeds with high speed while still...

Register Now

Unformatted Document Excerpt

Coursehero >> Illinois >> University of Illinois, Urbana Champaign >> CS 533

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Consistency Memory (II) Instructor: Josep Torrellas CS533 Copyright Josep Torrellas 2003, 2008 1 Enhancing RC Allow an access to partially or fully proceed even though the delay arcs demand that the access be delayed Detect and remedy the cases when the early access would result in incorrect behavior. How? Re-issue the access to the memory system Summary: common case proceeds with high speed while still preserving correctness Copyright Josep Torrellas 2003, 2008 2 Two Techniques Prefetching Speculative execution Copyright Josep Torrellas 2003, 2008 3 Prefetching Prefetching is classified as: Binding vs non-binding Hardware vs software Cache coherent machines can provide non-binding prefetching Non-binding prefetching: does not affect the correctness for any consistency model can be used as performance booster Can use: for a read: read prefetch for a write: read-exclusive prefetch WHY? Bring data into the cache and perform the operation when the memory consistency model allows Copyright Josep Torrellas 2003, 2008 4 What if there is an intervening access After a read prefetch a remote processor writes: our copy gets invalidated when the local read is actually issued: it misses After a read-exclusive prefetch a remote processor writes: same as above a remote processor reads: our copy loses exclusivity when the local write is issued: miss Copyright Josep Torrellas 2003, 2008 5 Implementation Assume a processor with LD and ST buffers Local access kept in buffer, it is delayed until it is correct to do it Hardware automatically issued: Read prefetch: for reads in the buffer Read-exclusive pref: for writes (and RMW) in the buffer Prefetches are buffered in a special prefetch buffer. They are retired as quickly as the bandwidth of the memory system allows Prefetch first checks the cache. If data there in the right state, then prefetch is discarded Prefetch response is placed into the cache Copyright Josep Torrellas 2003, 2008 6 Implementation If processor references the line before the prefetch has arrived, no additional request is issued to the memory system (combining) Copyright Josep Torrellas 2003, 2008 7 Issues Prefetching needs lock up free caches causes additional cache accesses (double) but: only if the request cannot proceed past the LD/ST buffer because of memory consistency problems best with out-of-order execution and aggressive branch prediction Copyright Josep Torrellas 2003, 2008 8 Examples Examples (assume that the branch prediction takes the path that assumes sych succeeds) lock L (miss) Lock L (miss) write A (miss) read C (miss) write B (miss) read D (hit) unlock L (hit) read E[D] (miss) unlock L (hit) Assume: cache hit =1 cycles, cache miss=100. EX1: SC: 301, RC: 202, with pref (SC or RC): 103 EX2: SC: 302, RC: 203, with pref: 203 SC and 202 RC note: the E[D] not allow to perform until read to C completes (under SC) or lock access completes (under RC) Copyright Josep Torrellas 2003, 2008 9 Summary does Pref not help when out-of-order consumption of return values is important to allow the processor to proceed efficiently. We saw example: address of the read access to array E depends on the value of D, and although the read access to D is a cache hit, this access is not allowed to perform (ie the value cannot be used by the processor) until the read of C completes (under SC) or until the lock access completes (under RC). Copyright Josep Torrellas 2003, 2008 10 Speculative Execution Allow the processor to consume return values ooo regardless of the consistency constraints Goal: combination of: prefetching for stores speculative execution for loads Copyright Josep Torrellas 2003, 2008 11 Speculative Execution Consider access u (long latency) followed by v (a load) Assume that the consistency model requires v to be delayed until u completes Speculative execution: the processor obtains or assumes a return value for v before u completes, and proceeds When u completes: if current value value of v is as expected, speculation was successful if current value is different: throw out the computation that depended on the value of v and re-execute Copyright Josep Torrellas 2003, 2008 12 Requirements Speculation mechanism: obtain the speculated value Detection mechanism: Correction mechanism: to repeat the computation if misspeculated Copyright Josep Torrellas 2003, 2008 13 Mechanisms Speculation mechanism: Perform the access: if cache hit: return immediately if miss: takes longer Detection mechanism: Nave: repeat the access when legal and compare the value Better: keep the data in the cache and monitor if you received a coherence transaction for it Result: cache accessed once rather than twice (as pref) Coherence transactions: invalidation but: false s...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

University of Illinois, Urbana Champaign - CS - 232
CS232 Fall 2008 SpimBot Due: 8pm Tuesday, Dec. 9 General Instructions1. To access SpimBot type spimbot -help in the cs232 directory 2. You may work in groups of up to three. 3. Remember to have fun!1IntroductionThe object of this tutorial is
University of Illinois, Urbana Champaign - CS - 232
1SpimBot Controls and CommandsThis section introduces you to SpimBot, a robot programmed in MIPS, developed by Prof. Craig Zilles. The two sections you just read will help you develop a robot that can scan a playing field to look for tokens, and
University of Illinois, Urbana Champaign - CS - 573
AlgorithmsLecture 7: Greedy AlgorithmsThe point is, ladies and gentleman, greed is good. Greed works, greed is right. Greed clarifies, cuts through, and captures the essence of the evolutionary spirit. Greed in all its forms, greed for life, money
Wisconsin - BOTANY - 401
Wisconsin Flora Mapping ProjectWhat is the project?Wisconsin Flora Mapping ProjectWhat is the project?Wisflora2, 570 speciesWisconsin Herbarium web visitsWIS Herbarium - 1 million + specimens 300 thousand WI specimens 327 thousand database
University of Illinois, Urbana Champaign - CS - 527
Automated Testing of Refactoring EnginesBrett Daniel Danny Dig Kely Garcia Darko Marinov University of Illinois at Urbana-Champaign ESEC/FSE 2007Refactorings are behavior-preserving program transformations that improve the design of a program.Ex
University of Illinois, Urbana Champaign - CS - 477
CS 477: Formal Methods in Software DevelopmentMahesh Viswanathan vmahesh@cs.uiuc.edu 3232 Siebel Center Spring 2009111.1Floyd-Hoare LogicIntroductionSimple Example: Swapfmod SWAP is including PGM-SEMANTICS . op X : -> Int . op Y : -> Int
Arizona - AZ - 1441
Mandarin Selection Trials in Arizona 2006-071Glenn C. Wright Department of Plant Sciences, U. of A., Yuma Mesa Agriculture Center, Yuma, AZAbstractThird year yield and packout data from a trial containing Fina, Fina Sodea, Sidi Aissa, Oroval, W.
Arizona - AZ - 1427
Cultivar Selection Trials of Navel Orange in Arizona for 2004-051Glenn C. Wright Department of Plant Sciences, U. of A., Yuma Mesa Agriculture Center, Yuma, AZAbstractTwo orange cultivar trials have been established in Arizona, one at the Yuma Me
Arizona - AZ - 1246
Spring Transition of Tifway (419) Bermudagrass as Influenced by Herbicide TreatmentsD.M. Kopec and J.J. Gilbert, University of ArizonaAbstractThe transition from perennial ryegrass back to bermudagrass is often problematic. Prolonged periods of r
CSU Northridge - JJV - 7820
Dimensional analysis1) How far will 300 gallons take a car that gets 20 miles to the gallon? 2) How many gallons are needed to drive a car that gets 20 miles to a gallon a distance of 300 miles? 3) The density of a certain gas is 1.400 g per liter.
Texas San Antonio - RUX - 164
UTSA Name: Department of Mathematics MAT 1214 Calculus I, Section 13 Spring, 2007 Quiz 1. Ten minutes February 15, 2007 x Let 3 - x if 0 x < 3 2 f (x) = (x - 3) if x 3 -x if x < 0 (a) Sketch the graph of f , labeling in your graph the most sign
Brookdale - INWK - 6211
INWK6211 Mathematics for InternetworkingWinter 2009Assignment #31) In England, during 1875-1951, the interval T (in days) between consecutive mining accidents (resulting in multiple fatalities) is described by the following probability density
University of Illinois, Urbana Champaign - MATH - 0220
TWO-PRIMARY ALGEBRAIC K-THEORY OF RINGS OF INTEGERS IN NUMBER FIELDSJ. Rognes and C. WeibelAbstract. We relate the algebraic K-theory of a totally real number eld F to its tale cohomology. We also relate it to the zeta-function of F when F is Abel
University of Illinois, Urbana Champaign - MATH - 0298
SYNTOMIC REGULATORS AND p-ADIC INTEGRATION I: RIGID SYNTOMIC REGULATORSAMNON BESSER1. Introduction The syntomic cohomology, more precisely the cohomology of the sheaves s(n) on the syntomic site of a scheme, where introduced in [FM87] in order to
Virginia Tech - FR - 3206
CERCLE FRANCOPHONE T-SHIRT ORDER FORMCATCH THE FEVER! INSTRUCTIONS: Please complete this form and return it a French dept. professor, along with a check made out to Cercle francophone by April 9th. For those living outside of the greater Blacksburg
Virginia Tech - FR - 3304
VeillelaSorbonne enhommageAimCsaireLefigaro.fravecAFP 19/04/2008|Misejour:23:04| . Commentaires 1Crditsphoto:AFPPlusieurscentainesdepersonnessesontrassemblessurlelieuonaquitleconceptdela ngritude,pouruneveillelamodeantillaiseensouvenirdupote.
Wisconsin - ME - 569
2Energy Consumption by SectorOffice buildings, industries, residences, and transport systems, Baltimore, Maryland; east view from the inner harbor. Source: U.S. Department of Energy.Figure 2.1a Energy Consumption by Sector OverviewTotal Consum
Texas San Antonio - EES - 5053
MODIS-based Urban Heat Island StudyUniversity of Texas @ San AntonioMichael Williams Javier A CamposUrban Heat Island?Metropolitan area is significantly warmer than its surroundings (2-6C warmer) As population centers grow in size from village
Texas San Antonio - EES - 5053
Passive Microwave Remote SensingLecture 14 Oct 17, 2005Reading materials: Three papersPrincipalsWhile dominate wavelength of Earth is 9.7 um (thermal), a continuum of energy is emitted from Earth to the atmosphere. In fact, the Earth passively
Texas San Antonio - EES - 5053
ElectroMagnetic Radiation (EMR)Lecture 2-3 August 29 and 31, 2005Ways of Energy Transfer Ways of Energy TransferEnergy is the ability to do work. In the process of doing work, energy is often Energy is the ability to do work. In the process of do
Texas San Antonio - ES - 6973
Targeted Emissivity in Determining Land Surface TemperatureB. Todd Guest ES 6973 Image Processing/Advanced Remote Sensing 29 April 2005PurposeTo create a program that will create Land Surface Temperature (LST) determinations more accurately based
Texas San Antonio - ES - 5053
RS5053, fall 2004Middle Term Review (Oct. 13)Hongjie XieEarth and Environmental Science University of Texas at San AntonioThe EM spectrum is the heart of the class. If you understand EMR, you understand almost half of the remote sensing. 1. EMR
Texas San Antonio - EES - 5083
Classification Accuracy AssessmentLecture 9 By Xianwei Wang March 25, 20081. Introduction: Classification or thematic mapRemote Sensing is becoming more and more important information/data source, like in GIS. Classification is a efficient way e
University of Illinois, Urbana Champaign - IB - 453
Island BiogeographySpecies-area relationship - well described by a power law S = cAz where c and z are constants Typically works very well for islands. For oceanic islands Darlington (1957) proposed that a ten-fold increase in island area results in
Virginia Tech - MGMT - 641
Example Data Options Investment Strategies Call Option Payoffs 30 20Put Option Payoffs 30 20 30 20 Short Call, K=9
Texas San Antonio - CS - 2233
CS 2233 Discrete Mathematical Structures Fall 089/19/083. HomeworkDue 9/29/08 before class Please refer to the corresponding exercise sections in the textbook (Rosen, 6th edition). 2.1 (page 119) (a) (2 points) 8 a,b,c,e (b) (2 points) 22 a,b,c,
Arizona - GEOS - 596
American Mineralogist, Volume 77, pages 741-750, 1992Bonded and pro molecule radii for molecules and crystalsG. V. GIBBSDepartmentsof GeologicalSciencesand MaterialScienceand Engineering, irginiaTech, Blacksburg,Virginia24061,U.S.A. V M. A. SPACK
Texas San Antonio - BLK - 1990
29.362714N 98.144803WDry Hollow Cr Dry Hollow Cr1990 COUNTY BLOCK MAP (RECREATED): WILSON CountyDry Hollow Cr5 729.362714N 97.990976WLn Littlehorn215*o7113B*King StDry HllwFM 775C i bolo112*Cr216*mMockingbird LnrC
Texas San Antonio - CS - 1713
CS 1713 Final Exam Review Problems1) (10 points) Implement an insertion sort for sorting an array of doubles in increasing order. Do this as follows: a) Write a method called insertItem that has 2 parameters. The first parameter is an array of doubl
Texas San Antonio - CS - 3733
Assignment 1 was written by S. Robbinsinputs: 4, 8, 7, 3, 6, 1, 2FCFSRRRRRRRRwwwwwwwRRRrrrrrrrrRRRRRRwrrrRR0 11 5.5 0.95000SJFrrrrrrRRRRRRRRwwwwwwwRRRRRRRRRwrrrrrrrRR6 7 6.5 0.79167PSJF as a state machinerrrrrrRrrRRRRRRRwwwwwwwRRRRRRRR
Texas San Antonio - CS - 3733
Assignment 1 was written by S. Robbinsinputs: 3, 8, 7, 3, 6, 7, 2FCFSRRRRRRRRwwwwwwwRRRrrrrrrrrRRRRRRwwwwwwwRR0 8 4.0 0.82609SJFrrrrrrRRRRRRRRwwwwwwwRRRRRRRRRwwwwwwwrRR6 1 3.5 0.79167PSJF as a state machinerrrrrrRRRRRRRRwwwwwwwRRRRRRRR
Texas San Antonio - CS - 4773
HSQLDB version 1.7.1 CHANGELOG SINCE VERSION 1.60Version 1.7.1 improves performance and fixes several bugs that have come to light since the release of 1.7.0. It does not feature any major new functionality in the database engine.* Enhancements t
Texas San Antonio - CS - 3733
CS 3733 Operating Systems - Spring 2001 Assignment 3Name Consecutively number the pages and fill in the index below with page numbers. Put a check mark in the appropriate place if you thing the part is correct. For the three ring programs, explain w
Texas San Antonio - CS - 3773
Modeling NotationsCS3773 Software EngineeringCharacteristics of a good modeling notation Well-defined set of concepts CASE tools supportLecture 7 Basic Modeling NotationsResulting in unambiguous, clear, consistent, and concise specification St
Wisconsin - CEE - 310
CEE 310 Spring 2009 Name:_ Quiz 2 1.) The volume rate of flow, Q, through a pipe can be determined by means of a flow nozzle located in the pipe as illustrated in the figure below. The nozzle creates a pressure drop, p A pB , along the pipe which is
Wisconsin - CEE - 310
CEE 310 Fluid Mechanics Spring 2009 Homework Assignment #3 Credit Distribution: NameName: _Due: February 10, 2009% of CreditGroup Homework Problems: 1. 2. 3. 4. 5. 6. Problem 2.52 Problem 2.58 Problem 2.61 Problem 2.63 Problem 2.64 Problem 2
Wisconsin - CEE - 310
CEE 310 Fluid Mechanics Spring 2009 Homework Assignment #7 Credit Distribution: NameName: _Due: March 10, 2009% of CreditGroup Homework Problems: 1. Problem 4.60 2. Problem 4.62 3. Problem 4.67 4. Problem 4.71 5. Problem 5.6 6. Problem 5.13
Wisconsin - CEE - 310
CEE 310 Fluid Mechanics Spring 2009 Homework Assignment #5 Credit Distribution: NameName: _Due: February 24, 2009% of CreditGroup Homework Problems: 4.4 4.16 (Add:(c) Draw the streaklines at t = 30 s.) 4.19 4.26 4.32 4.41 4.55 3.7 Problems f
Texas San Antonio - MS - 5003
MGT 5013 : Quantitative Methods for Business Analysis Spring 1994 Final Exam NameSSN1.The probability is 0.01 that a watch will require repair if it is dropped. Seven watches have just being dropped from a tray by a jewelry clerk. Assume that th
Texas San Antonio - MS - 3033
MS 3033 Management Science and Production SimulationPracticeProblemMount Washington Service Station sells regular and unleaded gasoline. Pump 1 is self-service for customers who want to pump their own gas. Pump 2 is full-service for customers who ar
Texas San Antonio - MS - 3033
MS 3033: Management Science and ProductionSummer II 2004 Midterm Test Name: Student ID:1.Solve the following linear programming problem graphically. Label each of the constraints and shade the feasible region. Label each of the feasible extreme
Texas San Antonio - MS - 3033
MS 3033 : Management Science and Production Summer I 2001 Test 1 Name SSNSolve the following linear programming problem graphically. Label each of the constraints and shade the feasible region. Label each of the feasible extreme point with their coo
Texas San Antonio - ES - 6973
Using MOLA and MOC images to study geomorphology or topographic modification of highland/lowland dichotomy boundary of Mars.by Ahmed t Rahid 29th April 2005Four sections of presentation topic Highland-Lowland Dichotomy boundary MOLA MOC Combi
Texas San Antonio - MS - 1013
Chapter6 ContinuousProbabilityDistributionsUniformProbabilityDistribution NormalProbabilityDistribution ExponentialProbabilityDistribution f( x )x1ContinuousProbabilityDistributionsAcontinuousrandomvariablecanassumeanyvalueinan intervalonth
Wisconsin - ECON - 102
Economics 102 Fall 2004 Answers to Practice Questions 5 Multiple choices: 1) a. The CPI tracks the cost of a basket of goods and services. 2) b. 3) c. The CPI (base 2001) and the CPI (base 2000) are just a rescale one of the other and the inflation r
Brookdale - IS - 353832
EG2257ENGINE MFI SYSTEMFUEL CUT RPMFUEL CUT RPM INSPECTION1. WARM UP ENGINE Allow the engine to warm up to normal operating temperature.2. CONNECT TACHOMETER Connect the test probe of a tachometer to terminal IG () of the DLC1. NOTICE: Never
Arizona - LING - 538
LING/C SC/PSYC 438/538 Lecture 7 Sandiway Fong Administrivia Homework (from lecture 3) returned today Reminder Homework 6 turn in today (bonus) official due date is Thursday at the beginning of class (we will review the homework in c
Arizona - CSC - 620
C SC 620 Advanced Topics in Natural Language ProcessingLecture 25 5/4Administrivia Next Semester LING 438/538 The official graduate Not a seminar series: Hands-on computer lab See LING 388 homepage computational linguistics course wide range
Texas San Antonio - UA - 10972
U R B A N IZED A R EA O U TLIN E M A P (C EN SU S 2000) B row nsville, TXLEGENDUSHwy 77X BusSYMBOL DESCRIPTIONInternational AIR (Federal) Trust Land / Home Land OTSA / TDSA / ANVSACitrusNorthSYMBOLNAME STYLECANADA LANSE RES (1880) T1880
University of Illinois, Urbana Champaign - CS - 598
Trust Breaks Down in Electronic Contexts but Can Be Repaired by Some Initial Face-to-Face ContactElena RoccoReviewed by Suraj Samaranayake Face to Face (F-t-F) interaction is the most trusting form of interaction. I'm from Missouri which has a mott
Wisconsin - ME - 231
Department of Mechanical Engineering ME 231 Drafting Kit for Spring 2007 From Alvin online catalog: Each kit should contain; (1) 568 - GEARHEAD DIVIDER 5 1/2in General Catalog Page - 68(1) ALVIN Tech Line Mechanical Pencil SetDB100(1) C505-2H R
Wisconsin - CS - 525
Final ExamCS 525, Semester I, 2007-2008 Monday December 17, 2007 2 hours (starting 2:45)All questions carry equal credit. No calculators allowed. Be sure to quote any results you use accurately. 1. Let z(t) be the solution of min 9x1 + 9x2 + x3 + t
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduGOVERNMENT AND THE SOYBEAN SITUATIONSoybeans are in troublesome surplus. The carryover in the fall of 1966 was a minimum pipelines stock of 35 million bushels. In 1967 it
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduTHINGS LEARNED ABOUT CATTLE FUTURES TRADINGWe are approaching the end of the first decade of futures trading in live beef cattle contracts. It has to be labeled an outstan
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduTOWARD A DEFINITION OF MANIPULATIONINTRODUCTIONCHAPTER 38A central focus and important purpose of the CFTC Act and its predecessor on legislation dating back to 1922 i
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduSTATEMENT TO THE DOMESTIC MARKETING AND CONSUMER RELATIONS SUBCOMMITTEE OF THE HOUSE AGRICULTURE COMMITTEE March 16, 1972 My name is T. A. Hieronymus. I am a professor of ag
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduSHOULD CCC INITIATE A BUYING PROGRAM FOR COTTONSEED AND SOYBEAN OILS?A request by cottonseed and soybean crushers for a CCC oil-buying program is being studied by the USDA
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduELEVATOR ADJUSTMENTS TO CORN COMBINESMy comments today are going to raise more questions than they are going to answer. The general subject of change in the country elevat
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduA REVISIONIST CHRONOLOGY OF PAPERS BY T. A. HIERONYMUSA Consistency of Biasesedited by T. A. Hieronymus Office for Futures and Options Research University of Illinois at
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduCHANGES NEEDED IN FUTURES CONTRACTSIn appraising the problem of a declining level of futures markets activity, we need to cast about in all directions. My comments are lim
University of Illinois, Urbana Champaign - AGEC - 110
The Board of Trustees of the University of Illinois, 1996 www.illinois.eduTHE USE OF FUNDAMENTAL ANALYSIS AND PRICE FORECASTINGINTRODUCTIONCHAPTER 33The title under which these comments are flying is somewhat misleading. It implies that ther