鲲鹏自动调优功能说明
    使用鲲鹏920系列处理器时支持鲲鹏寄存器参数自动寻优功能,内核版本需为4.19.90-2012.4.0.0053.oe1.aarch64或5.10.0-182.0.0.95.oe2203sp3.aarch64。
   
   
    图1 鲲鹏自动调优使用流程
    
   
   
   命令功能
基于不同场景的应用性能指标进行应用配置参数的自动寻优。
命令格式
          1
           | 
         
          devkit kat [-h | --help] TASK [ARGS]  | 
        
 
    示例均为RPM包安装使用。
- 任务运行前必须配置项:
       
- 任务参数配置:参数名称、取值范围和设置方式等。
 - 应用程序场景:应用、Benchmark(若存在)和性能指标等,其中必须保证应用和性能测试工具均可正常运行。
 
 - 支持数据库和大数据场景下的自动调优:
       
- 数据库:MySQL、openGauss、Vastbase、RocksDB、PostgreSQL和Redis
 - 大数据:Hive、Spark、Flink和Kafka
 
 - 请根据实际业务场景和需要调优的参数,调整参数配置和应用程序场景。
 
使用示例
执行以下命令,查看自动调优支持的功能信息:
          1
           | 
         
          devkit kat -h  | 
        
返回信息如下:
          1 2 3 4 5 6 7 8 9  | 
         
          Usage: devkit kat [-h | --help] TASK [ARGS] The most commonly used devkit kat sub tasks are: help Get help information train Run the auto tuner train task template Run the auto tuner template task use Run the auto tuner use task See 'devkit kat TASK --help' for more information on a specific task.  | 
        
| 
          功能  | 
        
          说明  | 
       
|---|---|
| 
          help  | 
        
          查看帮助信息。  | 
       
| 
          train  | 
        
          开启自动调优。  | 
       
| 
          template  | 
        
          生成模板文件。  | 
       
| 
          use  | 
        
          运用调优结果。  | 
       
     父主题: 鲲鹏自动调优