Question: Can u please help me with this question a. Assume that there is a computer with page size 32 bytes (for both virtual and physical
Can u please help me with this question

a. Assume that there is a computer with page size 32 bytes (for both virtual and physical page frames), 512 bytes of virtual address space and 512 bytes of RAM. Suppose that there are three processes, process A, B and C. Their page tables are as follows. Process A Process C Process B VPN VPN Present 1 Phy PFN 2 Present 1 0 0 0 1 3 1 0 1 2 6 13 0 1 14 1 14 5 1 1 15 8 15 7 1 i. Calculate: the number of pages in each AS, how many bits a virtual address has, and ff these, how many specify a virtual page number, and how many an offset? VPN 0 1 13 14 15 Phy PFN 0 - 14 12 16 Present 1 1 1 1 1 Phy PFN 4 - ii. For each of the following instructions explain whether it will result in a memory location being read and its value placed in a register (if so, give the physical address that will be read), result in a page fault or result in an invalid memory access exception: o (process A) movl 45, %eax o (process B) movl 150, %eax o (process C) movl 15, %eax o (process C) movl 500, %eax b. Suppose an IP datagram with 3600 bytes of data (not counting the IP header) is sent across two networks of the Internet (i.e., from source host to a router to the destination host). The first network has an MTU of 1800 bytes; the second has an MTU of 1200 bytes. Here, a network's MTU gives the size of the largest IP datagram that can be carried in a link-layer frame. Give the sizes, offsets and the "M" bit values of the sequence of fragments delivered to the network layer at the destination host. Assume all IP headers are 20 bytes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
