You are on page 1of 9

Memory Management

Questions
 What are the functions of memory management?
 Discuss the process how Single User Contiguous
Scheme allocate memory to a job?
 Why is Single User Contiguous Scheme is
considered inefficient?
 Why are Single User Contiguous Scheme is
considered inefficient?
 What are the advantages of Fixed Partitioning
Scheme?

2
Questions
 What are the weaknesses of the Fixed
Partitioning Scheme?
 Differentiate Fixed Partitioning Scheme and
Dynamic Partitioning?
 Create a flow chart to showing
 Dynamic Scheme using First Fit Algorithm
 Dynamic Scheme using Best Fit Algorithm

3
 What are the functions memory
management?

 Moves processes back and forth between main memory


and disk during execution.
 Keeps track of each and every memory location.
 Checks how memory is to be allocated to processes
 Schedule what process will get memory and at what
time.
 Track memory status
 Allocated
 Un-allocated
 Map logical addresses to physical addresses at the time of
memory allocation .
4
 Discuss the process how Single User Contiguous
Scheme allocate memory to a job?

 Evaluate the incoming job to see if it fits the memory


space.
 If it fits, job is loaded (entirety), into memory and is
allocated as much contiguous space in memory as it
needs. Otherwise, reject and evaluate the next process.
 Monitor the occupied memory space.
 When the resident job ends its execution and no longer
needs to be in memory, indicate that the entire amount
of main memory space is now available and return to
Step 1 (evaluate the next incoming job).

5
 Why is Single User Contiguous Scheme is
considered inefficient?
 It can only process one job at a time.
 A single job will reserve the entire memory space
 If job is too large in contrast to the available memory, it
will not be executed
 Slow jobs on the demand.

Performance wise it is inefficient.

6
 What are the advantages of the Fixed
Partitioning Scheme?

 It Allows to allocated partition to contain more than one


job at one time.
 Partition memory table to keep track of partition usage.

7
 What are the weaknesses of the Fixed
Partitioning Scheme?

 Static partition causing jobs not assigned or with larger


size in contrast to the partition may wait longer.
 Creation of unused spaced because of fixed partition.

8
 Differentiate Fixed Partitioning Scheme
and Dynamic Partitioning?

Fixed Partitioning Scheme Dynamic Partitioning Scheme


 Has fixed partition  Has dynamic partition/
partition not declared
 Cause internal
initially.
fragment/s
 No internal fragment
 Process size is restricted.
 Process size not
restricted.
 May cause unused space
 No unused space

You might also like