...
General settings that control the execution of CHARON-AXP belong to an object called the "session". It is a preloaded object; therefore, only "set" commands apply.
Example:
set session <parameter>=<value> |
...
The following table describes all available "session" parameters, their meaning and examples of their usage:
hw_model
Parameter | hw_model | |
---|---|---|
Type | Text string | |
Value | Virtual HP Alpha system hardware model to be emulated. Use a default configuration template for each particular model as a starting point for a custom configuration. This would ensure that the parameter is set correctly. Example:
Available models are:
Refer to this section to find how to set a particular HP Alpha model supported by CHARON-AXP. |
configuration_name
Parameter | configuration_name | ||
---|---|---|---|
Type | Text string | ||
Value | Name of the CHARON-AXP instance (ir must be unique):
The value of this parameter is used as a prefix to the event log file name. (see below). From the example above, the CHARON-AXP log file will have the following name:
xxxxxxxxx is an increasing decimal number starting from 000000000 to separate log files with the same time of creation (in case the log is being written faster than one log file per second). It is strictly recommended to use the "configuration_name" parameter if more than one CHARON instance runs on the same server. |
log
Parameter | log | ||||||
---|---|---|---|---|---|---|---|
Type | Text string | ||||||
Value | The log file or directory name is where the log file for each CHARON-AXP execution session is stored. If an existing directory is specified, CHARON-AXP automatically creates individual log files for each CHARON-AXP execution session. If the log parameter is omitted CHARON-AXP creates a log file for each CHARON-AXP execution session in the directory where the emulator was started. It is possible to overwrite the existing log file or extend it using the "log_method" parameter. See below for details. The "log_method" parameter is effective only in the case where a single log file is specified, not a directory. Examples:
If only a directory name is specified in the "log" parameter and the "configuration_name" parameter of the session is specified, the log file name will have the following format:
If only a directory name is specified in the "log" parameter and the "configuration_name" parameter is omitted, the log file name will have the following format:
xxxxxxxxx is an increasing decimal integer, starting from 000000000 to separate log files with the same time of creation (in case the log is being created faster than one log file per second).
|
Div | ||
---|---|---|
| ||
|
log_method
Parameter | log_method | |||
---|---|---|---|---|
Type | Text string | |||
Value |
Determines if the previous log information is maintained or overwritten.
This parameter is applicable only if the CHARON-AXP log is stored to a file that is specified explicitly with the "log" parameter. Example:
|
...
Parameter | log_file_size | ||
---|---|---|---|
Type | Text string | ||
Value | If log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated.
Examples:
Minimum LOG File size is 64K, maximum is 1G. Setting size less then 64K effectively makes the LOG File unlimited. |
...
Parameter | log_rotation_period | ||
---|---|---|---|
Type | Text string | ||
Value |
If the rotation log mode is enabled this parameter controls switching to next log file based on period of time passed. If enabled the switching to next log file appears at midnight. Examples:
|
...
Parameter | n_of_cpus | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Numeric | |||||||||||||||||||||||||||||||||||||||
Value | Limits the number of emulated CPUs. Example:
The maximum number of CPUs enabled by CHARON-AXP is specified by the license key, but cannot exceed the original hardware restrictions:
|
...
Parameter | n_of_io_cpus | |
---|---|---|
Type | Numeric | |
Value | This parameter specifies how many host CPUs CHARON-AXP must use for I/O handling. Use of the “affinity” parameter may limit the number of CPUs available. By default the CHARON-AXP instance reserves one third of all available host CPUs for I/O processing (round down, at least one). The “n_of_io_cpus” parameter overrides that by specifying the number of CHARON I/O CPUs explicitly. Example:
|
...