August
1999 QUESTION 4 Total Marks: 20 Marks |
Click here to access other
questions
Click to access |
An important feature
in designing a system is the construction of its memory hierarchy.
|
||
(a) | Draw a diagram showing the main elements of
the memory hierarchy and showing with arrows how the size, cost and access time vary for
the different forms of memory.
|
[4] |
(b) | What is the purpose of virtual memory? Will
the virtual memory address space be larger or smaller than the physical memory address
space? Explain your answer.
|
[4] |
(c) | In virtual memory, what is the page table?
|
[4] |
(d) | Using the page table can mean that each memory
access takes twice as long as it would without virtual memory. Explain why this is, and
how a translation lookaside buffer (TLB) may be used to overcome this difficulty.
|
[4] |
(e) | In which ways are virtual memory and the cache
similiar? What are the main differences?
|
[4] |