man
Command Function
Displays the Kunpeng AutoTuner manual, which includes the quick start, overview, and examples of how to use each subcommand of the use function.
Syntax
1 | man [-l <language>] [-m] [-h] |
Parameter Description
Parameter |
Description |
|---|---|
-h/--help |
Obtains help information. |
-l/--language |
Sets the manual language, which is zh or en and defaults to zh. NOTE:
If the environment does not support Chinese, the system automatically switches to English. |
-m/--menu |
Enables the menu mode to go to the subcommand section. |
Example
Type man and press Enter to view the full introduction to the Kunpeng AutoTuner. Type man -m and press Enter to view the usage description and examples of each single command by section.
Display the manual directory:
1 | man -m
|
Command output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ================================================================================ =================================== Manual directory =================================== ================================================================================ The use function of the Kunpeng AutoTuner allows you to view the tuning result, set tuning parameters, and retest the performance based on the tuning result. Enter an SN to view details about the corresponding subfunction. 1. quick start - Guides users through quickly getting started with the Kunpeng AutoTuner. 2. overview - Displays the overall Kunpeng AutoTuner functions and describes how to use these functions. 3. show - Displays the tuning data and analyzes parameter importance. 4. train - Resumes automatic tuning. The Kunpeng AutoTuner automatically tunes task parameters based on service scenario metrics. 5. test - Performs the tests again using the same parameters of some rounds. 6. set - Applies the parameter values of a tuning round to the application and system. q. quit - Exits from the menu. ================================================================================ Enter choice: |
Type 6 and press Enter to view the help information about the set subcommand.
Command output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #### 3.4.4 set Deliver the parameters of the selected nth round to the configuration file or a temporary file. The parameters will be used for training or directly used to run the application during subsequent tuning. Name set - Set the configuration of the <n>th round. Usage set <n> Set the parameters of the <n>th round. Description set <n>: Deliver the parameters of the nth round in the train folder to the configuration file or the temporary file. The parameters will be read for training in subsequent tuning. Example set 6: Deliver the parameters of the sixth round to the configuration file. ======================== info of Round 6 =================================== Performance: 38219.08 -------------------------------------------------------------------------------- ---------------------- Params --------------------------------- -------------------------------------------------------------------------------- Postgresql: autovacuum_vacuum_cost_delay = 99 autovacuum_vacuum_cost_limit = 317 ... ... ... vacuum_cleanup_index_scale_factor = 0.25364252425682277 -------------------------------------------------------------------------------- --------------------- Run Info --------------------------------- -------------------------------------------------------------------------------- Run record: 1 Result: success Performance: 86.92 Run time: 2025-02-25 09:38:59.669973 Finish time: P2025-02-25 09:38:59.669980 ================================================================================ --------- kunpeng automatic tuning - Step <assign params> start ----------- set params of success! (Press q to return) |
Parent topic: Processing the Tuning Result