Consider a virtual memory system with the following properties:
36 bit virtual byte address, 8 KB
pages size, and 32 bit physical byte address. Please explain how
you determined your answer.
a. What is the size of main memory for this system if all
addressable frames are used?
b. What is the total size of the page table for each process on
this processor, assuming that the
valid, protection, dirty, and use bits take a total of 4 bits and
that all the virtual pages are in
use? (Assume that disk addresses are not stored in the page
table).
a. What is the size of main memory for this system if all addressable frames are used?
Main memory size = 2^32 = 4GB
b. What is the total size of the page table for each process on this processor, assuming that the
valid, protection, dirty, and use bits take a total of 4 bits and that all the virtual pages are in
use? (Assume that disk addresses are not stored in the page
table).
8KB = 2^3 x 2^10 = 2^13
Total number of bits in virtual page number = 36 - 13 =
23
total size of the page table = 2^23 x 1/2 byte =>
2^22 = 4MB
Thanks, PLEASE COMMENT if there is any concern.
Consider a virtual memory system with the following properties: 36 bit virtual byte address, 8 KB...
Suppose you have a byte-addressable virtual address memory system with 8 virtual pages of 64 bytes each, and 4-page frames. Assuming the following page table, answer the questions below: Page #Frame #Valid Bit0111312-03014215-06-07-0a) How many bits are in a virtual address? b) How many bits are in a physical address? c) What physical address corresponds to the following virtual addresses (if the address causes a page fault, simply indicate this is the case)? 1) Ox00 2) 0x44 3) OxC2 4) 0x80
3. Virtual Memory (20 points) An ISA supports an 8 bit, byte-addressable virtual address space. The corresponding physical memory has only 256 bytes. Each page contains 32 bytes. A simple, one-level translation scheme is used and the page table resides in physical memory. The initial contents of the frames of physical memory are shown below. VALUE address size 8 bit byte addressable each byte of addressing type memory has its own address 32 B page size physical memory size 256...
A computer uses a byte-addressable virtual memory system with a four-entry TLB and a page table for a process P. Pages are 16 bytes in size. Main memory contains 8 frames and the page table contains 16 entries. a. How many bits are required for a virtual address? b. How many bits are required for a physical address?
Question 2 Suppose you have a byte-addressable virtual address memory with 8 virtual pages of 64 bytes each and 4 page frames. Assuming the following page table, Page = Frame Valid Bit 0 0 1 2 3 4 5 What physical address corresponds to the virtual address 0X44 a. OXC1 b.OXC2 COXC4 d. OXCO OXC3
A machine has a 16-bit byte-addressable virtual address space. The page size is 8 KB. How many pages of virtual address space exist? (25 points)
A certain byte-addressable computer system has 32-bit words, a virtual address space of 4GB, and a physical address space of 1GB. The page size for this system is 4 KB. Assume each entry in the page table is rounded up to 4 bytes. a) Compute the size of the page table in bytes. b) Assume this virtual memory system is implemented with a 4-way set associative TLB (Translation Lookaside Buffer) with a total of 256 address translations. Compute the size...
Exercise l: Suppose that we have a virtual memory space of 28 bytes for a given process and physical memory of 4 page frames. There is no cache. Suppose that pages are 32 bytes in length. 1) How many bits the virtual address contain? How many bits the physical address contain? bs Suppose now that some pages from the process have been brought into main memory as shown in the following figure: Virtual memory Physical memory Page table Frame #...
1) The following page table illustrates a system with 12-bit virtual and physical addresses and 256-byte pages. Free page frames are to be allocated in the order9 F, D. A dash for a page frame indicates that the page is not in memory. (4 points) Page Page-Frame 0x4 OxB 0 2 4 0x2 0x0 0xC 7 Convert the following virtual addresses to their equivalent physical addresses irn hexadecimal. All numbers are given in hexadecimal. In the case of a page...
Consider a virtual memory system with a 16-bit virtual address, a 10-bit physical address, and a 64-byte page size. The virtual address, 0x1235, is translated into a physical address using the page table below. VPN PPN Valid 44 02 1 45 05 1 46 08 0 47 --- 0 48 03 1 49 0A 1 4A --- 0 1. What is the hex VPN? (Enter as digits without 0x.) 2. What is the hex VPO? (Enter as digits without 0x.)...
A computer system has a 36-bit virtual address space with a page size of 8K, and 4 bytes per page table entry. How many pages are in the virtual address space? What is the maximum size of addressable physical memory in this system? If the average process size is 8GB, would you use a one-level, two-level, or three-level page table? Why? Compute the average size of a page table in part c above