[net.unix-wizards] How can I get the paging behavior of a program?

mjs (06/07/82)

Has anyone out in BSD-land considered the task of providing a user with
the page fault behaviour of its program?  The only way to do it with
available tools (as far as I can see) is to make a version of the
program which has a command line option to tell it what to pass to the
vadvise syscall, then run it on "a representative set of inputs" and
compare the output of the vtimes info collected (either by csh or your
favorite variety of timing parent).

Something that would be of interest to me would be a system call
analogous to monitor which could put the page numbers of the first N
page faults in a data area allocated by the user.  Does anybody have any
other suggestions?  If anyone can fill Bill Joy's shoes (what's his shoe
size, anyway?), perhaps the good folks at Berkeley have something up
their sleeves?  If not, can some kindly grad student take this project
on?  (I would, but I'm too busy fending off page faults on my stack of
things to do....)

	Marty Shannon, Jr.
	BTL MH 5E-103
	(201) 582-3199