| United States-English |
|
|
|
![]() |
HP-UX Reference > aAries(5)Itanium(R)-Based Processor Family OnlyHP-UX 11i Version 2: August 2003 |
|
NAMEAries — emulate PA-RISC applications on Itanium-based processor family DESCRIPTIONAries is a binary emulator that transparently emulates 32-bit and 64-bit HP-UX PA-RISC applications on HP-UX Itanium-based machines. Aries is transparent in that:
The HP-UX Itanium-based kernel recognizes a HP-UX PA-RISC executable and invokes Aries to emulate the application. Aries consists of 4 shared libraries :
aries32.so is the shared library that contains the Aries emulator for 32-bit applications. pa_boot32.so contains code to load aries32.so. Likewise, aries64.so is the emulator for 64-bit applications. pa_boot64.so loads aries64.so. Upon detecting a 32-bit HP-UX PA-RISC executable, the HP-UX Itanium-based kernel invokes pa_boot32.so, which loads aries32.so into memory and sets it up to emulate the HP-UX PA-RISC executable. Likewise, aries64.so is loaded for a 64-bit HP-UX PA-RISC executable. PA GDB SupportAries supports debugging of PA applications on HP-UX Itanium-based systems, using PA gdb. On HP-UX Itanium-based systems /usr/ccs/bin contains the PA gdb32 and gdb64 binaries. A symbolic link named /usr/ccs/bin/gdbpa points to /usr/ccs/bin/gdb32. The HP-UX Itanium-based systems gdb recognizes the binary being debugged as a PA binary and launches /usr/ccs/bin/gdbpa under Aries. Debugging PA Applications on Itanium-based SystemsThe following steps have to be followed by the user in order to debug PA applications on HP-UX Itanium-based systems using PA gdb.
The rest of the debugging process is exactly similar to that followed on the HP-UX PA-RISC platform. All commands of gdb are supported subject to limitations listed under Limitations of PA GDB Support. After debugging is finished, perform the following steps.
Limitations of PA GDB SupportThe following are current limitations of PA gdb support.
Generation of PA Core FileAries supports creation of PA core file on Itanium-based system, when the emulated PA application dumps core. The size of the core file is limited by ulimit() or setrlimit() values. See ulimit(2) and setrlimit(2). The PA application core file generated by Aries will have the name as core.PA_application_name. HP-UX PA-RISC debuggers are needed to analyze core files generated by Aries for PA applications. For instance, PA application core file generated by Aries can be debugged using /usr/ccs/bin/gdbpa on Itanium-based system. Alternately, the application's core file can be taken to a PA machine and debugged using a PA debugger, though it is a very tedious process and likely to be error-prone. After Aries has successfully written core file for PA application, it will print the following message on stderr: ARIES32/64: Core file for PA32/64 application saved to path/core.PA_application_name If the emulated PA application results in a core file named just core or core.pid, it will be Aries core dump and not that of the emulated PA application. Debugging Aries-Generated PA Core File on a Different MachineDebugging Aries-generated PA core file on different machine (PA or Itanium) can be done only with PA wdb-3.0.01 or later. The following steps should be followed to debug Aries-generated PA core file on a machine other than the one on which the core file was generated.
Performance-Enhanced Dynamic Translator Beta1. IntroductionAries (32-bit - /usr/lib/hpux32/aries32.so) shipped with HP-UX 11i Version 2.0 is augmented with the beta version of a performance-enhanced dynamic translator. However this beta translator will NOT be turned ON by default. This means that the regular usage of Aries will not be affected at all. The 64-bit Aries, /usr/lib/hpux64/aries64.so, does not consist of this beta translator. 2. UsageIn order to turn on the beta translator, the following option string needs to be used in the .ariesrc file: -fast_trans Aries is supposed to run with default options. However, the resource file is a mechanism by which special options can be supplied to Aries. While starting up a PA application, Aries searches for .aries[64]rc file in the current directory, then in the user's home directory and then in the root (/) directory, in that order. If Aries fails to locate it in any of the three places it uses default options. In the context of the beta translator, -fast_trans is the special option that needs to be supplied via the .ariesrc file, so that Aries invokes the beta translator while emulating the given PA application. If no .ariesrc file is found by Aries, or, if .ariesrc file is found but -fast_trans is not found in that file, then Aries uses the old translator as the default. 3. WarningDue to the beta-nature of this translator, the users need to be aware that an element of risk is involved in deploying the beta translator for mission-critical applications. However, we encourage that this new translator be used more and more in order for it to become more robust, so that it soon attains the same levels of reliability as the existing translator. 4. Performance of beta translatorBased on the measurements performed until this release, the beta translator has been found, on an average, to be 20% faster than the existing translator, with regards to the translation time. However, how this improvement in the translation time reflects in the emulated application's overall performance is a variable factor. It has been observed in the lab that an overall performance gain of 20% on an average can be expected in applications that contain an average mix of compute-intensive and user-intensive actions. More precise performance measurements of the beta translator are being carried out. Aries Supported ApplicationsAries supports emulation of all HP-UX PA-RISC applications. This means, all the HP-UX Inter Process Communication mechanisms such as semaphores, shared memory, sockets, etc. are supported. The signal/exception behavior of a PA-RISC/HP-UX program is supported under Aries. All inter process communications between an emulated PA program and a native-running Itanium-based program is supported. There is only a very small subset of the PA-RISC application domain that is not supported under Aries. To ascertain whether a given application will run correctly under Aries or not, please determine if the application falls into one of the Aries limitations listed under section Aries Limitations. Aries LimitationsAries supports emulation of all HP-UX PA-RISC applications, with the following limitations/exceptions:
|
||||||||||||||||||||||||||||
|
|||||||||||||||