Written Assignment 1 Chapter 3

Written Assignment 1 Chapter 3 - 6 MRU a d b a f b e c g f...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
3 - One way to detect thrashing is by checking the cpu for unusual amount of resources being used compared to normal use. The best way to prevent it is to use page replacement policy. 5 - FIFO a d b a f b e c g f b g Page 1 a a a a f* f f f g* g g g Page 2 d* d d d d e* e e f* f f Page 3 b* b b b b c* c c b* b The ratio of success to faults was 12/8 or 3/2 LRU a d b a f b e c g f b g Page 1 a a a a a a a a a a a a Page 2 d* d d d d d d d d d d Page 3 b* b f* b* e* c* g* f* b* g* The ratio of success to faults was 12/10 or 6/5 In this scenario FIFO worked more efficiently, I don’t think a definite general statement can be made. I think it depends on the program that determines which page replacement scheme will work the best.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 6 MRU a d b a f b e c g f b g Page 1 a a a a f* f f f g* g g g Page 2 d* d d d d e* e e f* f f Page 3 b* b b b b c* c c b* b The ratio of success to faults is 3/2 Almost like fifo it take away the page that has been occupied the longest. I don’t think it has much of an advantage as the others schemes. 13 a - page frame 2. b - page frame 0. c - page frame 3. d - page frame 0....
View Full Document

This note was uploaded on 01/16/2012 for the course COS COS-352 taught by Professor Tabor during the Spring '11 term at Thomas Edison State.

Ask a homework question - tutors are online