If each of the following addresses were accessed in sequence, identify if they would be a "hit" or a "miss":

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

ALSO: What is the hit ratio for the memory accesses (Round to the nearest percent.)

Suppose we have a computer that uses a memory address word size of 8 bits. This computer has a 16-byte cache with 4 bytes per block. The computer accesses a number of
memory locations throughout the course of running a program.
Suppose this computer uses direct-mapped cache. The format of a memory address as seen by the cache is shown below:
Tag
4 bits
Offset
2 bits
Block
2 bits
Given the following cache contents:
Tag
Cache Contents
Tag
Cache Contents
(represented by address)
Ox14
Ox15
Contents
(represented by address)
Contents
1110
OXEO
Block 0
Block 1
0001
OXE1
OXE2
Ox16
OXE3
Ox17
Block 2
1011
OxB8
Block 3
0110
Ox6C
OXB9
Ox60
ОхВА
OX6E
OXBB
OX6F
If each of the following addresses were accessed in sequence, identify if they would be a "hit" or a "miss":
O×4F
Ox6E
OXBA
OX4E
Ox6F
OXBB
Transcribed Image Text:Suppose we have a computer that uses a memory address word size of 8 bits. This computer has a 16-byte cache with 4 bytes per block. The computer accesses a number of memory locations throughout the course of running a program. Suppose this computer uses direct-mapped cache. The format of a memory address as seen by the cache is shown below: Tag 4 bits Offset 2 bits Block 2 bits Given the following cache contents: Tag Cache Contents Tag Cache Contents (represented by address) Ox14 Ox15 Contents (represented by address) Contents 1110 OXEO Block 0 Block 1 0001 OXE1 OXE2 Ox16 OXE3 Ox17 Block 2 1011 OxB8 Block 3 0110 Ox6C OXB9 Ox60 ОхВА OX6E OXBB OX6F If each of the following addresses were accessed in sequence, identify if they would be a "hit" or a "miss": O×4F Ox6E OXBA OX4E Ox6F OXBB
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