Hi Ajdin,
actually "vhand" does have an impact, too.
And it is about CPU time, as the referencing of all pages by the two "hands" can accumulate in case it is needed all the time.
But the effect of NOT having sufficient amounts of free memory pages available is causing so much more trouble, that this effect is only a hint at the main problem, but not a part of that problem.
You could use "glance" to check which processes trigger the paging, IIRC.
SNMP is always a problem, as Bill points out, but so are some of the OpenView products' processes, too.
Do you have shared memory segments in use, which are just a little too big to fit into your scarce RAM?
HP-UX *does* page shared memory, until it is "mlock"ed (memory locked), which needs the *privilege* "MLOCK" in /etc/privgroup.
Reducing the unix buffer cache could safe you a little, reducing some unneccessary kernel tables could help either (like NINODE - you are using VxFS not HFS, don't you?), and unused device drivers eat up memory-locked kernel address space.
Actually I would shrink all oversized kernel tables to about 5/4 of their actual peak level, remove all unneccessary subsystems and drivers, maybe try to use bigger, but fewer (LVM) PEs/LEs in all the volume groups (Ignite/UX is your friend) to reduce the amount of RAM needed by the kernel to keep the PVRAs and VGRAs in memory, maybe even use "chatr" to change the data segment size for the few processes allocating most of your RAM (so they need fewer pages, and hence smaller page-tables), and such.
Oh, check all the codefiles of the running/active processes with "chatr" if there are some parameters different between your two systems, and the used libraries, too! That could allocate much more RAM on one system than on the other...
A completely different case could be oversized directories, i.e. directories of much more than about 8KB, as every UN*X reads and writes directories at once every time, and hence eat up a lot of buffer cache, almost permanently, so that it get unneccessarily big.
Well, FWIW,
Wodisch