Reading directoryRepresentation

Educational reading

An address is a map

The addresses a program uses do not need to describe the physical arrangement of RAM. A mapping connects those two views.

Virtual addressAddress translationPhysical frame

Two views of memory

Virtual memory gives a process a logical address space. In a paging system, page tables connect virtual pages to physical frames. Consecutive addresses in a program can therefore correspond to separate places in physical memory.

This abstraction helps an operating system manage memory without requiring the program to know its physical layout. An address is a reference within a managed space, not a simple label on a fixed piece of installed hardware.

A reading-room analogy

Hypothetical example: a reading room gives each visitor a numbered catalogue. Those catalogue numbers identify requested material; they do not tell the visitor which shelf currently holds it. Staff use a separate map to locate each item.

The analogy separates the reference from the location. Address translation follows precise hardware and operating-system rules; the catalogue simply illustrates the distinction between a logical arrangement and physical locations.

Space is not speed

Some systems can move less-active pages to storage and bring them back when needed. A page fault requires operating-system handling, but not every page fault involves reading a storage device. Repeated storage-backed transfers can make useful work slower.

When comparing memory descriptions, distinguish address-space size, resident physical memory and storage-backed capacity. A large logical space does not demonstrate that all of it is available in fast RAM. Ask what happens when a requested page is not immediately accessible.

Further reading: IBM: virtual memory. External reference.

General educational information. The hypothetical example does not describe company activity.