TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Rich
from: Gregg N
date: 2005-06-25 05:00:46
subject: Re: Page faults

From: Gregg N 

Rich wrote:
>    There is a different between soft faults and hard faults.  A soft
> fault is what a page is not in the working set of the process and while
> a page fault occurs the action to resolve the fault is to find the
> already loaded page in memory and to add it to the process working set.
> Soft faults are relatively cheap.  Another form of fault you might be
> seeing are with demand zero pages.  This is a page you have allocated
> but not yet touched.  One first reference a physical page is allocated
> and zero filled.  Finally, one form of hard fault you could be taking is
> with a non-private page such as a page (code or data) from an executable
> or a mapped file page that is not modified so gets loaded from and
> reloaded from the executable or mapped file.  I haven't looked so this
> may not help but it may be that perfmon distinguishes between the
> variations of page fault and you can see which is which.

Thanks for the explanation. I've always understood "working set"
to be a theoretical notion having more to do with caching than with paging.
For Windows, is this an actual table of some sort? What would cause a page
to be in memory but not in this table?

Gregg

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.