Why on a system with paging a process Cannot access memory that it does not own?
which clearly depends heavily on p! Even if only one access in 1000 causes a page fault, the effective access time drops from 200 nanoseconds to 8.2 microseconds, a slowdown of a factor of 40 times. In order to keep the slowdown less than 10%, the page fault rate must be less than 0.0000025, or one in 399,990 accesses. Show
Because every address a process uses is translated by its page table, so it can't "utter" address in another process. The operating system could allow it access by: 1. Setting up entries for the physical pages use by other processes in its page table 2. Providing a system call for reading/writing from other processes This is probably a good idea - it allows cooperating processes to communicate very quickly and cheaply.
4. 9.14 Explain why it is easier to share a reentrant module using segmentation than it is to do so when pure paging is used 5. 9.17 Consider the Intel address-translation scheme shown in figure 9.21 � Describe all the steps taken to translate a virtual address to a physical address � What are the advantages to the OS of hardware that provides such complex memory-translation hardware? The advantage is that the OS can provide protection both through segmentation and paging - it doesn't have to choose just one. � Are there any disadvantages? If so, what? If not, why doesn't everybody do it?
|