Preview

windows and linux memory management comparison

Good Essays
Open Document
Open Document
706 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
windows and linux memory management comparison
Windows and Linux Memory Management Comparison

Introduction Memory management is a critical piece of both Windows and Linux computer architecture that enables the computer to allocate the physical memory available between multiple processes. Windows and Linux memory management structures and algorithms have much in common, such as facilitating expansion of memory address space beyond the limits of physical memory through the use of virtual memory addressing that is coordinated with the available and used physical memory space. However, Windows and Linux memory management differs in many regards such as data structure format, how process address space is distributed, how paging is managed, the memory address structure, and the algorithm used for page swapping or replacement.
Data Structures The term “data structure” refers to how the operating system organizes memory space so that the computer can “catalog” or “database” information in memory in a way that facilitates quick, efficient access to data stored in memory when required. Windows operating system uses a tree structure for formatting data, similar to a B-Tree database, which is hierarchical in nature, (Garg, 2004). In contrast, Linux data structures are organized differently, relying instead upon a linked list format of VM structs that each manage a particular address range, mapping, data protection mode, whether pinned or pageable. In addition, once there are a certain number of entries, the VM structs convert into a tree structure, (Rusling, 1999). The Windows tree structure however is very efficient, with each node or VAD (Virtual Address Descriptor) responsible for a range of addresses with their own protection parameters and commit states. The tree depth is intentionally limited to keep search times relatively low. In general, both structures work well with no significant advantages in one over the other, (Garg, 2004).
Memory Address Space Distribution



References: Garg, (2004), Windows Memory Management, Retrieved on 7 September 2014 from http://www.intellectualheaven.com/Articles/WinMM.pdf Rusling, (1999), Memory Management, Retrieved on 7 September 2014 from http://www.tldp.org/LDP/tlk/mm/memory.html

You May Also Find These Documents Helpful

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

    Pos355 Project

    • 870 Words
    • 4 Pages

    Presentation for Memory Management (Linux, MAC, Windows) Presentation for Process Management (Linux, MAC, Windows) Presentation for File Management (Linux, MAC, Windows) Presentation for Security Management (Linux, MAC, Windows Team D review WK 4 Assignment. Team D submit Rough Draft of Final Power Point Presentation. Proceed? Finalize Linux, Mac, Windows Presentation Finalize Linux, MAC, Windows Paper Team D…

    • 870 Words
    • 4 Pages
    Satisfactory 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

    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

    Comp 220

    • 1463 Words
    • 6 Pages

    Pointers also have the requirement that the pointer type must be of the same data type as the variable, or the data that it points to or holds the address of. The power of pointers also hints at the potential complexity of their use, which is why this lab is focused almost entirely on several different aspects and uses of pointers. The lab also introduces pointer arrays and pointers to pointers.…

    • 1463 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    With multiple processors executing the same or different parts of the kernel, kernel tables and management structures must be managed properly to avoid data corruption or invalid operations.…

    • 1341 Words
    • 6 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

    Guide to Unix Chapter 2

    • 999 Words
    • 4 Pages

    9. In UNIX and Linux systems, what source of extra memory space is used when…

    • 999 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Week 5 Pos 355

    • 2010 Words
    • 9 Pages

    Memory management is an important part of an operating. The UNIX/Linux OS use numerous intricate algorithms for memory management which will permit the system to…

    • 2010 Words
    • 9 Pages
    Better Essays
  • Satisfactory Essays

    Assignment 1,Section I

    • 326 Words
    • 2 Pages

    Several methods have been devised that increase the effectiveness of memory management. Virtual memory systems separate the memory addresses used by a process from actual physical addresses, allowing separation of processes and increasing the effectively available amount of RAM using paging or swapping to secondary storage. The quality of the virtual memory manager can have an extensive effect on overall system performanc…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A disadvantage to the Multi-Store Model of Memory is that it may be over simplifying the memory processes. This model of memory doesn’t take into consideration that there are different kinds of…

    • 451 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
  • Better Essays

    Windows vs Linux

    • 2206 Words
    • 9 Pages

    I am very thankful to god who gave me this position to do this type of project. I am thankful to my respected Sir Mr. RAJ SINGH who guided me to do as well as I can do in this term paper. My topic is “WINDOWS VS LINUX” and it is very interesting topic for me. With the help of Mr. RAJ SINGH, I had gained a lot of knowledge from this topic. Beside this my friends also helped me a lot in this topic.…

    • 2206 Words
    • 9 Pages
    Better Essays
  • Powerful Essays

    Ms Windows vs. Unix/Linux

    • 3684 Words
    • 15 Pages

    The Microsoft and Linux operating systems have been long considered to be in a competition to be the best operating systems on the market. This paper will compare and contrast these operating systems to help the consumer decide which is right for his or her environment. Such subjects as; cost, market share, hardware requirements, file processing, programming capabilities, availability if application software, networking, and user interface will be examined.…

    • 3684 Words
    • 15 Pages
    Powerful Essays

Related Topics