Q4. Assume the previous computer system has a 16-Byte unified L1 cache with a block size of 2 Bytes organized as a 2-way set associative cache. Please show how it looks like after the 20th access is finished. Note we choose LRU as the replacement policy for each set. You could ignore the "Data" Column. (Add or remove Rows/Columns in the following table for your answer, as you see fit). Cache contents after the 20th access:

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Assume a computer system has a main memory of 256 Bytes. The following is a memory byte-access trace history of  a program run on this system. For example, as it is shown, the program first accesses memory address 0000 0000, and  then it accesses memory address 0000 0001 and so on. Note the memory addresses are represented in binary: 00000000, 00000001, 00000010, 00000011, 00001000, 00010000, 00010001, 00000100, 00000101, 00000110, 00000111, 00001001, 00001010, 00001011, 00001100, 00001000, 00001001, 00001010, 00011100, 00011101.

 

Q4. Assume the previous computer system has a 16-Byte unified L1 cache with a block size of 2 Bytes organized as
a 2-way set associative cache. Please show how it looks like after the 20th access is finished. Note we choose LRU as
the replacement policy for each set. You could ignore the "Data" Column. (Add or remove Rows/Columns in the
following table for your answer, as you see fit).
Cache contents after the 20th access:
Cache Index
Tag 1
Valid Bit 1
Tag 2
Valid Bit 2
Data 1
Data 2
Transcribed Image Text:Q4. Assume the previous computer system has a 16-Byte unified L1 cache with a block size of 2 Bytes organized as a 2-way set associative cache. Please show how it looks like after the 20th access is finished. Note we choose LRU as the replacement policy for each set. You could ignore the "Data" Column. (Add or remove Rows/Columns in the following table for your answer, as you see fit). Cache contents after the 20th access: Cache Index Tag 1 Valid Bit 1 Tag 2 Valid Bit 2 Data 1 Data 2
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY