Page 1 of 1

Suppose a n-way set-associative cache has a capacity of 32 KiB (1 KiB = 1024 bytes) and each block consists of 64 Bytes.

Posted: Sat May 14, 2022 8:38 pm
by answerhappygod
Suppose A N Way Set Associative Cache Has A Capacity Of 32 Kib 1 Kib 1024 Bytes And Each Block Consists Of 64 Bytes 1
Suppose A N Way Set Associative Cache Has A Capacity Of 32 Kib 1 Kib 1024 Bytes And Each Block Consists Of 64 Bytes 1 (30.08 KiB) Viewed 51 times
Suppose a n-way set-associative cache has a capacity of 32 KiB (1 KiB = 1024 bytes) and each block consists of 64 Bytes. What is the total number of blocks in the cache? What is the number of sets (lines/rows) in each Block? [Hint: Total Number of Blocks in cache=Total cache Capacity in Bytes/Number of Bytes in each Block] i) Calculate the number of sets for 2-way set-associative (Block O, Block1) ii) Calculate the number of sets for 4-way set-associative (Block O, Block1, Block 2, Block3)