Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 10:14:11 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question about page faults and swap space
Message-ID:  <20041116161411.GE80412@dan.emsphone.com>
In-Reply-To: <20041116160851.GB50871@dogma.freebsd-uk.eu.org>
References:  <20041116160851.GB50871@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 16), Jonathon McKitrick said:
> This is probably a dumb question, but it's been a long time since my
> OS theory classes.  ;-)
> 
> How can I get a page fault if swap space is never used?  Why would
> anything be swapped out and yet not appear as usage on the swap
> partition, since that never goes away once used?

Accesses to executable images or mmaped files will cause page faults.
They'll show up as vnode pageins as opposed to swap pageins in "vmstat
-s" or "systat -v".

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041116161411.GE80412>