Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 10:11:33 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Paul Herman <pherman@frenchfries.net>
Cc:        Jesper Skriver <jesper@skriver.dk>, Dan Phoenix <dphoenix@bravenet.com>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: systat -vmstat or iostat IO help
Message-ID:  <200103091811.f29IBXd12334@earth.backplane.com>
References:   <Pine.BSF.4.33.0103090837490.10629-100000@husten.security.at12.de>

next in thread | previous in thread | raw e-mail | index | archive | help
: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




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