From owner-freebsd-hackers Fri Mar 9 10:11:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 1F7E237B718 for ; Fri, 9 Mar 2001 10:11:51 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f29IBXd12334; Fri, 9 Mar 2001 10:11:33 -0800 (PST) (envelope-from dillon) Date: Fri, 9 Mar 2001 10:11:33 -0800 (PST) From: Matt Dillon Message-Id: <200103091811.f29IBXd12334@earth.backplane.com> To: Paul Herman Cc: Jesper Skriver , Dan Phoenix , Subject: Re: systat -vmstat or iostat IO help References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :About a year ago, I was looking through the VM code, and saw that the :'re' field in vmstat is just Cache reactivations, and not both :Inactive & Cache. I just figured it was how it was supposed to be. :Could it be that 're' should include *all* reactivations? : :If so, would I be correct in suggesting: Hmm. I think there might be some gotchas there. The definition I wrote down in my last email wasn't correct... it is in fact only PQ_CACHE pages for reactivations and that's mainly because reactivations are supposed to be an indication that heavier paging is occuring... that pages are being plucked (and saved) from the garbage heap. Counting inactive->active page transitions doesn't give you quite the same formula because the system often deactivates pages on a whim. With reactivations we want to know about pages being saved from destruction at the last moment. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message