Memory Hierarchy questions

Q9

GATE CS 2014 CS-2Memory HierarchyNAT1 mark
A 4-way set-associative cache memory unit with a capacity of 16 KB is built using a block size of 8 words. The word length is 32 bits. The size of the physical address space is 4 GB. The number of bits for the TAG field is _____
Show answer without attempting

Answer: 20

Q43

GATE CS 2014 CS-2Memory HierarchyMCQ2 marks−2/3 if wrong
In designing a computer’s cache system, the cache block (or cache line) size is an important parameter. Which one of the following statements is correct in this context?
Show answer without attempting

Answer: D

Q44

GATE CS 2014 CS-2Memory HierarchyMCQ2 marks−2/3 if wrong
If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged, which one of the following is guaranteed to be NOT affected?
Show answer without attempting

Answer: D

Q55

GATE CS 2014 CS-2Memory HierarchyNAT2 marks
Consider a main memory system that consists of 8 memory modules attached to the system bus, which is one word wide. When a write request is made, the bus is occupied for 100 nanoseconds (ns) by the data, address, and control signals. During the same 100 ns, and for 500 ns thereafter, the addressed memory module executes one cycle accepting and storing the data. The (internal) operation of different memory modules may overlap in time, but only one request can be on the bus at any time. The maximum number of stores (of one word each) that can be initiated in 1 millisecond is ____________
Show answer without attempting

Answer: 10000

Q44

GATE CS 2014 CS-3Memory HierarchyNAT2 marks
The memory access time is 1 nanosecond for a read operation with a hit in cache, 5 nanoseconds for a read operation with a miss in cache, 2 nanoseconds for a write operation with a hit in cache and 10 nanoseconds for a write operation with a miss in cache. Execution of a sequence of instructions involves 100 instruction fetch operations, 60 memory operand read operations and 40 memory operand write operations. The cache hit-ratio is 0.9. The average memory access time (in nanoseconds) in executing the sequence of instructions is __________.
Show answer without attempting

Answer: 1.68

Q44

GATE CS 2014 CS-1Memory HierarchyMCQ2 marks−2/3 if wrong
An access sequence of cache block addresses is of length N and contains n unique block addresses. The number of unique block addresses between two consecutive accesses to the same block address is bounded above by k. What is the miss ratio if the access sequence is passed through a cache of associativity A≥kA \ge k exercising least-recently-used replacement policy?
Show answer without attempting

Answer: A

0/60 correct0 marks

Related topics in Computer Organization and Architecture