Preview

Memory Dependencies

Good Essays
Open Document
Open Document
529 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Memory Dependencies
1. When predicting memory dependencies, what is the cost of "over predicting" (falsely predicting dependence)? What is the cost of "under predicting" (failing to predict an actual dependence)?
Ans : While predicting memory dependencies, the cost of "over predicting" (falsely predicting a dependence) will be a delay in loading an instruction. Over predicting might create a false dependency on the last store instruction and thus generating confusion with the scheduler. The cost of "under predicting" will be a wrong loading of the next instruction. This might be due to not detecting the memory dependence between the instructions.

2. How were the simulation results for the "perfect" memory dependence predictor generated? Why can't the hardware just use the same approach, thus achieving perfect memory dependence prediction?

Ans : The "perfect " memory dependence predictor was generated by assumption. It was assumed that there was no false dependency and no memory violation penalty. This is certainly not possible in the hardware, as it needs to know the correct address for address resolving.

3. Briefly describe the store sets approach to memory dependence prediction (just a paragraph)

Ans: The use of store sets is based on two facts : The first is that the behavior of memory-order violations is a good predictor of future memory dependencies. The second is that it is important to predict dependencies of loads where one load is dependent on multiple stores or multiple loads depend on the same store. The store sets allow a load to be dependent on multiple stores. The store set consists of two tables : The first is a PC indexed table called the Store Set Identifier Table (SSIT) that maintains the store sets using a common tag for each load and the stores in its store set. The second is called the Last Fetched Store Table (LFST) and maintains dynamic information about the most recently fetched store for each store set. The information in this table is

You May Also Find These Documents Helpful

  • Good Essays

    Nt1330 Unit 4 Case Study

    • 359 Words
    • 2 Pages

    We saw effective access time is directly proportional to the page fault rate . suppose one access out of 1,000 cause a page fault,…

    • 359 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    memory changes on how it is set. It either can be added or reduced from the computer.…

    • 281 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    +• Scheduling: Any processor may perform scheduling, which complicates the task of enforcing a scheduling policy and assuring that corruption of the scheduler data structures is avoided. If kernel-level multithreading is used, then the opportunity exists to schedule multiple threads from the same process simultaneously on multiple processors.…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    There are several items that are pertinent to memory management such as, basic hardware, the binding of symbolic memory addresses to definite physical addresses and the difference between logical and physical addresses. The most important task that memory management executes is the distribution and collection of memory…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    BTEC ICT Unit 2 P1

    • 944 Words
    • 4 Pages

    There are two types of memory which we need and use on our computers one of them is RAM and the other one is cache.…

    • 944 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Memory management is an important characteristic of an operating system. Main memory is divided into two parts one for resident programs, and the other for the program currently in use. The user part must be subdivided to accommodate multiple processes (Stallings, 2012). When a few processes are in the memory then much of the time all of the processes will have to wait for input /output and the processor will be idle. According to Stallings (2012),. The requirements that memory management is supposed to satisfy are Relocation, Protection, Sharing, Logical organization, and Physical…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The working memory model is a theory for how short-term memory works, and an expansion of the views expressed in the MSM theory. Baddeley and Hitch in 1974 felt that STM was not just one store but a collection of different stores. These concepts lead them to form a model which consists of three slave systems; the central executive, the phonological loop and the visuo-spatial sketchpad. They used the phrase ‘working memory’ to refer to the division of our memory that we utilize when we are working on an intricate task that requires data to be stored as you go along.…

    • 1126 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Give a brief account of and evaluate the working memory model of human memory. (12 marks) Outline and evaluate the working memory model. (12 marks)…

    • 318 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Loftus, E.F. (2002). Memory faults and fixes. Issues in Science and Technology, 18 (4), 41-50.…

    • 2572 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    The Working Memory Model

    • 1252 Words
    • 6 Pages

    Atkinson’s and Shiffrin’s (1968) multi-store model was extremely successful in terms of the amount of research it generated. However, as a result of this research, it became apparent that there were a number of problems with their ideas concerning the characteristics of short-term memory.…

    • 1252 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Multi Store Model

    • 1504 Words
    • 7 Pages

    The second section of the multi store model is the short term memory. The information that is held in the short term memory will disappear if not rehearsed. When we revise for a test we repeat things in order for it to stay in our minds and for us to remember it, this is called verbal rehearsal. This information will also disappear as new information will enter into our short term memory, therefore the old information will be pushed out, and the reason for this is because short term memory has a limited capacity.…

    • 1504 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Memory Failures Diary

    • 2100 Words
    • 9 Pages

    The purpose of this assignment was to write down my memory failures that occurred throughout the semester. In my memory diary, I recorded specific details about the memory failures. I would analyze after reaching 15 memory failures and discuss the similarities and differences found. I evaluated my memory failures and related them to the memory concepts that we discussed in class.…

    • 2100 Words
    • 9 Pages
    Powerful Essays
  • Powerful Essays

    Analysis Mwthodology

    • 2420 Words
    • 10 Pages

    This white paper provides a general discussion of the RAM approach and does not address the…

    • 2420 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Cis Memory Management

    • 1581 Words
    • 7 Pages

    A memory model allows a compiler to perform many important optimizations. Even simple compiler optimizations like loop fusion move statements in the program can influence the order of read and write operations of potentially shared variables. Changes in the ordering of reads and writes can cause race conditions. Without a memory model, a compiler is not allowed to apply such optimizations to multi-threaded programs in general, or only in special cases.…

    • 1581 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Debate on Board Exams

    • 482 Words
    • 2 Pages

    This is what, board exam does, It tries to judge the memory power, and the power…

    • 482 Words
    • 2 Pages
    Good Essays