Question

Please explain in great details. Don't skip intermediate steps. I am trying to really understand this. Thank you

Question 6- Cache Inclusion Assume you have an L2 cache that is direct-mapped with 4 sets. Assume L1 cache is fully-associate with capacity of 2 blocks and it uses LRU policy If you know that blocks A, B, C and D map to sets 0, 1, 2 and 3 in L2 Cache. If you know the current state of both L1 and L2 cache is as following: Set 0 LRU t 1 Set 2 DIC Set 3 L1 Cache L2 Cache .If our next access is for block E that maps to set 3 in L2 cache, fill/describe the state of the caches after the access, if we use: Inclusive L2 Cache Non-Inclusive L2 Cache

0 0
Add a comment Improve this question Transcribed image text
Answer #1

cache levels can be many depending on need say l1 to l8 as the number goes through size increases

and speed of acess also reduces accordingly.

inclusive cache : is one whatever the content requests from processor to l1 cache are traced back to l2 cache if its there with l2 then contents are mapped to l1 cache and served processor request. so whatever references in l1 is from l2 cache only.

non-inclusive cache : if contents are missing initially with l1 cache which is called cache miss, contents read from l2 cache even if not present there then sort from main memory and again if shortage of space arises in l1 cache, contents are swapped to l2 cache for fresh requests. that's how contents move to l2 cache.

tor cocu gaan Steven. อ 11 Coeur Nota

Add a comment
Know the answer?
Add Answer to:
Please explain in great details. Don't skip intermediate steps. I am trying to really understand this....
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
  • Please explain in great details. Don't skip intermediate steps. I am trying to really understand this....

    Please explain in great details. Don't skip intermediate steps. I am trying to really understand this. Thank you 6) Let fand g be functions from Z to Z such that fx) -2x + 1 and g)- Is finvertible, and if so, what is its inverse? g invertible, and if so, what is its inverse? C. F Find fx)

  • Please help me out. Give me a detail explanation for this !!    ( repeat one...

    Please help me out. Give me a detail explanation for this !!    ( repeat one is a subquestion.. please do it if you can but, understand if you dont solve the sub question one ) Repeat part (1) except assume that the cache is 2-way set associative with an LRU replacement policy and 16-byte sets (8-byte blocks). 3. (cache) Consider the following code: (20 points) (1) Assume that the system has a 8192-byte, direct-mapped data cache with 16-byte blocks....

  • 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...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

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