caching - What Does 8 Words of data mean? -
3, 180, 43, 2, 191, 88, 190, 14, 181, 44, 186, 253
you asked optimize cache design given references. there 3 direct-mapped cache designs possible, total of 8 words of data: c1 has 1-word blocks, c2 has 2-word blocks, , c3 has 4-word blocks. in terms of miss rate, cache design best? if miss stall time 25 cycles, , c1 has access time of 2 cycles, c2 takes 3 cycles, , c3 takes 5 cycles, best cache design?
okay, that's question need answer, , kind of confused. understand how cache works, , understand how calculate miss , hit depending on tag , index , not. question is, how many blocks using these caches? know we're using 3 different caches different word-blocks, can place more addresses block, c2 example can place in 2 words, 2 addresses. mean when says "8 words of data"? having trouble understanding question.
i assume more word-blocks there are, better hit rate, since we're able store more addresses. 8 words of data mean exactly, guess that's question?
caches not only contain data, there information has kept isn't usable in sense represents data retrieved , operated with. this, words of data means 4-byte-long continuous cache storage segments meant storing data.
the index , tag fields are, example, not data.
see www.csbio.unc.edu/mcmillan/media/comp411s12ps6sol.pdf , https://cseweb.ucsd.edu/classes/su07/cse141/cache-handout.pdf


Comments
Post a Comment