Preview

Differences memory Windows Vs Linux

Good Essays
Open Document
Open Document
647 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Differences memory Windows Vs Linux
Differences in memory management between Windows® and Linux®
POS/355

Differences in memory management between Windows® and Linux®
Windows and Linux are two of the most commonly used operating systems to date. Windows is used more by beginners and everyday computer users, while Linux is used more by advanced users and is dubbed the hackers operating system. Both the operating systems have their advantages and their disadvantages. This paper will be differentiate the two in the operating systems memory management aspect.
Windows manages their virtual memory in a tree data structure. Each node in the tree is called a virtual address descriptors (VAD). Virtual memory descriptors mark each node on the tree as free, reserved, or committed virtual memory. A process beings with all addresses free which means they can be committed to memory or be reserved for future use. Before any free address can be used it has to first be allocated as reserved or committed.
Linux uses a linked list data structure which is stored in the vm_area_struct structure and defined in . The link list data begins search whenever a page is found and records the range of address, protection mode, and the direction in which it grows. If the number of entries becomes greater than 32, Linux will convert the linked list into a tree data structure depending on the current situation.
Both Windows and Linux’s memory management systems distribute the process virtual address space in a similar manner. By using paging, Windows on 32bit systems will have access up to a 4GB of standalone logical address space and physical memory. The upper part of the address space is allocated with 2GB of memory for windows kernel-mode, while the lower part is also allocated with 2GB of memory for user-mode. While Linux can also access 4GB of physical memory the difference is the upper part is allocated with 1GB of memory for kernel-mode, while the lower part is allocated with 1GB for user-mode.
An



References: Felixbytow. (2012, July 08). FAQ/LinkedLists. Retrieved from KernelNewbies: http://kernelnewbies.org/FAQ/LinkedLists Kath, R. (1993, January 20). Managing Virtual Memory. Retrieved from Microsoft: http://msdn.microsoft.com/en-us/library/ms810627.aspx Rparrett. (2012, 08 22). About Memory Management. Retrieved from Windows: http://msdn.microsoft.com/en- us/library/windows/desktop/aa366525%28v=vs.85%29.aspx Rusling, D. A. (1996-1999). Memory Management. Retrieved from TLDP: http://www.tldp.org/LDP/tlk/mm/memory.html

You May Also Find These Documents Helpful

  • 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

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

    The Operating System (OS) is a complex program designed to provide functionality and boundaries for programs that will perform tasks. Their job is to do many things from schedule, to protection to allocation. Overall the OS is a form of general manager that enhances the productivity of the programs meant to run in it. Although not all computers need an operating system, complex computers will need some form of memory management agent. Handling memory is a key part of this process and thus a very important part of the overall goal of whatever program runs on it.…

    • 900 Words
    • 3 Pages
    Better Essays
  • Good Essays

    The operating systems job is managing the memory. The operating system is in charge of bringing this process into main memory (Stallings, 2012). However the processor must deal with references within the program. Branch instructions include an address to reference the order to be executed next. Data reference instructions include the address of the byte or word of data referenced. The processor hardware and operating system software must be able to translate the memory references found in the code of the program into actual physical memory addresses, reflecting the current location of the program in main memory. (Stallings, 2012).…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    This involves providing ways to allocate portions of memory to programs at their request, and freeing it for reuse when no longer needed. The management of main memory is critical to the computer system. 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 a big impact on overall system performance.…

    • 1111 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Linux vs Windows

    • 4785 Words
    • 20 Pages

    References: Burgess M., (2001). A comparison of Linux and Windows, Edition 2.2. Retrieved on December 20, 2005 from: http://www.michaelhorowitz.com/Linux.vs.Windows.html…

    • 4785 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    Dynamic Memory Allocation

    • 425 Words
    • 2 Pages

    The program uses its allocated memory only when it is active. In its inactive state, the program will use much less memory, hence allowing other programs to take up the unused memory. You can even de allocate memory so as to free up memory for other programs, but we need to do this manually.…

    • 425 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    2. Memory Management: - The memory management module of an Operating System takes care of the allocation & reallocation of memory space to…

    • 959 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Virtual Memory

    • 732 Words
    • 3 Pages

    In a system using virtual memory, the physical memory is divided into equally-sized pages. The memory addressed by a process is also divided into logical pages of the same size. When a process references a memory address, the memory manager fetches from disk the page that includes the referenced address, and places it in a vacant physical page in the RAM. Subsequent references within that logical page are routed to the physical page. When the process references an address from another logical page, it too is fetched into a vacant physical page and becomes the target of subsequent similar references.…

    • 732 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    virtual memory

    • 340 Words
    • 1 Page

    One of the major advantages of virtual memory is that it is the helping hand for computer to effectively manage physical memory and solves major problems of processes and their address space, it illustrate much larger memory than physical memory which can be used for applications which are even larger than the physical memory.…

    • 340 Words
    • 1 Page
    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

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

    Memory Management

    • 1112 Words
    • 5 Pages

    [3] Sanderson, Bruce. "RAM, Virtual Memory, PageFile and all that stuff." Bruce Sanderson 's General Windows Information. January 2011 <http://members.shaw.ca/bsanders…

    • 1112 Words
    • 5 Pages
    Powerful Essays