Preview

virtual memory

Satisfactory Essays
Open Document
Open Document
340 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
virtual memory
Clearly virtual memory has benefits for the operating system. But if there are benefits, then there must be costs as well. What are the costs and benefits of memory virtualization? Under what conditions might the costs outweigh the benefits?

Virtual memory is a feature of an operating system (OS) that allows a computer to compensate for shortages of physical memory by temporarily transferring pages of data from random access memory (RAM) to disk storage.
Eventually, the OS will need to retrieve the data that was moved to temporarily to disk storage -- but remember, the only reason the OS moved pages of data from RAM to disk storage to begin with was because it was running out of RAM. To solve the problem, the operating system will need to move other pages to hard disk so it has room to bring back the pages it needs right away from temporary disk storage. This process is known as paging or swapping and the temporary storage space on the hard disk is called a pagefile or a swap file.
Swapping, which happens so quickly that the end user doesn't know it's happening, is carried out by the computer’s memory manager unit (MMU). The memory manager unit may use one of several algorithms to choose which page should be swapped out, including Least Recently Used (LRU), Least Frequently Used (LFU) or Most Recently Used (MRU).
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.
I think there is couple of reasons that could outweigh cost like it helps manage physical memory better; it swaps the process address back and forth to protect user data and code from being demolished by other processes.

Reference:
Rouse, M. (2014, Sep 15). virtual memory. Retrieved from Tech Target:

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

    RAM is the random access memory and it is volatile. It holds program instructions and data. The CPU can find…

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

    Lab 1

    • 822 Words
    • 4 Pages

    For server (web) performance. Swap space is an area on a disk that temporarily holds a process memory image. When physical memory demand is sufficiently low, process memory images are brought back into physical…

    • 822 Words
    • 4 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
  • Good Essays

    PR Project Lebron James

    • 660 Words
    • 2 Pages

    II. Tactics: “Re-Established 2014” Beats by Dre commercial and “LeBron James’ First Home Game” commercial by Sprite…

    • 660 Words
    • 2 Pages
    Good 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
  • 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
  • Powerful Essays

    Memory – Memory is the part of the computer that temporarily stores applications, documents, and stem operating information.…

    • 2127 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Computer Memory Hacking

    • 820 Words
    • 2 Pages

    Another reason a person or person(s) would want to access a computer systems RAM without…

    • 820 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Throughout the course of world history, humans have move across geographical boarders with the desire of finding and better a greater future for their generations. Today, just like the times tribes that traveled looking for food in the wilderness and lived off of the land, social groups have continue to move themselves, their ideas and costumes in order to survive. As humanity continues to progress and become more globalized, so has desire of sovereignty and power.…

    • 910 Words
    • 4 Pages
    Good Essays
  • Good Essays

    magine yourself living in New York City in 2001. Your father headed out to work early…

    • 1467 Words
    • 6 Pages
    Good 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