Reference no: EM133240217
Question: A machine has a main memory of 4 KB, organized as 1 channel, 1 rank and N banks (where N > 1). The system does not have virtual memory.
Data is interleaved using a cache block interleaving policy, as described in lecture, where consecutive cache blocks are placed on consecutive banks.
The size of a cache block is 32 bytes. Size of a row is 128 bytes.
An open row policy is used, i.e., a row is retained in the row-buffer after an access, until an access to another row is made.
A row-buffer hit is an access to a row that is present in the row-buffer. A row-buffer miss is an access to a row that is not present in the row-buffer.
For a program executing on the machine, accesses to the following bytes miss in the on-chip caches and go to memory.
0, 32, 320, 480, 4, 36, 324, 484, 8, 40, 328, 488, 12, 44, 332, 492
The row-buffer hit rate is 0%, i.e., all accesses miss in the row-buffer.
What is the minimum value of N - the number of banks?
Convert to row addr first(how many bit on LSB side to be byte offset?).