memory management using buddy sustemhere we are


MEMORY MANAGEMENT USING BUDDY SUSTEM

Here we are dividing the memory as powers of two as well as we are selecting the space which is smallest but large enough to hold a process.

Assume we have 1M memory if a process 70k enters we are able to choose the 128k, which will be the best fit for the process thus divide the 1M into 512k each after that a further division of 256k each in one 512k after that one of the 256 is divided into further 128keach and place the process in that. Similar to that if another process enters the division and placing will continue.

Subsequent to this all the free spaces will join together.

After the two adjacent processes having similar space completed they will combine together and at last when all the processes are over the 1M memory will get back.

 

Request for Solution File

Ask an Expert for Answer!!
Operating System: memory management using buddy sustemhere we are
Reference No:- TGS0308014

Expected delivery within 24 Hours