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

  • 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

    memory changes on how it is set. It either can be added or reduced from the computer.…

    • 281 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

    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 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

    Comp 220

    • 1463 Words
    • 6 Pages

    Pointers are, essentially, address variables, or variables that hold as their value the address of other variables. In terms of memory management, they are very powerful devices, and they more closely and efficiently use the actual internal hardware registers of the microprocessor that the program operates on.…

    • 1463 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    1. Where does Linux temporarily stores programs and data when it does not have enough RAM to hold all the information it is processing?…

    • 1070 Words
    • 4 Pages
    Satisfactory 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
  • 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
  • Better Essays

    IT 600 Module One Lecture

    • 1256 Words
    • 5 Pages

    that every process gets the memory it needs, and that no application can access memory in…

    • 1256 Words
    • 5 Pages
    Better 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

    This report is a critical comparison of the computer operating systems (OS), Windows and Linux. It is written for an average audience that uses a computer almost every day and is now curious to know which operating system is better. The audience is assumed to have sufficient knowledge to understand the various aspects of an OS, but is not aware of the specific details of each OS. This report analyzes the different features of both operating systems in order to arrive at a conclusion on which OS is better for daily use. Both systems are evaluated on a wide range of criteria such as cost, installation process, software applications, hardware, user interface, security/stability, troubleshooting, and the implementation of the OS itself. These will help decide which…

    • 2206 Words
    • 9 Pages
    Better 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