Paging is a function of memory management where a computer will store and retrieve data from a device’s secondary storage to the primary storage. Memory management is a crucial aspect of any computing device, and paging specifically is important to the implementation of virtual memory.
There are two different types of computer memory; primary and secondary. Primary storage data is temporary and is frequently accessed by applications or other hardware systems. It is typically stored in random access memory (RAM) for fast retrieval. Secondary storage is where data in a computer is kept for longer periods of time. Secondary storage is typically slower than primary. A typical example of secondary memory could be a solid-state drive (SDD), for example.
Virtual memory, what paging is used for often, is a memory management technique where secondary memory can be used as if it were a part of the main memory. Paging acts as an important part of virtual memory, as it allows programs in secondary storage to exceed the available size of the physical storage.
How paging works
Paging works by writingdatato, and reading it from,secondary storagefor use inprimary storage. Paging is a basic function in memory management for a computer'soperating system (OS) as well -- this includes Windows, Unix, Linux and macOSs.
In a memory management system that takes advantage of paging, the OS reads data from secondary storage in blocks calledpages, all of which have identical size. The physical region of memory containing a single page is called a frame. When paging is used, a frame does not have to comprise a single physically contiguous region in secondary storage. This approach offers an advantage over earlier memory management methods, because it facilitates more efficient and faster use of storage.
This was last updated in October 2020
Continue Reading About paging
Related Terms
- cloud encryption
- Cloud encryption is a service cloud storage providers offer whereby a customer's data is transformed using encryption algorithms ...Seecompletedefinition
- DIMM (dual in-line memory module)
- DIMM, or dual in-line memory module, is a type of computer memory that is natively 64 bits, enabling fast data transfer.Seecompletedefinition
- RAID 50 (RAID 5+0)
- RAID 50, also known as RAID 5+0, combines distributed parity (RAID 5) with striping (RAID 0). It requires a minimum of six drives.Seecompletedefinition