What are the advantages of using unequal- size partitions, Operating System

Assignment Help:

In fixed portioning scheme, what are the advantages of using unequal- size partitions?

With unequal-size partitions there are two probable ways to assign process to partitions. The simplest way is to assign every process to the smallest partition within which it will fit. In this case, scheduling queue is required for each partition, to hold swapped out process destined for that partition. The benefit of this approach is that processes are for all time assigned in such a way as to minimize wasted memory within a partition.

There are two difficulties with the utilize of equal-size fixed partition:

  • A program may be excessively long to fit the partition in such a circumstances the programmer have to design the program with the use of overlays thus that only a portion of program needed in the main memory at any one time. When a module is needed that isn't present, the program should load that module in to the programs partition, overlaying whether data or programs are there.
  • Main memory utilization is wasteful. There is wasted space internal to a partition because of the block of data loaded is smaller than partition called internal fragmentation.

Both of these problems are able to be lessened, by use of using un-equal partition. This teqnique is most favorable, for individual partition. The utilization of unequal-size partition provides a degree of flexibility to fixed partitioning.

 


Related Discussions:- What are the advantages of using unequal- size partitions

Producer-consumer using condition variables, Now let us present an implemen...

Now let us present an implementation of a producer-consumer system using condition variables. This implementation works. dequeue() lock(A) while (queue empty) { wait(A, C)

Can a direct access file be read sequentially, Can a direct access file be ...

Can a direct access file be read sequentially? Explain. Yes. Keep a counter, cp, initially set to 0. After reading record cp, increment cp.

Typical virtual memory layout, Using pages makes it easier to manage the wh...

Using pages makes it easier to manage the whole memory, avoiding excessive fragmentation and waste. As an analogy, think of Tetris, but with only square blocks: it is relatively ea

Define request edge and assignment edge, Define request edge and assignment...

Define request edge and assignment edge. Answer:  A directed edge from process Pi to resource type R j is denoted by Pi->j; it signifies that process Pi requested an instance

What problems arise if the directory is a general graph, What problems aris...

What problems arise if the directory structure is a general graph? Searching for a particular file may result in searching the similar directory many times. Deletion of the fil

What are the objectives and functions of operating system, What are the obj...

What are the objectives and functions of operating system? Functions of operating systems 1.      It allocates the resources and acts as a supervisor. 2.      It hides th

Quick, why we say " OS is a resource allocator" and “OS is a control progr...

why we say " OS is a resource allocator" and “OS is a control program"?

Describe the file system architecture-device driver, Device Drivers ...

Device Drivers Communicates straight with peripheral devices (disks, tapes, etc.). Responsible for begin physical I/O operations on the device. Pro

Explain about input - output system management, Q. Explain about Input - Ou...

Q. Explain about Input - Output System Management? I/O System Management The module which keeps track of the status of devices is known as I/O traffic controller. Every

Operating system.., What is the use of FIFOs in client-server applications

What is the use of FIFOs in client-server applications

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd