2,496 views
1 votes
1 votes
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 ?

2 Answers

2 votes
2 votes
0.3 * 8 + 0.7 * 20 = 2.4 + 14 = 16.4 ms.

(but page table in register??)
1 votes
1 votes
Question lyk.. If i ve to go from A to B,
1. Probability of Taking bus is 70% with cost 20 unit.
2. Probability of taking taxi is 30% with cost 8 unit.

Average cost is 70% times 20 + 30% time 8. = 0.70*20 + 0.30*8 = 14 + 2.4 = 16.4 ms

Related questions

2 votes
2 votes
0 answers
3
gatejr asked Jun 10, 2016
757 views
Consider, 2 level paging , with Process P, Inner page table PTi, and outer page table PTo.Now we know that P and PTi are divided in various pages but PTo is in 1 page on...
1 votes
1 votes
1 answer
4
kirti singh asked Nov 5, 2015
475 views
If a page fault occurs on an average every 1000 instructions and average instruction time is 100ns without page fault and 100ms with page fault. what is average instructi...