Preview

Memory Allocation

Good Essays
Open Document
Open Document
1333 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Memory Allocation
Memory Allocation

Now we will discuss about the various memory allocation schemes.

Single Partition Allocation

In this scheme Operating system is residing in low memory and user processes are executing in higher memory.

Advantages * It is simple. * It is easy to understand and use.
Disadvantages
* It leads to poor utilization of processor and memory. * Users job is limited to the size of available memory.

Multiple-partition Allocation

One of the simplest methods for allocating memory is to divide memory into several fixed sized partitions. There are two variations of this. * Fixed Equal-size Partitions
It divides the main memory into equal number of fixed sized partitions, operating system occupies some fixed portion and remaining portion of main memory is available for user processes.

Advantages * Any process whose size is less than or equal to the partition size can be loaded into any available partition. * It supports multiprogramming.

Disadvantages * If a program is too big to fit into a partition use overlay technique. * Memory use is inefficient, i.e., block of data loaded into memory may be smaller than the partition. It is known as internal fragmentation. * Fixed Variable Size Partitions

By using fixed variable size partitions we can overcome the disadvantages present in fixed equal size partitioning. This is

shown in the figure below:

With unequal-size partitions, there are two ways to assign processes to partitions. * Use multiple queues:- For each and every process one queue is present, as shown in the figure below. Assign each process to the smallest partition within which it will fit, by using the scheduling queues, i.e., when a new process is to arrive it will put in the queue it is able to fit without wasting the memory space, irrespective of other blocks queues.

Advantages * Minimize wastage of memory.

Disadvantages * This scheme

You May Also Find These Documents Helpful

  • Good Essays

    The operating system occupies low memory, starting with memory address 0. Directly afterwards is system control information, then the various resident operating system…

    • 7085 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    Your OS will use the hard drive as a “back-up” or virtual memory if your PC runs out of RAM while you are working away. Using your hard drive as memory causes a serious performance hit, as hard drives are way, way slower than RAM. So, the trick is having enough memory, adding more does not help if you are doing nothing that needs more memory. Today, with a modern PC and a modern OS, you need about 4GB to achieve this for most standard users. If you do graphic work or work with a lot of applications at once, then more memory than even 4GB may be better. The trick is you want enough main memory (RAM) so the OS doesn't start using the hard drive as memory. Also, to address more than 4GB of RAM, you must have a 64 bit OS installed. If you are only using a 32 bit OS, it will only be able to use about 3.5GB of memory. So installing more is pointless, it…

    • 356 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    The myocardium, commonly referred to as the heart, acts as a pump for transporting blood around the body via a collective system, known as the cardiovascular system. This system has various components; blood vessels; mainly arteries, veins and capillaries. The cardiovascular system has four main functions within the body. Firstly to transport dissolved oxygen, hormones, nutrients, salts, enzymes and urea to cells located around various places within the body, whilst at the same time eliminating any waste products such as carbon dioxide and water. Secondly, to protect the body from infection and blood loss. Thirdly, to distribute heat around the body to enable a healthy temperature of 37oc and finally to aid the body to maintain fluid balance. This ‘human pump’ can be regarded as two pumps. The fist sized organ contains two muscular chambers; the upper chamber; the atrium and the lower; the ventricle. The right side of the heart pumps deoxygenated blood from the veins to the lungs for oxygenation, whilst the left side pumps oxygenated blood from the lungs to the body. It is important to note that the two sides are separated by a septum. The blood flows through the heart twice within one cycle, this is known as ‘double circulation’.…

    • 1354 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    The monolithic model differs from other operating system architectures such the microkernel architecture in that it alone defines a high-level virtual interface over computer hardware. A set of primitives or system calls implement all operating system services such as process management, concurrency, and memory management. Device drivers can be added to the kernel as modules.…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    While in the hardware, memory management includes elements that store data such as random access memory chips, and memory caches. In the operating system, memory management involves the distribution of precise memory blocks to programs as the user requests adjustments. While at the application and program level, memory management ensures the availability of sufficient memory for the objects and data structures at all times for each program that is running.…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    BTEC ICT Unit 2 P1

    • 944 Words
    • 4 Pages

    There are two types of memory which we need and use on our computers one of them is RAM and the other one is cache.…

    • 944 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Random-access-memory (RAM) is a very important specification of the computer. By ensuring you have enough RAM, the faster your system processes, you can store more data, and allow more programs to run at the same time. As the OS allows the different task to complete for the processor, the RAM is used as temp storage, when the processor no longer needs them the OS clears it. Virtual memory is the hard drive space borrowed to use if there isn’t enough…

    • 580 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Revision Gcse Ict

    • 1310 Words
    • 6 Pages

    * Memory: RAM (random access memory), the higher the RAM the more programs you can access and open at once.…

    • 1310 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Memory management is an important characteristic of an operating system. Main memory is divided into two parts one for resident programs, and the other for the program currently in use. The user part must be subdivided to accommodate multiple processes (Stallings, 2012). When a few processes are in the memory then much of the time all of the processes will have to wait for input /output and the processor will be idle. According to Stallings (2012),. The requirements that memory management is supposed to satisfy are Relocation, Protection, Sharing, Logical organization, and Physical…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    11. An OS’s capability to run more than one application or process at the same time is referred to which of the…

    • 2490 Words
    • 10 Pages
    Good Essays
  • Good Essays

    The Colonies by 1763

    • 294 Words
    • 2 Pages

    Between the settlement at Jamestown in 1607 and the Treaty of Paris in 1763, the most important change that occurred in the colonies was the extension of British ideals far beyond the practice in England itself. The thirteen colonies throughout time all established themselves and soon developed their own identities. Colonies in different areas were known for different things and no one colony was like the other. These people began to see them selves as Carolinians or Georgians, Quakers or new Englanders. Most of these colonist's no longer saw themselves as being citizens of the mother country, but rather as citizens of their colonies. This is when the colonies began to receive their own identities and eventually start to become more and more Americanized. Changes in Religion, economics, Politics, and social structures illustrate this Americanization of the transplanted Europeans.…

    • 294 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    It250 Exam Review

    • 856 Words
    • 4 Pages

    5. (Page 34)Where are programs and data temporarily stored when there is not enough RAM to hold all the information it is processing? Swap file…

    • 856 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Red Hat Linux Chapter 3

    • 418 Words
    • 2 Pages

    A graphical disk partitioning program that can add delete and modify partitions on a hard disk. It’s a part of the installation system and it cannot be run on it’s own.…

    • 418 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    A group of one or more memory slots. You must fill an entire bank when installing RAM.…

    • 386 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    For any operating system to function properly, one of the vital tasks it must be able to do is manage memory. When a program runs on a computer, it first must be loaded into memory before it can execute. There are five different requirements memory management must satisfy in order to execute the program so it runs without errors or corruption. These requirements are relocation, protection, sharing, logical organization, and physical organization.…

    • 730 Words
    • 3 Pages
    Good Essays

Related Topics