Paging in an operating system is part of the operation of virtual memory. Physical pages of memory are being swapped back and forth for virtual pages of memory in a file on the hard disk. This swapping allows all programs to see the same memory structure (e.g. program loads at the same fixed virtual address in memory) and allows the machine to run as if it had more memory than it really does (but at a small speed penalty).
Programs and utilities that are idle may stay loaded and ready to run, but paged out of physical memory until actually needed.
Thrashing
thrashing
Any operating system that allows for "paging" or "swapping" is capable of this.
Paging has many advantages. First of all, paging allows you to relocate memory areas to other places where they are more useful. For example, any operating system must divide memory in two areas, one for the operating system itself (OS, data, management tables, ...) and one for the user programs. The area for the OS must be subdivided into areas to store each driver and its data. The area for the user must be subdivided to store each program and its data.
Some Operating Systems periodically look for pages that have not been recently referenced and add them to the Free page queue, after paging them out if they have been modified.
Thrashing
thrashing
The question is not very clear - in general the implementation of paging is too complex to answer in a Wiki answer entry; I suggest you take a look at any Operating System theory book.
Any operating system that allows for "paging" or "swapping" is capable of this.
"Paging" is when the operating system writes contents of RAM memory to disk, to free space for other uses.A paging algorithm specifies which RAM content to page (write to disk) when it needs more space.See related link.
Paging has many advantages. First of all, paging allows you to relocate memory areas to other places where they are more useful. For example, any operating system must divide memory in two areas, one for the operating system itself (OS, data, management tables, ...) and one for the user programs. The area for the OS must be subdivided into areas to store each driver and its data. The area for the user must be subdivided to store each program and its data.
Some Operating Systems periodically look for pages that have not been recently referenced and add them to the Free page queue, after paging them out if they have been modified.
The best paging system is Wendy's drive thru
Demand paging is a process which involves the copying and relocation of data from a secondary storage system to random access memory (RAM), a main memory storage system. Demand paging copies and relocates data to facilitate the fastest access to that data. Once the data is relocated, demand paging sends a command to the operating system to inform it that the data file or files are now ready to be loaded. Demand paging is performed on demand, or after a command has been sent to retrieve specific data.
Paging is a way for the operating system to load data from a storage device onto RAM. When there is insufficient amount of space in RAM and if a page file is enabled, it will swap data between RAM and the swap file (typically on a storage device).
In computer operating systems, demand paging is an application of virtual memory. In a system that uses demand paging, the operating system copies a disk page into physical memory only if an attempt is made to access it (i.e., if a page fault occurs). It follows that a process begins execution with none of its pages in physical memory, and many page faults will occur until most of a process's working set of pages is located in physical memory. This is an example of lazy loading techniques.
It is a memory managermnet concept where the operating system copies the dats from the disk space to the main memory (RAM) only when is trying to access the page. it is like we have to attempt the page again, when the page fault has occured while trying to get the data.