Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assuming it takes 10 clock cycles to access cache and 1000 cycles to access (D)RAM, how many cycles would the sequence of accesses in Ex.

Assuming it takes 10 clock cycles to access cache and 1000 cycles to access (D)RAM, how many cycles would the sequence of accesses in Ex. 5.2.2 take using the same cache configuration as 5.2.2 (8 two-word blocks) if every other one was a write (i.e. READ 3, WRITE 180, READ 43, WRITE 2, etc.) on the following types of caches:

a. Write-Through

b. Write-Back

Information for 5.2.2 provided below:

Given the addresses: 3, 180, 43, 2, 191, 88, 190, 14, 181, 44, 186, 253

5.2.2 For each of these references, identify the binary address, the tag, and the index given a direct-mapped cache with two-word blocks and a total size of 8 blocks. Also list if each reference is a hit or a miss, assuming the cache is initially empty. Answer:

Address - Binary- Tag- Index- Hit/Miss 3 00000011 0000 001 Miss 180 10110100 1011 010 Miss 43 00101011 0010 101 Miss 2 00000010 0000 001 Hit 191 10111111 1011 111 Miss 88 01011000 0101 100 Miss 190 10111110 1011 111 Hit 14 00001110 0000 111 Miss 181 10110101 1011 010 Hit 44 00101100 0010 110 Miss 186 10111010 1011 101 Miss 253 11111101 1111 110 Miss

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

Students also viewed these Databases questions

Question

7. It is advisable to do favors for people whenever possible.

Answered: 1 week ago