Operating System - HP-UX
1833310 Members
2957 Online
110051 Solutions
New Discussion

Re: How to check if a executable uses MPAS or MGAS or neither

 
SOLVED
Go to solution
Jayanta
Occasional Contributor

How to check if a executable uses MPAS or MGAS or neither

I read about "Adaptive Address Space"
We have a RX1600 Itanium HPUX 11.23
It obviously has AAS feature.

We are experiencing performance problems with SAP as we have both DI & CI on the same 2GB RAM physical box.

SAP uses PrivateMemory + sharedMemory + MemoryMapped files for the Dialog Worker processes.

I have read the mmap & chatr commands documentation. But there is no command I could find to check if an executable uses MPAS or to check this while a process is running.

Any help will be deeply appreciated.
-Jayanta of Kolkata/India

2 REPLIES 2
Dietmar Konermann
Honored Contributor
Solution

Re: How to check if a executable uses MPAS or MGAS or neither

The chatr(1) command is the one to use... to see if an executable uses the AAS model, check for the following line:

address space model: MPAS

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Dietmar Konermann
Honored Contributor

Re: How to check if a executable uses MPAS or MGAS or neither

I forgot to mention how to check a running process... the model is determined at process exec time. So if you check the process' executable then you are done. During run time the exectable file is busy... so you are unable to change the flags then. You may use fuser(1M) to check if the executable is really the one, that is in use by a specific process.

See also the man page of chatr(1):

+as mode Control the address space model to be used by the
kernel. Possible values for mode are default,
share_magic, exec_magic, shmem_magic, and mpas. The
default value is currently equivalent to share_magic.
In order to set the mode to any value other than the
default, the binary should have been built with the -N
compiler option to ensure that the text and data
segments are contiguous.

"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)