Unit III Two Marks
Unit III Two Marks
What are the physical addresses for the logical addresses 3400 and 0110? AU
CSE/IT: May-19
Ans. :
Logical address 3,400 :
Segment = 3, offset = 400, length = 580
Physical address = offset + base = 400 + 1327
Physical address = 1727
Logical address 0, 110:
Segment = 0, offset = 110, length = 600
Physical address = offset + base = 110 + 219
Physical addrres = 329
Q.60 What is thrashing and how to resolve this problem? AU CSE/IT: May-19
Ans. 'Thrashing'
It is a situation in which a process is spending more time paging than executing.
Ans. To limit the effect of thrashing we can use local replacement algorithm. With
local replacement algorithm, if the process starts thrashing, it cannot steal frames
from another process and cause the latter to thrash as well. The problem is not
entirely solved.