Core Devices

Core Devices

Table of Contents

CPU

The CHARON Virtual Machine (VM) CPU can be calibrated with "set ace" directive and the following parameters:

enabled

Parameter

enabled

Type

Boolean

Value

A CHARON-AXP emulated CPU is configured with the "enabled" command enabling the high performance Advanced CPU Emulation mode ("ACE"). The ACE option optimizes the HP Alpha instruction interpretation and significantly improves performance. It also requires approximately twice the amount of host memory allocated by CHARON instance itself to store the optimized code (Note that 2Gb of host memory + the amount of HP Alpha memory emulated per each CHARON instance is required).

ACE optimization is performed dynamically during execution. It does not need to write optimized code back to disk, ACE provides its full capability instantly. The optimization does not compromise the HP Alpha instruction decoding; CHARON-AXP remains fully HP Alpha hardware compatible and completely transparent to the HP Alpha operating systems and applications.

This configuration setting enables the ACE mode if the CHARON-AXP license permits it. If this configuration setting is omitted from the CHARON VM configuration file and the license permits it, "true" is the default, otherwise "false" is the default.

Example:

set ace enabled = false

"set ace enabled=true" is ignored when the license does not permit ACE operation.

The ACE mode is disabled when the host system does not meet the minimum physical requirements for this operation. If the emulator appears not to run at its normal performance, check the log file for a change in the ACE mode and verify that sufficient host resources, especially memory, are available.

cpu_architecture

Parameter

cpu_architecture

Type

Text String

Value

Specifies the architecture of the virtual Alpha CPU. Can be one of the following: EV4, EV45, EV5, EV56, EV6, EV67, EV68

Example:

set ace cpu_architecture = EV6

Refer to Setting of a particular HP Alpha model to find an appropriate value of the HP Alpha architecture per each HP Alpha model supported by CHARON-AXP.

cache_size

Parameter

cache_size

Type

Value

Value

This parameter may affect Charon performance. Do not change this parameter until advised by Stromasys

"cache_size" defines the amount of memory in megabytes allocated to the ACE cache.

Default value is 1GB (1024 MB).

Example:

set ace cache_size = 2048

This parameter may be changed for performance optimization in case of some guest OS specific tasks (see the section below).

num_translators

Parameter

num_translators

Type

Value

Value

This parameter may affect Charon performance. Do not change this parameter until advised by Stromasys

"num_translators" defines the number of ACE translators.

Default value in most situations is number of I/O CPUs dedicated to CHARON (defined by "n_of_io_cpus" parameter) minus 1, but in some specific situations it may be set to some other value for better performance.

Example:

set ace num_translators = 4

host_options

Parameter

host_options

Type

Text String

Value

This parameter may affect Charon performance. Do not change this parameter until advised by Stromasys

"host_options" defines options of ACE (DIT) translator and code-generator. Those options affect Charon performance.

Default settings are set to optimize performance for most geust OS (VMS and Tru64) usage profiles. However there are some profiles (for example OpenVMS compilation tasks) where the default settings do not provide optimal perfromance.

The following switches are available to user:

1. --fixed-variant=[X]

The value X can be one of three options: [-1, 0, 1]. This value defines the desired translation variant. Set -1 for dynamic (default) or 0 or 1 for the fixed number implemented by the translator.

2. --x64-optimize or --x64-nooptimize 

This switch enables translation optimizations (the default is to optimize).

Default parameters have been changed in Charon version 4.9 compared to previous versions (4.8 and below). If Charon system demonstrates lower performance after upgrade to version 4.9, please test the system with host_options switched to default 4.8 settings:

set ace host_options = "--fixed-variant=0 --x64-nooptimize"

Note that in this case the parameter "num_translators" must be set to the number of I/O CPUs dedicated to CHARON (see the "n_of_io_cpus" parameter). Also note that changing parameter "cache_size" can be an alternative solution too (see the section below).



© Stromasys, 1999-2025  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described. 
Need fast, reliable migration? We have done it countless times. Talk to an expert