aso Command

Purpose

Starts the active system optimizer (ASO) outside of the SRC.

Syntax

aso

Description

The ASO is an AIX® service, which monitors and dynamically optimizes the system. It is provided as an SRC subsystem, and can be started and stopped by the usual SRC commands, such as the startsrc and stopsrc commands.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Environment Variables

Item Description
ASO_ENABLED
Purpose
When set for a process, this environment variable can be used either to ensure that the process is not optimized by ASO or to increase the probability of the process being optimized.
Values
  • ALWAYS: The ASO prioritizes this process for optimization.
  • NEVER: The ASO never optimizes this process.
  • Any other value: The ASO optimizes the process if it fulfills the optimization criteria for the ASO.
Change
ASO_ENABLED=[ALWAYS|NEVER] export ASO_ENABLED
This change affects processes, which are running from the current shell after you set the variable. The change is effective until logging out of this shell. A permanent change can be made by adding the ASO_ENABLED=[ALWAYS|NEVER] option to the /etc/environment file.
ASO_OPTIONS
Purpose
When set for a process, this environment variable can be used to control which optimizations that ASO might apply to that process. Multiple options that are separated by comma character be specified. When multiple options conflict, only the last setting takes effect.
Values
  • ALL=[ON|OFF]: Enables or disables all optimizations for this process.
  • CACHE_AFFINITY=[ON|OFF]: Enables or disables cache affinity optimization for this process.
  • MEMORY_AFFINITY=[ON|OFF]: Enables or disables memory affinity optimization for this process.
  • LARGE_PAGE=[ON|OFF]: Enables or disables large page optimization.
  • MEMORY_PREFETCH=[ON|OFF]: Enables or disables data stream prefetch optimization.
  • If set to any other value or if unset: ASO performs the default set of optimizations on the process
Change
ASO_OPTIONS=<option string> export ASO_OPTIONS
This change affects processes that are running from the current shell after setting the variable. The change is effective until logging out of this shell. Permanent change can be made by setting the variable in the /etc/environment file.
  • To turn off the cache affinity optimization, set the ASO_OPTIONS environment variable as follows:
    ASO_OPTIONS=CACHE_AFFINITY=OFF
  • To enable the memory affinity optimization and to turn off other optimizations off, set the ASO_OPTIONS environment variable as follows:
    ASO_OPTIONS=ALL=OFF,MEMORY_AFFINITY=ON