Question about page faults and swap space
Dan Nelson
dnelson at allantgroup.com
Tue Nov 16 08:15:36 PST 2004
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 at allantgroup.com
More information about the freebsd-questions
mailing list