Skip to content
The Computer Science
TheCScience
  • Engineering Subjects
    • Human Values
    • Computer System Architecture
    • Microprocessor
    • Digital Communication
    • Internet of Things
  • NCERT Solutions
    • Class 12
    • Class 11
  • Solutions
    • HackerRank
      • C Solutions
      • C++ Solutions
      • Java Solutions
      • Python Solutions
      • Algorithms Solutions
      • Data Structures Solutions
    • HackerEarth Solutions
    • Leetcode Solutions
  • JEE 2027
The Computer Science
TheCScience

Pre-Paging in Operating Systems | OS Tutorials

YASH PAL, July 2, 2026July 2, 2026

In Operating System Pre-paging is a page-fetching policy that brings pages into main memory without any demand. The fetching policy determines when a page should be brought into main memory. The two common alternatives are:

  1. Demand Paging
  2. Prepaging

With demand paging, a page is brought into main memory only when a reference is made to a location on that page. If the other elements of memory management policy are good, the following should happen.

  1. When a process is first started, there will be a huge number of page faults. As more and more pages are brought in, the principle of locality suggests that most future references will be to pages that have recently been brought in.
  2. Thus, after a time, the number of page faults drops to a very low level.
  3. With prepaging, pages other than the one demanded by a page fault are brought in.
  4. Prepaging exploits the characteristics of most secondary memory devices such as disks, which have seek times and rotational latency.
  5. If the pages of a process are stored contiguously in secondary memory, it is more efficient to bring in several contiguous pages at once rather than one at a time over an extended period.
  6. This policy is ineffective if most of the extra pages that are brought in are not referenced.
  7. The prepaging policy could be employed either when a process first starts up or every time a page fault occurs. However, the utility of prepaging has not been established.
  8. Prepaging should not be confused with swapping. When a process is swapped out of the memory and put in a suspended state, all of its resident pages are moved out.
  9. When a process is resumed, all of the pages that were previously in main memory are returned to main memory.
  10. Prepaging can be an advantage in some cases; it depends on whether the cost of prepaging is less than the cost of servicing the corresponding page faults.
  11. It may be the case that many of the pages brought back into memory by prepaging are not used.
  12. Let us assume that s pages are prepaged and a fraction α\alpha of these s pages are actually used (0≤α≤1).( 0 \le \alpha \le 1).
  13. The question may arise whether the cost of a saved page fault is greater or less than the cost of prepaging (1 – α)\alpha ) unnecessary pages.
  14. If α\alpha is close to zero, prepaging loses; if α\alpha is close to one, prepaging wins.
engineering subjects Operating System Operating System

Post navigation

Previous post

Leave a Reply

Your email address will not be published. Required fields are marked *

Engineering Core Subjects

Digital Communication Subject
Internet of Things Subject
Computer Architecture subject
Human Value Subject

JEE Study Materials

JEE Physics Notes
JEE Chemistry Notes

TheCScience

At TheCScience.com, our mission is to make quality education accessible to everyone. We provide in-depth, easy-to-understand articles covering Secondary, Senior Secondary, and Graduation-level subjects.

Pages

About US

Contact US

Privacy Policy

DMCA

Our Tools

Hosting - get 20% off

Engineering Subjects

Internet of Things

Human Values

Digital Communication

Computer System Architecture

Microprocessor

Programming Tutorials

Data Structure and Algorithm

C

Java

NCERT

Class 12th

©2026 TheCScience | WordPress Theme by SuperbThemes