Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (9 pts) Cache Design in terms of simple performance consideration. A pipelined processor with a separate instruction and data cache has five stages, a

image text in transcribed

3. (9 pts) Cache Design in terms of simple performance consideration. A pipelined processor with a separate instruction and data cache has five stages, a cycle time of 30 ns, and can start a new instruction on every cycle when there are no hazards. It is used with a copy-back (write-back) data cache with a line size of one word, T_cache 30 ns, and T_main = 80 ns. The hit rate in the cache is 90%. In this cache, a missed word is not passed to the processor until the entire line is received from main memory. Ignore write-backs of dirty pages. 25% of all instructions are performing LOADs and STORES (i.e., data reads and writes). For this problem, assume all other instructions cause no hazards and the LOAD and STORE instructions only stall because of memory access time. How many stalls occur when a memory access instruction misses in the cache? stalls What is the average instruction throughput (in IPS) of this processor? (show work) I/sec IfT_cache for data cache is increased to 31 ns, what is the NEW instruction throughput (in IPS)? I/sec 3. (9 pts) Cache Design in terms of simple performance consideration. A pipelined processor with a separate instruction and data cache has five stages, a cycle time of 30 ns, and can start a new instruction on every cycle when there are no hazards. It is used with a copy-back (write-back) data cache with a line size of one word, T_cache 30 ns, and T_main = 80 ns. The hit rate in the cache is 90%. In this cache, a missed word is not passed to the processor until the entire line is received from main memory. Ignore write-backs of dirty pages. 25% of all instructions are performing LOADs and STORES (i.e., data reads and writes). For this problem, assume all other instructions cause no hazards and the LOAD and STORE instructions only stall because of memory access time. How many stalls occur when a memory access instruction misses in the cache? stalls What is the average instruction throughput (in IPS) of this processor? (show work) I/sec IfT_cache for data cache is increased to 31 ns, what is the NEW instruction throughput (in IPS)? I/sec

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_2

Step: 3

blur-text-image_3

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

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions