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

    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

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

    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

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

    Silberschatz, A., Galvin, P. B., & Gagne, G. (2009). Operating system concepts. Hoboken, NJ: John Wiley &…

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