Computer Science, asked by Mihir9617, 1 year ago

Advantage and disadvantages of single contiguous memory allocation

Answers

Answered by devanshyadav692
5

Advantages :

Allocating memory is easy and cheap

Any free page is ok, OS can take first one out of list it keeps

Eliminates external fragmentation

Data (page frames) can be scattered all over PM

Pages are mapped appropriately anyway

Allows demand paging and prepaging

More efficient swapping

No need for considerations about fragmentation

Just swap out page least likely to be used

Disadvantages :

Longer memory access times (page table lookup)

Can be improved using TLB

Guarded page tables

Inverted page tables

Memory requirements (one entry per VM page)

Improve using Multilevel page tables and variable page sizes (super-pages)

Guarded page tables

Page Table Length Register (PTLR) to limit virtual memory size

Internal fragmentation

Answered by StaceeLichtenstein
4

Advantage and disadvantages of single contiguous memory allocation  is given below

Explanation:

Advantage:

  • In the single continuous the overall free space is allocated in a  single location.
  • In both the computer system and the user are placed in the primary memory.

Disadvantage

  • Internal fragmentation occurs in the contiguous memory allocation.
  • Memory wastage takes place in the contiguous memory allocation.

Learn More:

  • https://brainly.in/question/2875785
Similar questions