HP-UX Reference (11i v3 07/02) - 5 Miscellaneous Topics (vol 9)
a
Aries(5)
Itanium(R)-based Systems Only
Aries(5)
Note: Specifying a low value for this parameter may cause slow performance for PA-RISC
applications due to too many small mmap’d regions. This may lead to performance slow-
down of the whole system. This is because operating system allocates one protection ID for
each memory mapped region. Too many protection IDs may lead to increased DTLB
misses.
-pa_os_cpu
Affects the emulation of the
uname() and sysconf() system calls to return information
specific to the PA-RISC processor and HP-UX release version.
Most PA-RISC applications run as expected under Aries without this option being set. Use
this option if and only if PA-RISC application expects the return values of
uname() and
sysconf() system calls, to be specific to the values that would have been obtained if the
application was running on PA-RISC HP-UX system.
The default value of this parameter is Off
.
-ssz size
Specifies the maximum stack size (in kbytes) for PA-RISC application.
Value 32-bit Aries 64-bit Aries
Default 8192 KB ( 8 MB) 262144 KB (256 MB)
Max 32768 KB (32 MB) 262144 KB (256 MB)
Min 256 KB 256 KB
The values above are shown with the default values of the kernel tunable parameters
pa_maxssiz_32bit
and pa_maxssiz_64bit for 32-bit Aries and 64-bit Aries
respectively.
With increased values of the kernel tunable parameters
pa_maxssiz_32bit
and
pa_maxssiz_64bit, the maximum value of the
-ssz Aries parameter will be the
same as maximum value of kernel tunable parameters
maxssiz and maxssiz_64bit
for 32-bit and 64-bit processes respectively.
Aries sets the size of the PA-RISC application stack by the size returned by
getrlimit
(RLIMIT_STACK, ...)
system call or the value inherited from parent process. Use
this option to override the stack size for PA-RISC application.
-ts n Specifies the Aries translation threshold n, where n is an integer value. This option
specifies the number of times Aries interprets a basic block before considering it as a candi-
date for dynamic translation. This option can be used to tune a PA-RISC application’s per-
formance under Aries.
The default value of this parameter is
16.
Example: Aries Resource Configuration File
To execute a 32-bit PA-RISC application hello_world through Aries using 32 MB of PA-RISC emulated
stack, you can place a
.ariesrc file containing the following line in user’s home directory or in the root
(/)directory.
/user/foo/hello_world -ssz 32768
Alternatively, if the following line is specified, then the stack size of 32 MB will be applied to all 32-bit PA-
RISC applications invoked by the user or by all users depending on whether the Aries resource
configuration is located in user’s home directory or root directory.
/ -ssz 32768
Sample Aries resource configuration files are shown below. You can modify these files to suit your applica-
tion executable paths and required Aries options.
An example of a user’s private Aries resource configuration file located in that user’s home directory fol-
lows.
/home/user1/bin/app1 -ssz 24576 -heap_ssz 32768
/home/user1/app2 -core_format v1 -corepid
/home/user1/dbg/app3 -order
/home/user1/dll/bin/app4 -osinc 256 -issz 1024 -ts 10
/home/user1/app5 -pa_os_cpu
/home/user1/bin/app6 -ts 8 -ssz 16536 -core_format v1 -heap_ssz 24576 -osinc 1024
70 Hewlett-Packard Company − 7 − HP-UX 11i Version 3: February 2007