This is an old version, saved 4 Dec 2026, 12:37 by TechWritereditor. It is the current version.

Virtual memory

Virtual memory is a technique that gives computer programs a large address space, which may be bigger than the computer's actual main memory, by keeping parts of a program and its data on slower storage and bringing them into main memory when they are needed.[1] To the user it appears as one large, continuous memory, even though much of the work sits on auxiliary storage such as disk.[1]

Contents
  1. History
  2. How it works
  3. See also
  4. References

History

The technique was developed in the late 1950s by a team under Tom Kilburn at the University of Manchester, England.[1] It was originally called "one-level storage" and freed programmers from having to move code and data between fast and slow memory by hand.[2] It was first prototyped for the Atlas (computer), which was operational by 1962.[3][1] The first Atlas installation had 16,000 words of core memory backed by 96,000 words of magnetic drum.[2] The Burroughs Corporation B5000 was among the earliest commercial computers to use paging.[3] In June 2022 an IEEE Milestone plaque recognising Atlas and the invention of virtual memory was dedicated.[2]

How it works

Memory is divided into fixed-size blocks called pages, and only some pages are held in main memory at any time.[3] On Atlas each page held 512 words. Hardware compared the page number of every address with 32 page address registers at once; if none matched, a "page fault" interrupt passed control to the Supervisor, Atlas's Operating system, which fetched the page from the drum and sent another page back to keep a block free.[4] Atlas's "learning" program for choosing which page to remove was the first page replacement algorithm.[2] In later systems, a displaced page that has changed is first saved to disk, and the program then continues; the only visible effect is a delay.[3] Today's operating systems rely on virtual memory, which lets even small computers run large programs.[3]

See also

References

  1. ^ virtual memory. Encyclopaedia Britannica. britannica.com
  2. ^ The Atlas Milestone. Communications of the ACM. cacm.acm.org
  3. ^ Memory & Storage: Virtual memory. Computer History Museum. computerhistory.org
  4. ^ Virtual Memory: Atlas. University of Edinburgh, School of Informatics. homepages.inf.ed.ac.uk