🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7380

Re: What are 'attaches' in vmstat?

#7380
From: Guy Harris
Date: Tue, 02 Apr 1991 15:00
19 lines
1538 bytes
>The field in question reports on the vm system's ability to find missing
>pages without having to do any IO.  'at' is the rate (pages/sec) at which
>this is happening.

Yup.

>The attached pages are typically text (code) pages left behind by an
>exited process that was executing the same program.

It's more general in SunOS 4.x; the pages may also have come from a shared
object such as a shared library, or from some other flavor of "mmap()"ped
file, or from a file that was temporarily mapped into kernel virtual
address space for I/O (i.e., the moral equivalent of a buffer cache hit
for a data block is a attach - or, at least, a reclaim; see below). 

From a quick look at the code, it seems to be the case that a "reclaim" is
a page fault resolved by finding the page in memory, while an "attach" is
a "reclaim" where the page was in the free list (i.e., it wasn't mapped
into anybody's address space).
Technical Details
Message-ID: <2312@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: auspex!guy@uunet.uu.net (Guy Harris)
Newsgroups: comp.sys.sun
Subject: Re: What are 'attaches' in vmstat?
Keywords: Miscellaneous
Message-ID: <2312@brchh104.bnr.ca>
Date: 2 Apr 91 15:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 19
Approved: Sun-Spots@rice.edu
X-Original-Date: 30 Mar 91 02:27:11 GMT
X-Refs:  Original: v10n57, Replies: v10n63
X-Sun-Spots-Digest: Volume 10, Issue 75, message 8
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu