Rate This Document
Findability
Accuracy
Completeness
Readability

set

Command Function

Uses the parameters of a tuning round to assign values to and reset application or system parameters.

The set subcommand is used to change the parameter values. Exercise caution when running this subcommand.

Syntax

set [-h] <n>

Example

  • Applying the parameters of the round whose performance ranks first to the application and system
    1
    set 1
    

    The following information is returned if the parameters are set successfully:

    1
    [2026-09-10 12:21:49 UTC] [KAT] [message] - set params of 1 success!
    
  • Resets task parameters to restore the parameters in the application or system to those before the set command is run.
    1
    set 0
    

    If the resetting is successful, the following information is returned:

    1
    2
    [2026-09-10 12:22:59 UTC] [KAT] [message] - --------- kunpeng automatic tuning - Step   <params recover>   start -----------
    [2026-09-10 12:22:59 UTC] [KAT] [message] - Reset params to baseline success!