Question
I require an unplagiarised solution for the question below

A. Consider the usage of critical word first and early restart on L2 cache misses. Assume a 1 MB L2 cache with 64 byte blocks
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution :

a)

1) Without critical word first and early restart :

Wait for the entire 64 byte(block of size L2) to be transferred to the L2

number of 16 bytes chunks = 64/16 = 4

time(in cycles) =cycles for first chunk+ cycles for remaining three chunks

it requires 120 cycles for the first 16 bytes and 16 cycles for the next 3 cycles each

number of cycles=(1*120)+(16*3)=168

2) With critical word first and early restart :

Wait for only first 16 byte to be trabsferred to the L2

time(in cycles)=time to transfer 16 bytes

number of cycles=(1*120)=120

b.)

Critical word first and early restart techniques have an impact when the block sizes are large. Since these techniques aim to reduce the miss time, their impact will depend on the number of misses happening in L1 or L2.

L2 caches always have larger block sizes and work at a better rate than L1. This implies that the techniques of critical word first and early restart can show some impact on the performance of L2 caches.

Add a comment
Know the answer?
Add Answer to:
I require an unplagiarised solution for the question below A. Consider the usage of critical word...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A short program loop goes through a 16 kB array one word at a time, reads...

    A short program loop goes through a 16 kB array one word at a time, reads a number from the array, adds a random number, and stores the result in the corresponding entry in another array that is located in the memory immediately following the first array. An outer loop repeats the above operation 100 times. The 64-bit processor, operating at a clock frequency of 4 GHz, is pipelined, has 48 address lines, three levels of caches with a 64...

  • Assume the access time for an L2 cache with a 64 byte cache block is 20...

    Assume the access time for an L2 cache with a 64 byte cache block is 20 cycles for the 1st 64 bit (8 byte) word, and an additional 2 cycles for each subsequent word. What is access time (time before L1 can pass incoming data on to processor) for a read of a word at 5ed705 if the full block must be read before using data? With critical word first? With early restart?

  • Consider a memory hierarchy using one of the three organization for main memory shown in a...

    Consider a memory hierarchy using one of the three organization for main memory shown in a figure below. Assume that the cache block size is 32 words, That the width of organization b is 4 words, and that the number of banks in organization c is 2. If the main memory latency for a new access is 10 cycles, sending address time is 1 cycle and the transfer time is 1 cycle, What are the miss penalties for each of...

  • 1 Overview The goal of this assignment is to help you understand caches better. You are...

    1 Overview The goal of this assignment is to help you understand caches better. You are required to write a cache simulator using the C programming language. The programs have to run on iLab machines. We are providing real program memory traces as input to your cache simulator. The format and structure of the memory traces are described below. We will not give you improperly formatted files. You can assume all your input files will be in proper format as...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT