Professional Documents
Culture Documents
Save Rage
Save Rage
5 Number of cache accesses: o All instructions are present in cache, so we access the cache 100% of instructions o Some data may be loaded or stored from memory, this will need a cache access. 30% of instructions need this. Number of cache accesses is 130% = 1.3
o o
1 - h1 = 1 - 0.97 = 0.03 L2access time = 25 ns, but we need this time relative to the processor (in terms of clock cycles)
Time needed to transfer a block from L2 to L1: We need to transfer a block of size 32 bytes using a bus of width 256 bits (32 bytes) at a speed of 500 Mhz
o o o o Time needed to transfer a block from memory to L2: We need to transfer a block of size 64 bytes using a bus of width 128 bits (16 bytes) at a speed of 250 Mhz 1 - h1 = 1 - 0.97 = 0.03 1 - h2 = 1 - 0.9 = 0.1