From owner-freebsd-questions Thu Nov 16 16:38:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.161.193]) by hub.freebsd.org (Postfix) with ESMTP id 7ACBF37B479 for ; Thu, 16 Nov 2000 16:38:46 -0800 (PST) Received: from mail.vt.edu (gkar.cc.vt.edu [198.82.161.190]) by lennier.cc.vt.edu (8.11.0/8.11.0) with ESMTP id eAH0cjd289290; Thu, 16 Nov 2000 19:38:45 -0500 (EST) Received: from flaw.vt.edu ([198.82.82.148]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0G4500F8I8GI22@gkar.cc.vt.edu>; Thu, 16 Nov 2000 19:38:43 -0500 (EST) Date: Thu, 16 Nov 2000 19:48:32 -0500 From: Raymond Law Subject: RE: FreeBSD VM In-reply-to: X-Sender: flaw@mail.vt.edu To: George Reid Cc: freebsd-questions Message-id: <4.3.0.20001116194703.02061bb0@mail.vt.edu> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Content-type: text/plain; format=flowed; charset=us-ascii References: <3A1C57B4@zathras.cc.vt.edu> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, John and George. I got a lot of info to hack around now : ) Ray, At 11:09 PM 11/16/00 +0000, George Reid wrote: >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message