page addressing
(a) The following are virtual 16 Considered bit-addresses, with the upper 8th Bit the number of the page and the lower one 8th Bit represent the offset.
The physical memory included in this example 256 Page frames ( frames ) to each 256 Bytes per page, ie physical addresses from 0x0000 to 0xFFFF, where frame 0 at 0x0000 starts.
Given the following page table for a process that 10 Pages (page numbers 0 - 9), some of which are currently not loaded in main memory (--):
| Page Number: | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8th | 99 |
|---|---|---|---|---|---|---|---|---|---|---|
| Border: | 120 | 121 | 122 | -- | 241 | 250 | -- | 224 | 218 | 219 |
For the following virtual addresses of the process, specify the appropriate physical addresses in hexadecimal format if the addresses are translatable:
| Virtual address: | 0x04F0 | 0x0056 | 0x0666 | 0x09FF | 0x7800 |
|---|---|---|---|---|---|
| Physical address: | ? | ? | ? | ? | ? |
For each non-translatable address, specify what type of exception occurs when the process attempts to read that address.
(b) The following is a page size of 1024 Bytes gone out. The virtual address space includes 256 Pages.
Which bit length has a virtual address (with byte-wise addressing)?
What is the size of the page table for each process (in bytes), if each entry is a size of 4 Byte has?
page addressing (a) The following are virtual 16 Considered bit-addresses, with the upper 8th Bit the...
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...
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...
Consider the page table shown below for a system with 16-bit virtual and physical addresses and with 4096-byte pages. All numbers below are given in hexadecimal. (A dash for a page frame indicates that the page is not in memory.) Page Number Physical Frame Number 0 - 1 2 2 C 3 A 4 - 5 4 6 3 7 - 8 B 9 0 Convert the following virtual addresses to their equivalent physical addresses in hexadecimal. a) 9EF5 b)...
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...
Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The LRll pagg-replacement algorithm is used. The numbers are given in decimal Page Frame eferepceit 14 10 13 15...
Consider the page table shown below for a system with 16-bit virtual and physical addresses and with 4096-byte pages. All numbers below are given in hexadecimal. (A dash for a page frame indicates that the page is not in memory.) Page Number Physical Frame Number 0 - 1 2 2 C 3 A 4 - 5 4 6 3 7 - 8 B 9 0 How many bits are in the offset part of the address? How many hex digits...
Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The LRll pagg-replacement algorithm is used. The numbers are given in decimal Page Frame eferepceit 14 10 13 15...
Question 1 Which of the following is true about virtual addresses? Virtual addresses for the same physical memory location may differ from process to process Virtual addresses are synonymous with physical addresses Virtual addresses always refer to locations on disk Virtual addresses for the same physical memory location may differ from thread to thread Question 2 How do pages and frames relate to each other? A page holds words while a frame holds pictures A frame is a larger structure...
For part A: convert the virtual address into page numbers and
offset, and then into hexadecimal numbers. Redraw the page table
showing which pages were referenced and in any needed to be loaded
into memory and what frame was selected. Assume frames 6,7,11,and
12 are available.
9.22 The page table shown in Figure 9.32 is for a system with 16-bit virtual and physical addresscs and with 4,096-byte pages. The reference bit is been referenced. Periodically, a thread zeroes out all...
1. Assume that your machine uses 16-bit virtual address and 14-bit physical address with 4KB page size. To get full credit, show your work. a. Show bits of the virtual address and physical address. b. What is the maximum program size that can be run in this machine? c. What is the maximum physical memory that this machine can have? d. Show the numbers of virtual pages and page frames. e. What is the table size if a page entry...