Professional Documents
Culture Documents
Demand
First fit
fetch
Anticipatory
Best fit
fetch
Worst fit
Fetch Strategy
It determines when to move the next piece of a
program or data to main memory from the secondary
memory.
Demand Fetch
In the conventional methods, the system places the next
piece of the code or data in main memory when a running
program references it.
That is, programs are loaded into the RAM area when they
are needed.
Anticipatory strategy
The program or data which is loaded on the basis of
prediction that it will be reference in the near future.
This will increase the performance but if the loaded
pages are not used, then there is an inefficient
memory utilization.
Replacement strategy
When memory is too full to accommodate a new
program, the system must remove some of program
or data currently resides in memory.
The system’s replacement strategy determines which
piece to remove for making room for incoming jobs.
ANSWER!
When the available memory contain no area large enough to hold the incoming programs in
one Contiguous space, but sufficient smaller pieces of memory are available, that in total are
large enough.
Overlay Area A
C
c
Boundary
User Area
register
a
b Note:
Unused Area Operating System prevents the user
c from accessing the addresses less
than a.
Partition 3
(in use)
Partition 3
Partition 3
Partition 3
Answer
Before such tools, programmer manually specified the partition into which
Their program had to be loaded, which potentially wasted memory and
Processor utilization and reduce application portability.
Answer
Larger partition allows large program to run, but result in internal
fragmentation For small programs. Small partition reduce the amount of
internal fragmentation And increase the level of multiprogramming by allowing
more programs to reside In memory at once, but limit program size.