Question

Question 1: a) Written only: Explain what a storage hierarchy is and its performance impact. b)...

Question 1:

a) Written only: Explain what a storage hierarchy is and its performance impact.

b) Written and in class: Explain the concepts of temporal and spatial locality.

c) Written only: Explain the operation of a simple directly mapped cache design.

d) Written and in class: What is the purpose of a cache tag?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) The storage or the memory hierarchy is nothing but a theory that is important and utilize by the CPU in order to manipulate the data. The CPU gets the instructions to be performed from the cache memory. The cache memory is located on the chip and is being utilized by the application faster as it is considered as the fastest type of memory. Hence, the RAM is being used as it store the data in it until the CPU requested for it. And then comes the disk memory, where all the other data are stored in the system for future use.

b) Temporal locality is basically used to refer the reuse of the data or any resources within the relatively small time duration. Temporal locality is a special type of the spatial locality when the perspective location is identical to the present location.

Whereas, the spatial locality is more like referring to the use of data relatively used within close storage locations. This is the storage location which is referenced at particular time.

c) Simple directed map Cache design:

A direct mapped cache usually has one block in each set and it is organized into the S = B sets. The mapping of the memory address into the cache blocks, imagine the main memory as mapped into the b-word blocks, just similar to the cache. Suppose an address in the block 0 of the main memory maps to the set 0 of the cache, similar ways the address in block 1 of main memory is mapped to the set 1 of cache. This way the mapping wraps around, block B of the main memory will map to the block 0 of cache. This is how it works.

d) The data stored in the cache memory are tagged in order to use it and find it whenever needed. This will easily help the CPU to get the data present in the cache memory.

Add a comment
Know the answer?
Add Answer to:
Question 1: a) Written only: Explain what a storage hierarchy is and its performance impact. b)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 2: a) Written and in class: Explain operation of a set associative cache. b) Written...

    Question 2: a) Written and in class: Explain operation of a set associative cache. b) Written and in class: Explain operation of a Harvard or split cache. c) Written and in class: Explain operation of a multilevel cache (L1+L2; L1+L2+L3 [N/A]).

  • 1.Explain the Maslow Hierarchy? 2. What is its impact on the project team?

    1.Explain the Maslow Hierarchy? 2. What is its impact on the project team?

  • Q#1 Briefly explain the following: a. What are various cost allocation methods as assets are held...

    Q#1 Briefly explain the following: a. What are various cost allocation methods as assets are held and used over time. Report bonds payable and interest expense for bonds sold at par and analyze the times interest earned ratio. c. Explain the importance of working capital and its impact on cash flows d. Explain the purpose of stock dividends, stock splits, and report transactions. What is Return on Assets (ROA).Analyze a company's performance based on return on assets and its components....

  • its 9-14, its not only 1 question!! thanks 4. In order to prevent discrimination against applicants...

    its 9-14, its not only 1 question!! thanks 4. In order to prevent discrimination against applicants of protected classes, your colleague decides to note the protected class characteristic of the applicants on their applications. What would be your advice to her? a. It's a good idea. Noting the protected class characteristic of the applicant on the application which make sure that the firm takes extra care not to discriminate against these applicants. b. It's NOT a good idea. Noting the...

  • 1 Overview The goal of this assignment is to help you understand caches better. You are...

    1 Overview The goal of this assignment is to help you understand caches better. You are required to write a cache simulator using the C programming language. The programs have to run on iLab machines. We are providing real program memory traces as input to your cache simulator. The format and structure of the memory traces are described below. We will not give you improperly formatted files. You can assume all your input files will be in proper format as...

  • QUESTION 45 What is NOT one of the three characteristics of TCP in its role as...

    QUESTION 45 What is NOT one of the three characteristics of TCP in its role as a reliable delivery protocol? a. Sequencing and checksums b. Flow Control c. Framing d. Connection-oriented Protocol 1.25 points    QUESTION 46 What is by far the most popular DNS server software available? a. Dnsmasq b. Microsoft DNS c. BIND d. Oracle Resolver 1.25 points    QUESTION 47 What is routing protocol convergence time defined as? a. It is the time it takes for the...

  • QUESTION 1 What is a heterophile antigen? a. an antigen homospecific to only one antibody. b....

    QUESTION 1 What is a heterophile antigen? a. an antigen homospecific to only one antibody. b. an antigen that has been modified to bind to more than one antibody. c. an antigen found only on one etiological agent. d. an antigen common to more than one species and whose distribution is unrelated to its phylogenetic distribution. 1 points    QUESTION 2 What is an antigen? a protein synthesized and secreted by T lymphocytes (T cells). All bacterial cells are antigens....

  • Please explain how to do part (b), (c) and (d) only The PID control architecture might be popular, but that does not mean it can be used for everything. This question explores when the PID controller...

    Please explain how to do part (b), (c) and (d) only The PID control architecture might be popular, but that does not mean it can be used for everything. This question explores when the PID controller is (in)sufficient: when it is too much, when it is "goldilocks", and when it is not enough. Consider a plant given by P'(s)-SaAs n increases, so does the order of the system. (sta)" Let's consider three orders and how PID controller design works for...

  • Parts a,b,c Just bullets points on what I should write about thanks Answer Question 1 and...

    Parts a,b,c Just bullets points on what I should write about thanks Answer Question 1 and one other question. Question 1 is allocated 50% of the marks for the paper. The other question is allocated 50% of the marks for the paper. The duration of the examination is 2 hours. 1. Answer three parts of the following question. Your answer for each part should be no longer than two pages long with respect to the capital and security market lines?...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT