Browse Prior Art Database

Method for Handling Zero-Filled Memory Pages

IP.com Disclosure Number: IPCOM000117068D
Original Publication Date: 1995-Dec-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 19K

Publishing Venue

IBM

Related People

Brew, GE: AUTHOR

Abstract

Disclosed is a method in which a demand paging operating system tests each memory page to be written to a swap file, determining if the page is completely filled with zeroes. If the page is filled with zeroes the operating system marks the corresponding pte(s), or an equivalent data structure, to be allocate-on-demand zero fill and moves the zero filled page to the free page queue. If the page is not filled with zeroes, it is written to disk.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Method for Handling Zero-Filled Memory Pages

      Disclosed is a method in which a demand paging operating system
tests each memory page to be written to a swap file, determining if
the page is completely filled with zeroes.  If the page is filled
with zeroes the operating system marks the corresponding pte(s), or
an equivalent data structure, to be allocate-on-demand zero fill and
moves the zero filled page to the free page queue.  If the page is
not filled with zeroes, it is written to disk.

      This method avoids unnecessary instances of writing pages to
disk, reducing the overhead otherwise incurred by disk writes and
reads to the swap file.