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

What is the use of inter process communication, What is the use of inter pr...

What is the use of inter process communication. Inter process communication gives a mechanism to allow the co-operating process to communicate with each other and synchronies t

Define most common phase structured grammar, Which is most common phase str...

Which is most common phase structured grammar? Most common phase structured grammar is Context – Sensitive

Explain resource allocation graph, RESOURCE ALLOCATION GRAPH When a pro...

RESOURCE ALLOCATION GRAPH When a process Pi wishes an instance of resource type Rj, a request edge is inserted in the resource allocation graph. When this request is able to be

Parent process: why not finishing and how to make finish, #include #inclu...

#include #include #include #include #include int main(void) { int pchan[2], pid, rval, cvar; char buf[20]; if (pipe(pchan) == -1){

What is the main difficulty real-time environment, What is the main difficu...

What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment? The main difficulty is keeping the operating system with

Quantum settings denoted by q, Determining the time quantum for a job is a ...

Determining the time quantum for a job is a critical task. Given the assumptions that the average switching time between processes is s, and the average amount of time an I/O bo

What is the sequence of a page fault causes to occur, A page fault causes t...

A page fault causes the following sequence to occur. 1. Trap (shut in) to the operating system. 2. Save the process registers and process state. 3. Verify that the interr

What is the lower bound on the numeral of page faults, Q. Presume that you...

Q. Presume that you have a page-reference string for a process with m frames (initially all empty). The page-reference string has length p along with n distinct page numbers

Define pure and impure interpreters, Pure and impure interpreters      ...

Pure and impure interpreters      In a pure interpreter, the source program is maintained in the source form throughout its interpretation. This arrangement acquires substantia

Evicting pages from physical memory, When do we write a page from physical ...

When do we write a page from physical memory back to the disk? In general, caches have two broad types of writing policies. One approach is a write-through cache. In this case,

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