# oeAware-plugin-cfgo **Repository Path**: rfwang07/oeaware-plugin-cfgo ## Basic Information - **Project Name**: oeAware-plugin-cfgo - **Description**: cfgo plugins for oeaware - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-07-02 - **Last Updated**: 2024-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # oeAware-plugin-cfgo #### 介绍 基于[oeAware框架](https://gitee.com/openeuler/oeAware-manager/blob/master/docs/oeAware%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97.md)使能应用无感知反馈优化(当前仅支持启动时优化)。 #### 软件架构 本仓库包含1个调优插件cfgo_tuner_sysboost 1. cfgo_tuner_sysboost调优插件基于[sysboost](https://gitee.com/openeuler/sysboost)实现,用于对目标应用实施二进制优化 #### 安装教程 依赖安装: 1. [oeAware-manager](https://gitee.com/openeuler/oeAware-manager) 2. [libkperf](https://gitee.com/openeuler/libkperf) 3. [sysboost](https://gitee.com/openeuler/sysboost) 源码编译: ```shell git clone https://gitee.com/rfwang07/oeaware-plugin-cfgo.git # 修改oeaware-plugin-cfgo/build.sh中的KPERF_PATH sh build.sh debug test ``` #### 使用说明 请查阅[oeAware用户指南](https://gitee.com/openeuler/oeAware-manager/blob/master/docs/oeAware%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97.md),以下给出简单使用方式 ```shell # 插件库加载,或拷贝至/usr/lib64/oeAware-plugin/下默认启动加载 oeawarectl -l libcfgo-collector.so oeawarectl -l libcfgo-tuner.so # 插件使能 oeawarectl -e cfgo_tuner_sysboost # 插件去使能 oeawarectl -d cfgo_tuner_sysboost ``` 全局配置文件:`/etc/cfgo/cfgo.ini` #### 约束限制 1. 不支持同一个应用二进制启动多个进程实例的情况 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request