In this video, we explore the concept of Variable Partitioning in operating systems. Variable partitioning is a dynamic memory management technique that allocates system memory to processes based on their exact requirements. Learn how this flexible approach overcomes the limitations of fixed partitioning and optimizes memory usage.
What You’ll Learn:
The fundamentals of memory management in operating systems
How variable partitioning dynamically allocates memory
The advantages and challenges of using variable partitioning
Comparison with fixed partitioning and its practical applications
Whether you're studying computer science, working in IT, or just interested in how operating systems manage resources, this video is for you. Make sure to like, share, and subscribe for more insightful content!
#VariablePartitioning #MemoryManagement #operatingsystems #DynamicMemoryAllocation
---------------------------------------------
#Chapter5
#MemoryManagement
#MemoryManagementTechnique
#VariablePartitioning
In it the size of partition is not defined it will be defined when the process arrives in the RAM.
Let’s say a process came P1 of size 2 MB, then it will take exactly 2 MB size in RAM and there is no scope of internal fragmentation.
There is no limitation on number of processes (degree of multiprogramming).
There is no limitation on process size.
There is a problem with this approach that suppose if P2 got completely executed or for any reason it go out from the RAM, then 4 MB (size of P2) will become empty in RAM and this is known as Hole
And another process P4 removed from the RAM and creates a hole of 4 MB.
Now total free space is 8 MB.
At that time another process P5 came which have size of 8 MB, we cannot place it anywhere because the free space present at different locations in RAM and in contiguous allocation we cannot break the process into multiple fragments. And this is known as external fragmentation.
So variable partitioning suffers with external fragmentation. We can remove it by using compaction.
Compaction means to place the free space one side and used space one side.
But this process has a problem, to implement compaction we have to first stop the running processes.
Another problem variable partitioning is that allocation and deallocation is complex.
#OperatingSystem #OS #asadnomanee #banglalecture #CSE
#Lecturelia #MBSTU #MBSTU_CSE
#lecturelia #banglatutorial #bangla