# A-Tune **Repository Path**: hellokkim/A-Tune ## Basic Information - **Project Name**: A-Tune - **Description**: A-Tune is an OS tuning engine based on AI. - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 258 - **Created**: 2020-12-09 - **Last Updated**: 2024-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README English | [简体中文](./README-zh.md) ## Introduction to A-Tune **A-Tune** is an OS tuning engine based on AI. A-Tune uses AI technologies to enable the OS to understand services, simplify IT system optimization, and maximize optimal application performance. I. A-Tune Installation ---------- Supported OS: openEuler 1.0 or later ### Method 1 (applicable to common users): Use the default A-Tune of openEuler. ```bash yum install -y atune ``` For openEuler 20.09 or later, atune-engine is needed ```bash yum install -y atune-engine ``` ### Method 2 (applicable to developers): Use the source code of the local repository for installation. #### 1. Install dependent system software packages. ```bash yum install -y golang-bin python3 perf sysstat hwloc-gui ``` #### 2. Install Python dependent packages. ```bash yum install -y python3-dict2xml python3-flask-restful python3-pandas python3-scikit-optimize python3-xgboost python3-pyyaml ``` Or ```bash pip3 install dict2xml Flask-RESTful pandas scikit-optimize xgboost scikit-learn pyyaml ``` #### 3. Download the source code. ```bash git clone https://gitee.com/openeuler/A-Tune.git ``` #### 4. Compile. ```bash cd A-Tune make models make ``` #### 5. Install. ```bash make collector-install make install ``` II. Quick Guide ------------ ### 1. Manage the atuned service. #### Load and start the atuned service. ```bash systemctl daemon-reload systemctl start atuned systemctl start atune-engine ``` #### Check the atuned service status. ```bash systemctl status atuned ``` ### 2. Run the atune-adm command. #### The list command. This command is used to list the supported workload types, profiles, and the values of Active. Format: atune-adm list Example: ```bash atune-adm list ``` #### The analysis command. This command is used to collect real-time statistics from the system to identify and automatically optimize workload types. Format: atune-adm analysis [OPTIONS] [APP_NAME] Example 1: Use the default model for classification and identification. ```bash atune-adm analysis ``` Example 2: Use the user-defined training model for recognition. ```bash atune-adm analysis –model ./model/new-model.m ``` Example 3: Specify the current system application as MySQL, which is for reference only. ```bash atune-adm analysis mysql ``` For details about other commands, see the atune-adm help information or [A-Tune User Guide](./Documentation/UserGuide/A-Tune-User-Guide.md). III. Web UI -------- [A-Tune-UI](https://gitee.com/openeuler/A-Tune-UI) is a web project base on A-Tune. Please check A-Tune-UI [README](https://gitee.com/openeuler/A-Tune-UI/blob/master/README.en.md) for details. IV. How to contribute -------- We welcome new contributors to participate in the project. And we are happy to provide guidance for new contributors. You need to sign [CLA](https://openeuler.org/en/cla.html) before contribution. ### Mail list Any question or discussion please contact [A-Tune](https://mailweb.openeuler.org/postorius/lists/a-tune.openeuler.org/). ### Routine Meeting Holding SIG Meeting at 10:00-12:00 AM on Friday every two weeks. You can apply topic by [A-Tune](https://mailweb.openeuler.org/postorius/lists/a-tune.openeuler.org/) mail list.