Question: 3 . ( 3 5 pts ) In a hypothetical paged virtual memory system, in which the following parameters are defined: ( 1 ) 6
pts In a hypothetical paged virtual memory system, in which the following parameters are defined: bit virtual word address, word page size, words of main memory, byte page table entry PTE fully associative main memory placement policy, words of cache, word block size, direct mapped cache placement policy, answer the following questions:
a what is the size of the largest user program this system can handle? ie what is the usable disk space for programs?
b what is the largest size of storage space that a single page table can occupy?
c when executing a program, the CPU generates a sequence of virtual word addresses as in the following:
xxbxbxxxxxe
and its corresponding page table has the following contents: where each row corresponds to a PTE, and VPN V xxx and PPN each stands for virtual page number, valid bit, irrelevant bits, and physical page number, respectively
and the cache has its current snapshot shown as in the following table: where SA stands for Set Address for cache placement policy
disregarding the accesses to page table, how many page faults and cache misses will the system encounter through this sequence of accesses, assuming that no other programs are being run in the system even a page fault happens and the whole memory is available to this program also disregard the memory requirement for page table Show at which address accesses the page faults and cache misss are encountered.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
