# keentuned **Repository Path**: quejianming/keentuned ## Basic Information - **Project Name**: keentuned - **Description**: KeenTune 是一款AI算法与专家知识库双轮驱动的操作系统全栈式智能优化产品,为主流的操作系统提供轻量化、跨平台的一键式性能调优,让应用在智能定制的运行环境发挥最优性能。 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 33 - **Created**: 2022-06-09 - **Last Updated**: 2022-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [English](./keentuned/README.md)| [简体中文](./keentuned/README_ch.md) # KeenTune ## Introduction --- KeenTune is a Linux full-stack intelligent optimization product with both AI algorithm and expert knowledge. It provides lightweight and cross-platform performance tuning service with easy operations, to provide a customized and optimized running environment for optimum performance of the application。 KeenTuned is the management component of KeenTune, including CLI and Daemon. CLI provides command line interfaces to users, which includes three kinds of commands: basic commands, static tuning related commands, and dynamic tuning related commands. Keentuned,as the management and control module, is responsible for monitoring other components, receiving and parsing commands from CLI, and scheduling related components in workflows. ## Installation --- ### 1. install requirements ```sh $ sudo apt-get install python-setuptools golang -y or $ sudo yum install python-setuptools go -y go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct ``` ### 2. install keentune & keentuned ```bash $ cd keentuned $ sudo sh keentuned_install.sh ``` ## Quick Start --- ### Run keentune-target, keentune-brain, keentune-bench vm 1 ```shell $ keentune-target ``` vm 2 ```shell $ keentune-brain ``` vm 3 ```shell $ keentune-bench ``` ### Modify keentune configuration ```shell $ vim /etc/keentune/conf/keentuned.conf TARGET_IP = [ip of vm 1] BRAIN_IP = [ip of vm 2] BENCH_SRC_IP = [ip of vm 3] BENCH_DEST_IP = [ip of vm 4] PARAMETER = [param conf] BENCH_CONFIG = [bench conf] ``` ### Run keentuned ```shell $ keentuned ``` ### Param Tune keentune param tune --job [job name] --iteration [number of iteration] e.g. ```bash $ keentune param tune --job tune_test --iteration 10 ``` Check the execution of the task by 'msg' command. ```bash $ keentune msg ``` ### Profile Set keentune profile set [profile name] e.g. ```bash $ keentune profile set cpu_high_load.conf ``` ## Code structure --- + cli: KeenTune Console + daemon + api: API Definition + common: General method module + example: example of param conf and benchmark conf + modules: Function module ## Documentation --- For more information, please refer to keentune help information or [KeenTune User Guide].