, 25% reads and 10% writes, and every other instruction type is 1 cycle. You have a 2-way set associative, write-back cache with 64 bytes in each cache line. Write back is handled by hardware and does not involve any delays. Memory latency is 30 cycles, bandwidth is 8 bytes per cycle. You can choose between: A. 256KB cache with access cost of 1 cycle to read a word into a register, and a miss rate of 15% o B. 1MB cache with a miss rate of 5% but aaccess cost of 2 cycles for every transfer between a register and cache. For each configuration of cache, calculate: size of tag for a cache line, and

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
100%

Assume we have a machine with 64 bit (8 byte) word size and 40 bit maximum memry address limited by the hardware. This machine has a 3 GHz clock. All instructions take 1 cycle except for floating point which takes 2 cycles, and memory instructions. It has an L1 cache but no L2 or other levels.

Assume the instruction mix is 5% floating point, 25% reads and 10% writes, and every other instruction type is 1 cycle.

You have a 2-way set associative, write-back cache with 64 bytes in each cache line. Write back is handled by hardware and does not involve any delays. Memory latency is 30 cycles, bandwidth is 8 bytes per cycle.

You can choose between:

A. 256KB cache with access cost of 1 cycle to read a word into a register, and a miss rate of 15% o

B. 1MB cache with a miss rate of 5% but aaccess cost of 2 cycles for every transfer between a register and cache.

For each configuration of cache, calculate: size of tag for a cache line, and size of cache addresses (both sizes in number of bits)

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