Preview

Memory Management Paper

Satisfactory Essays
Open Document
Open Document
434 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Memory Management Paper
Memory Management PaperPOS/355 - INTRODUCTION TO OPERATING SYSTEMS
Week 1: Memory Management Paper

Differences in memory management between Windows® and Linux®.
Before I discuss the differences in memory management between Windows & Linux lets understand what memory management really is; Memory management is the function of a computer operating system responsible for managing the computer's primary memory. The management function keeps track of the status of each memory location if it’s allocated or free. It determines how memory is used among competing processes, deciding who gets memory, when they receive it, and how much they are allowed. When memory is allocated it determines which memory locations will be assigned. Then it tracks when memory is freed up or unallocated and updates the status accordingly.
In Windows OS the memory manager implements virtual memory provides a core set of services such as memory mapped files, copy-on-write memory, large memory support, and underlying support for the cache manager. According to Microsoft each process on 32-bit Microsoft Windows has its own virtual address space that enables addressing up to 4 gigabytes of memory. Each process on 64-bit Windows has a virtual address space of 8 terabytes. All threads of a process can access its virtual address space. However, threads cannot access memory that belongs to another process, which protects a process from being corrupted by another process.
Virtual Memory management: Windows
32-bit versions split user mode/kernel mode from 2GB/2GB to 3GB/1GB
Demand-paged virtual memory * 32 or 64 bits * Copy-on-write * Shared memory * Memory mapped files
Physical memory management: Windows
Per-process working sets
Working set tuner adjust sets according to memory needs using the clock algorithm.

Now in Linux OS the memory manager implements demand paging with a copy-on-write strategy relying on the 386's paging support. A process acquires its page tables

You May Also Find These Documents Helpful

  • Good Essays

    Nt1330 Unit 4 Case Study

    • 359 Words
    • 2 Pages

    that is to keep the slowdown due to paging to a reasonable level, we can allow only less than one memory access out 2,500,000 to page fault. in a demand paging system keep the page…

    • 359 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Some OS routines directly support application programs as they run and thus must be resident. Other transient routines are stored on disk and read into memory only when needed. Fixed-length partitions can also be used to allocate the set amount of memory that a particular program needs to run. Under dynamic memory management, the transient area is treated as a pool of unstructured free space. When the system decides to load a particular program, a region of memory just sufficient to hold the program is allocated from the pool. Using segmentation, programs are divided into independently addressed segments and stored in noncontiguous memory. Paging breaks a program into fixed-length pages.…

    • 7085 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. Why is virtual memory addresses used for applications? – So it can have its own address space on the memory.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Exam 11A

    • 1635 Words
    • 16 Pages

    Page files are used when the CPU runs out of physical memory. The disadvantage of this is that ________…

    • 1635 Words
    • 16 Pages
    Good Essays
  • Satisfactory Essays

    1. Your OS will use the hard drive as a "swap file" 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 slower than RAM. You must have enough memory, adding more does not help if you are not doing anything that needs more memory. Today, a modern PC and a modern OS need about 4 gigs to achieve this for most standard users. You want enough RAM so the OS doesn't start using the hard drive as memory.…

    • 268 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    There are several items that are pertinent to memory management such as, basic hardware, the binding of symbolic memory addresses to definite physical addresses and the difference between logical and physical addresses. The most important task that memory management executes is the distribution and collection of memory…

    • 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
  • Powerful Essays

    EXPLICIT MEMORY: Memory of facts and experiences that one can consciously know and “declare.” (Also called declarative memory.)…

    • 1113 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    From the years 1781 to 1789, the United States of America were governed under a document known as the Articles of Confederation. Prior to the ratification of today’s United States Constitution, this paper was the layout for the federal government that united the separate thirteen colonies in their movement for independence from Britain. It was put to the test as an effective form of command by a number of problems and events that arose shortly after America gained independence from its mother country. The signing of the Treaty of Paris granted the state’s new land and a new position in the world as a nation. Various ordinances came about in the mid 1780’s to address westward expansion. The Articles of Confederation were most successful in dealing with westward expansion due to the effectiveness of the Ordinances that were drafted under it and the benefits it brought. However the Articles of Confederation were substantially less ideal in managing America’s foreign relations. Therefore, rather than fixing the existing Articles, a new constitution was required. The Convention would draft an entirely new frame of government, at last it was “drafted in secret by delegates to the Constitutional…

    • 1559 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Memory Dependencies

    • 529 Words
    • 3 Pages

    Ans: The use of store sets is based on two facts : The first is that the behavior of memory-order violations is a good predictor of future memory dependencies. The second is that it is important to predict dependencies of loads where one load is dependent on multiple stores or multiple loads depend on the same store. The store sets allow a load to be dependent on multiple stores. The store set consists of two tables : The first is a PC indexed table called the Store Set Identifier Table (SSIT) that maintains the store sets using a common tag for each load and the stores in its store set. The second is called the Last Fetched Store Table (LFST) and maintains dynamic information about the most recently fetched store for each store set. The information in this table is…

    • 529 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Hunger Of Memory Analysis

    • 1430 Words
    • 6 Pages

    In his autobiography, Hunger of Memory, Richard Rodriguez discusses his early life as the son of Mexican immigrant parents and the beginning of his schooling in Sacramento, California. Knowing only a finite number of English words, the American life is an entirely new atmosphere for Rodriguez and his family. Throughout his book, Rodriguez undergoes a series of changes and revelations that not only hurts him but enhances him. It’s the journey of a young man who experiences alienation that changes his way of life before assimilating into the world of education. Rodriguez was submitted into a first-rate Catholic school in the white suburbs of Sacramento,…

    • 1430 Words
    • 6 Pages
    Better Essays
  • Better Essays

    Kabira

    • 5234 Words
    • 21 Pages

    In addition to providing a rich set of services, the Kabira Infrastructure Switch has relatively…

    • 5234 Words
    • 21 Pages
    Better Essays
  • Satisfactory Essays

    Vmware

    • 662 Words
    • 3 Pages

    Allocating Compute Resources to Business Functions © 2011 VMware Inc. All rights reserved CPU Management Supports Server Consolidation A virtual machine can have up to 32 virtual CPUs (vCPUs). When a vCPU must be scheduled, the VMkernel maps a vCPU to a hardware execution context (HEC).…

    • 662 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Consistency Model

    • 6736 Words
    • 27 Pages

    Traditionally, memory consistency models were of interest only to computer architects designing parallel machines. The goal was to present a model as close as…

    • 6736 Words
    • 27 Pages
    Powerful Essays

Related Topics