Question

1. Draw a memory hierarchy diagram. 2. Briefly describe the different types of memory in the...

1. Draw a memory hierarchy diagram.
2. Briefly describe the different types of memory in the memory hierarchy in terms of
performance, access time and cost.
3. Describe the followings regarding cache:
a. Block placement
b. Block identification
c. Block replacement
d. Write strategy

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer) The Memory hierarchy diagram is shown below.

The Memory in the above diagram is divided into 5 types.

1) CPU Registers(Level 0)- The Registers memory is present in the Processor that is in the CPU. Since they are present in the CPU they have least access time and thus providing the best performance and considered as the fastest memory. They are very expensive and therefore comes in smaller sizes in KB(kilobytes).

2) Cache Memory(Level 1)- This memory stores that data or information which is frequently called or accessed by the CPU. It also has less access time but more than Level 0. It is also very expensive because it is a fast memory and therefore comes in smaller MB(megabytes).

3) Main Memory(Level 2)- This memory can directly communicate with the CPU through an O/I (Input/Output) Module. It is less expensive than cache memory and comes in larger sizes in GB. It uses static RAM and thus has good access time.

4) Magnetic Disk(Level 3)- These type of memory is also known as secondary memory and it is usually used to store the backups. It is used to store large files of data which is less used. It is cheaper than Main memory and thus comes in TB. Its access time is also large as compared to the above levels.

5) Magnetic Tap(Level 4)- Magnetic Taps are used to store files removable files. These are the cheapest and comes in very large sizes 1-20TB. They have poor performance and large access time.

Block Placement in Cache Memory- The Cache memory holds the recently or frequently used data by the CPU. A Block of data can't be randomly placed in the CPU cache memory. Placement policies are defined which specifies which data blocks should be placed in the cache memory. According to this policy, those data blocks are placed in cache memory which are frequently used by CPU.

Block identification in Cache Memory- The blocks are identified using the help of block number. The hashing function is used to tells where the block is present in the cache memory.

Block Replacement In Cache Memory-. When the cache is full there is a requirement of blocks to be replaced. Replacement algorithm is used for replacing the data block. For example in the least Recently used replacement algorithm that block is removed which is unused for a longer period of time as compared to other blocks.

Write Strategy in Cache Memory -  There are many writing strategies and choosing the right one can make a difference in response time and load on the database. Write through cache is a writing strategy in which data is firstly written to cache memory and then to the database. But in Write around data is directly written to the database.

Add a comment
Know the answer?
Add Answer to:
1. Draw a memory hierarchy diagram. 2. Briefly describe the different types of memory in the...
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
  • Consider a memory hierarchy using one of the three organization for main memory shown in a...

    Consider a memory hierarchy using one of the three organization for main memory shown in a figure below. Assume that the cache block size is 32 words, That the width of organization b is 4 words, and that the number of banks in organization c is 2. If the main memory latency for a new access is 10 cycles, sending address time is 1 cycle and the transfer time is 1 cycle, What are the miss penalties for each of...

  • Computer memory is typically organized in a hierarchy with different types of memory providing different size,...

    Computer memory is typically organized in a hierarchy with different types of memory providing different size, speed, cost, and volatility trade-offs. Which of the following statements are true: Registers are the fastest memory accessible by machine instructions. Random Access Memory (RAM) is typically divided into regions (segments) dedicated to specific uses by executing programs. Instructions are fetched from Code segments. Temporary values used to support algorithm recursion are stored in Stack Segments. in computer programming, a static variable is a...

  • 2. Cache hierarchy You are building a computer system with in-order execution that runs at 1...

    2. Cache hierarchy You are building a computer system with in-order execution that runs at 1 GHz and has a CPI of 1, with no memory accesses. The memory system is a split L1 cache. Both the I-cache and the D-cache are direct mapped and hold 32 KB each, with a block size of 64 bytes. The memory system is split L1 cache. Both the I-cache and the D-cache are direct mapped and hold 32 KB each, with a block...

  • Draw ablock diagram illustrating the switched model of human speech production and briefly describe each block...

    Draw ablock diagram illustrating the switched model of human speech production and briefly describe each block What is wrong with this simple model? (c) Draw ablock diagram illustrating the switched model of human speech production and briefly describe each block What is wrong with this simple model? (c)

  • 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...

  • Consider 512Kx8bits dynamic RAM chips where the memory access time is 2/3 of the memory cycle...

    Consider 512Kx8bits dynamic RAM chips where the memory access time is 2/3 of the memory cycle time. These chips have an Address Bus, a bi-directional Data Bus, a Read/Write control line and a Chip Select line. (a) Draw the diagram of a memory organization that will contain 4 megabytes, will have a 32-bit bi-directional data bus and will yield one word (32-bits) every access time if words are read from consecutive memory locations (in bursts). Clearly show and explain the...

  • 3) Filtration 1. Describe the process including process flow diagram II. Describe the different types of...

    3) Filtration 1. Describe the process including process flow diagram II. Describe the different types of equipment utilized in each process II. Describe the different industrial applications for each process

  • Module 10 Assignment - Direct-mapped Cache Direct-Mapped Cache In this question you're given a 16-byte memory...

    Module 10 Assignment - Direct-mapped Cache Direct-Mapped Cache In this question you're given a 16-byte memory segment and an 8-byte cache. Given the following series of memory accesses, complete the table below. Use the first Contents/Tag column to insert an item to the cache the first time and use the second Contents/Tag column if a cache entry is overwritten. Note: no index will have more than two blocks mapped to it. The first two examples have been provided. How many...

  • Regarding HTML and CSS answer the following... 1: Describe the different types of positioning used in...

    Regarding HTML and CSS answer the following... 1: Describe the different types of positioning used in CSS. 2: What is the difference between section and article elements in HTML5 3: What are the various types of semantic elements in HTML5. Please describe them briefly 4: What is the difference in a and b a. #myId, .myClass p, #myidTwo p:first-child a { color;blue; } b.#myId { color:blue; } .myClass p { color:blue; } #myidTwo p:first-child a { color:blue; }

  • a) Its time to refresh your memory on the different types of DNA mutations. Define the...

    a) Its time to refresh your memory on the different types of DNA mutations. Define the following: • point mutation, substitution, transversion, transition, point deletion, point insertion, frameshift mutation b) Define “gene regulation” and describe why this is an important process for all cells? c) Define operon and describe the major components that exist in an operon. Why are operons most common in prokaryotes but not in eukaryotes? d) Differentiate between “inducible operon” and “repressible operon”.

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
ADVERTISEMENT