Re: the Virtual Memory
Re: the Virtual Memory
- Subject: Re: the Virtual Memory
- From: Chris Zubrzycki <email@hidden>
- Date: Thu, 8 Jun 2006 19:29:57 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jun 8, 2006, at 7:18 PM, Graham J Lee wrote:
Hi,
a while ago I wrote a tool similar to Linux's free for Darwin
(basically at the time because I needed a quick way to log the RAM
consumption of a WebObjects server), but left out reporting on swap
because I didn't know how. Now I'm coming back to fill in
reporting on swap, and still don't know how :-)
Does the value vm_statistics_t->pageouts report the number of
pageouts since boot, or the number of pages which are currently
paged out? If the latter, then I suppose the 'used swap space' is
simply that quantity times the page size. What is the 'total swap
space', if such a question makes sense with this VMM? Is it just
the size of all of the in-use swapfiles? Is there yet any way to
determine the files currently being used for swap? Oh, and is
there a modern equivalent for mach_swapon and /etc/swaptab?
Maybe a better question would be: where is there a general
reference to the VMM used in Darwin, beyond the source code (xnu/
osfmk/vm/)? I've just found the Rashid/Tevanien/et al paper on the
mach VMM, which I "look forward" to ploughing through along with
the appropriate chapter in the OSF documentation. Is there
anything Darwin-specific?
see: http://groups.google.com/group/comp.sys.mac.system/msg/
4e2f44844ea86cf8?hl=de&ie=ISO-8859-1&oe=ISO-8859-1
and the source to Memory Monitor http://www.bernhard-baehr.de/
hope this helps,
- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3 1688 FBF9 8232 A2AB C070
_________________________________________________
This message is encoded using the Rot-26 encoding method.
Unauthorized decoding of this message may result in extreme penalties
under the DMCA. These penalties include, but are not limited to: US
$100,000 fine, life imprisonment, castration, death, limp hair,
terminal halitosis, and amputation of the extremities.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Please sign reply-http://www.gnupg.org
iEYEARECAAYFAkSIsvcACgkQ+/mCMqKrwHA/zwCfQh5lMGmXl5tHGV0uPKnUEUtz
sYMAn1ZrPKnWwX3DTLCUNMOldQgptIOy
=e/A1
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden