We have a 8-lines of L1 data cache. Let us assume each line has 256 bits and memory addresses have 16 bits of width, with byte-addressable memory. Indexing the cache is implemented by lowest-order bits.   a) Determine the number of tag, index and offset bits.  b) Which types of bits does the cache tags contain? c) What is the total number of bits necessary to apply the level 1 data cache?

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

We have a 8-lines of L1 data cache. Let us assume each line has 256 bits and memory addresses have 16 bits of width, with byte-addressable memory. Indexing the cache is implemented by lowest-order bits.

 

  1. a) Determine the number of tag, index and offset bits. 
  2. b) Which types of bits does the cache tags contain?
  3. c) What is the total number of bits necessary to apply the level 1 data cache?
  4. d) Let us assume the processor accesses data addresses below when cache is initially

    empty. Show the hits and misses in the level 1 data cache 

    0x0039: 0000 0000 0011 1001

    0x103B: 0001 0000 0011 1011

    0x954C: 1001 0101 0100 1100

    0xFFF5: 1111 1111 1111 0101

    0xBEEF: 1011 1110 1110 1111

    0x4360: 0100 0011 0110 0000

    0x02DF: 0000 0010 1101 1111

    0x8065: 1000 0000 0110 0101

    0x9528: 1001 0101 0100 1000

    e)Let us assume that the level 1 data cache has a hit rate of 30% on your application,

    an access time of a single cycle, and a miss penalty to memory will be of 30 cycles.

    What will the AMAT time?

   f)We want to increase the performance and we add a L2 cache to the system, what

   should the access time of the L2 cache with a hit rate of 50% in order to reduce the  

   AMAT? 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

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