In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced page is modified. What is the average access time to service a page fault assuming that the page to be replaced is modified 70% of the time ?
16.4 m.sec.
The average page-fault service time is the weighted mean of the two cases, weighted by how often each case occurs.
Dirty victim page (must be written back): probability 0.7, time 20 ms. Clean victim or free frame: probability \(1 - 0.7 = 0.3\), time 8 ms.
Average time \(= 0.3 \times 8 + 0.7 \times 20 = 2.4 + 14 = 16.4\) ms.
Hence, the answer is 16.4 m.sec..
A part of Windows 2000 operating system that is not portable is
Which of the following is incorrect for virtual memory ?
A virtual memory has a page size of 1K words. There are eight pages and four blocks. The associative memory page table contains the following entries :
| Page | Block |
| 0 | 3 |
| 2 | 1 |
| 5 | 2 |
| 7 | 0 |
Which of the following list of virtual addresses (in decimal) will not cause any page fault if referenced by the CPU ?
Suppose that the number of instructions executed between page fault is directly proportional to the number of page frames allocated to a program. If the available memory is doubled, the mean interval between page faults is also doubled. Further, consider that a normal instruction takes one microsecond, but if a page fault occurs, it takes 2001 microseconds. If a program takes 60 sec to run, during which time it gets 15,000 page faults, how long would it take to run if twice as much memory were available ?
Given below are the two statements:
Statement I : The main objective for using virtual memory is to increase the effective capacity of the memory system
Statement II : The size of virtual memory can be larger than the main memory
In the light of the above statements, choose the correct answer from the options given below
If the virtual memory size is 32 MB and a physical memory size is 4MB with a page size of 2KB, Calculate the number of frames available in physical memory
Consider the system of ordinary differential equations
$\frac{dx}{dt} = Mx$,
where $M$ is a $6 \times 6$ skew-symmetric matrix with entries in $\mathbb{R}$. Then, for this system, the origin is a stable critical point for
If two non-continuous free partition of size ‘a’ and ‘b’ are available. A process of size ‘c’ cannot be allocated even when a + b > c, a < c and b < c. This problem is known as _______.
In a byte-addressable architecture, what determines the theoretical maximum size of the virtual address space?
A part of Windows 2000 operating system that is not portable is