Date: Thu, 16 Nov 2000 23:09:17 +0000 (GMT) From: George Reid <greid@ukug.uk.freebsd.org> To: flaw <flaw@vt.edu> Cc: freebsd-questions <freebsd-questions@FreeBSD.org> Subject: RE: FreeBSD VM Message-ID: <Pine.BSF.4.21.0011162305520.9302-100000@sobek.nevernet.net> In-Reply-To: <3A1C57B4@zathras.cc.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Nov 2000, flaw wrote: > Maybe due to the amount of memory, the program is still in memory so no page > faults are induced. But why cnt.v_vm_faults (cnt is the vmmeter) are > incremented much more frequently than p->p_stats->p_ru.ru_majflt? cnt.v_vm_faults is number of page faults for the whole system (as opposed to one particular process (correct me if I'm wrong, don't have the source handy). > Also, the swapper process with pid 0 (why pid 0?) has ru_majflt the same > as cnt.v_vm_faults. Think of the swapper process as a pseudoprocess - it's part of the kernel (which controls all the VM stuff). G "And then it comes to be that the soothing light at the end of your tunnel was just a freight train, comin' your way." George Reid * greid@ukug.uk.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011162305520.9302-100000>