Computers and Technology
Computers and Technology, 23.04.2021 15:40, Jonah58

Consider a computer architecture that has a dynamically changing caching policy, such that it changes either the blocksize or the associativity of the caching policy in the middle of execution. In some cases, the change may require the computer to invalidate existing blocks in the cache because the blocks stored under the old caching policy are either misplaced or incomplete according to the new policy. For each case below, indicate whether the change may lead to blocks in the cache that are no longer valid, or if all blocks that were in the cache before the change remain valid after the change. For each case, perform an example using an initial blocksize of 16 words per block, and a cache containing 256 words (i. e., initially it contains 16 blocks). For the case where the change may lead to an invalid block in cache, give an example. For the case where the block always remains valid, use an example to demonstrate why, 2 or 3 sentences per case below should suffice. Don't write a novel!
(a) Direct-mapped: blocksize doubles from 16 words / block to 32 words / block
(b) Direct-mapped: blocksize halves from 16 words / block to 8 words / block
(c) Fully assoc: blocksize doubles from 16 words / block to 32 words / block
(d) Fully assoc: blocksize halves from 16 words / block to 8 words /block
(e) Set assoc, goes from 4-way to 8-way associative
(f) Set assoc, goes from 4-way to 2-way associative

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:30, sayedaly2096
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, Vanesssajohn2962
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
image
Computers and Technology, 25.06.2019 02:30, gabby0148
On the pie chart below, which “slice” represents 30% of the budget?
Answers: 2
image
Computers and Technology, 25.06.2019 04:30, richtercatrina16
He 98 pointsss how has computers changed over the years? how can they be used now? give details and such!
Answers: 1
Do you know the correct answer?
Consider a computer architecture that has a dynamically changing caching policy, such that it change...

Questions in other subjects:

Konu
Computers and Technology, 07.09.2021 01:40