diff --git a/_redirect.yaml b/_redirect.yaml index d324f6debd1a4bfe583f948079fe2dbe594ad3a0..e87b12f7545f3692996c624b2172d58f4c5afec7 100644 --- a/_redirect.yaml +++ b/_redirect.yaml @@ -1,3 +1,12 @@ +/docs/en/docs/A-Tune/getting-to-know-a-tune.md: /docs/en/server/performance/atune/getting_to_know_a_tune.md +/docs/en/docs/A-Tune/installation-and-deployment.md: /docs/en/server/performance/atune/installation_and_deployment.md +/docs/en/docs/A-Tune/application-scenarios.md: /docs/en/server/performance/atune/usage_instructions.md +/docs/en/docs/A-Tune/appendixes.md: /docs/en/server/performance/atune/appendix.md +/docs/en/docs/powerapi/powerapi.md: /docs/en/server/performance/powerapi/powerapi.md +/docs/en/docs/powerapi/getting_to_know_powerapi.md: /docs/en/server/performance/powerapi/getting_to_know_powerapi.md +/docs/en/docs/powerapi/installation_usage.md: /docs/en/server/performance/powerapi/installation_usage.md +/docs/en/docs/powerapi/development_using_powerapi.md: /docs/en/server/performance/powerapi/development_using_powerapi.md +/docs/en/docs/Administration/using-the-kae.md: /docs/en/server/performance/kae/using_the_kae.md /docs/zh/docs/Releasenotes/法律声明.md: /docs/zh/server/releasenotes/terms_of_use.md /docs/zh/docs/Releasenotes/简介.md: /docs/zh/server/releasenotes/introduction.md /docs/zh/docs/Releasenotes/用户须知.md: /docs/zh/server/releasenotes/user_notice.md @@ -39,8 +48,8 @@ /docs/zh/docs/Gazelle/Gazelle单网卡功能使用说明.md: /docs/zh/server/network/gazelle/gazelle_single_nic_user_guide.md /docs/zh/docs/Gazelle/Gazelle加速openGauss.md: /docs/zh/server/network/gazelle/gazelle_for_opengauss_acceleration.md /docs/zh/docs/Administration/使用LVM管理硬盘.md: /docs/zh/server/memory_storage/lvm/managing_drives_through_lvm.md -/docs/zh/docs/Administration/使用KAE加速引擎.md: /docs/zh/server/performance/cpu_optimization/kae/using_the_kae.md -/docs/zh/docs/Administration/FUSE加速特性指南.md: /docs/zh/server/performance/cpu_optimization/fuse/fuse_acceleration_feature_guide.md +/docs/zh/docs/Administration/使用KAE加速引擎.md: /docs/zh/server/performance/kae/using_the_kae.md +/docs/zh/docs/Administration/FUSE加速特性指南.md: /docs/zh/server/performance/fuse/fuse_acceleration_feature_guide.md /docs/zh/docs/Administration/可信计算.md: /docs/zh/server/security/trusted_computing/trusted_computing.md /docs/zh/docs/ops_guide/信息收集.md: /docs/zh/server/maintenance/common_skills/information_collection.md /docs/zh/docs/ops_guide/常用技能.md: /docs/zh/server/maintenance/common_skills/common_configurations.md @@ -101,16 +110,16 @@ /docs/zh/docs/safeguard/safeguard用户指南.md: /docs/zh/server/security/safeguard/safeguard_user_guide.md /docs/zh/docs/safeguard/safeguard部署指南.md: /docs/zh/server/security/safeguard/install_safeguard.md /docs/zh/docs/SBOM/SBOM说明.md: /docs/zh/server/security/sbom/sbom.md -/docs/zh/docs/A-Tune/认识A-Tune.md: /docs/zh/server/performance/system_optimization/atune/getting_to_know_a_tune.md -/docs/zh/docs/A-Tune/安装与部署.md: /docs/zh/server/performance/system_optimization/atune/installation_and_deployment.md -/docs/zh/docs/A-Tune/使用方法.md: /docs/zh/server/performance/system_optimization/atune/usage_instructions.md -/docs/zh/docs/A-Tune/附录.md: /docs/zh/server/performance/system_optimization/atune/appendix.md -/docs/zh/docs/powerapi/powerapi.md: /docs/zh/server/performance/system_optimization/powerapi/powerapi.md -/docs/zh/docs/powerapi/认识powerapi.md: /docs/zh/server/performance/system_optimization/powerapi/getting_to_know_powerapi.md -/docs/zh/docs/powerapi/安装与使用.md: /docs/zh/server/performance/system_optimization/powerapi/getting_to_know_powerapi.md -/docs/zh/docs/powerapi/使用powerapi进行开发.md: /docs/zh/server/performance/system_optimization/powerapi/development_using_powerapi.md -/docs/zh/docs/powerapi/eagle安装与使用.md: /docs/zh/server/performance/system_optimization/eagle/eagle_installation_and_usage.md -/docs/zh/docs/oeAware/oeAware用户指南.md: /docs/zh/server/performance/tuning_framework/oeaware/oeaware_user_guide.md +/docs/zh/docs/A-Tune/认识A-Tune.md: /docs/zh/server/performance/atune/getting_to_know_a_tune.md +/docs/zh/docs/A-Tune/安装与部署.md: /docs/zh/server/performance/atune/installation_and_deployment.md +/docs/zh/docs/A-Tune/使用方法.md: /docs/zh/server/performance/atune/usage_instructions.md +/docs/zh/docs/A-Tune/附录.md: /docs/zh/server/performance/atune/appendix.md +/docs/zh/docs/powerapi/powerapi.md: /docs/zh/server/performance/powerapi/powerapi.md +/docs/zh/docs/powerapi/认识powerapi.md: /docs/zh/server/performance/powerapi/getting_to_know_powerapi.md +/docs/zh/docs/powerapi/安装与使用.md: /docs/zh/server/performance/powerapi/installation_usage.md +/docs/zh/docs/powerapi/使用powerapi进行开发.md: /docs/zh/server/performance/powerapi/development_using_powerapi.md +/docs/zh/docs/powerapi/eagle安装与使用.md: /docs/zh/server/performance/eagle/eagle_installation_and_usage.md +/docs/zh/docs/oeAware/oeAware用户指南.md: /docs/zh/server/performance/oeaware/oeaware_user_guide.md /docs/zh/docs/desktop/安装UKUI.md: /docs/zh/tools/desktop/ukui/ukui_installation.md /docs/zh/docs/desktop/UKUIuserguide.md: /docs/zh/tools/desktop/ukui/ukui_user_guide.md /docs/zh/docs/desktop/安装DDE.md: /docs/zh/tools/desktop/dde/dde_installation.md diff --git a/docs/en/server/_toc.yaml b/docs/en/server/_toc.yaml index c067a816bad9233bceecf862f647115d3226266e..bd488d3459a696674650850ec76ef38369df4e30 100644 --- a/docs/en/server/_toc.yaml +++ b/docs/en/server/_toc.yaml @@ -44,15 +44,19 @@ sections: sections: - label: Overview sections: - - href: ./performance/overall/system_resource/_toc.yaml + - href: ./performance/system_resource/_toc.yaml + - label: Tuning Framework + sections: + - href: + upstream: https://gitee.com/openeuler/oeAware-manager/blob/master/docs/en/2203_lts_sp4/_toc.yaml + path: ./performance/oeaware - label: CPU Optimization sections: - - href: ./performance/cpu_optimization/kae/_toc.yaml + - href: ./performance/kae/_toc.yaml - label: System Optimization sections: - - href: ./performance/system_optimization/atune/_toc.yaml - - href: ./performance/tuning_framework/oeaware/_toc.yaml - - href: ./performance/system_optimization/powerapi/_toc.yaml + - href: ./performance/atune/_toc.yaml + - href: ./performance/powerapi/_toc.yaml - label: Application Development sections: - href: ./development/application_dev/_toc.yaml diff --git a/docs/en/server/performance/system_optimization/atune/_toc.yaml b/docs/en/server/performance/atune/_toc.yaml similarity index 100% rename from docs/en/server/performance/system_optimization/atune/_toc.yaml rename to docs/en/server/performance/atune/_toc.yaml diff --git a/docs/en/server/performance/system_optimization/atune/appendix.md b/docs/en/server/performance/atune/appendix.md similarity index 100% rename from docs/en/server/performance/system_optimization/atune/appendix.md rename to docs/en/server/performance/atune/appendix.md diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0213178479.png b/docs/en/server/performance/atune/figures/en-us_image_0213178479.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0213178479.png rename to docs/en/server/performance/atune/figures/en-us_image_0213178479.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0213178480.png b/docs/en/server/performance/atune/figures/en-us_image_0213178480.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0213178480.png rename to docs/en/server/performance/atune/figures/en-us_image_0213178480.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0214540398.png b/docs/en/server/performance/atune/figures/en-us_image_0214540398.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0214540398.png rename to docs/en/server/performance/atune/figures/en-us_image_0214540398.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0227497000.png b/docs/en/server/performance/atune/figures/en-us_image_0227497000.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0227497000.png rename to docs/en/server/performance/atune/figures/en-us_image_0227497000.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0227497343.png b/docs/en/server/performance/atune/figures/en-us_image_0227497343.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0227497343.png rename to docs/en/server/performance/atune/figures/en-us_image_0227497343.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0231122163.png b/docs/en/server/performance/atune/figures/en-us_image_0231122163.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0231122163.png rename to docs/en/server/performance/atune/figures/en-us_image_0231122163.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/en-us_image_0245342444.png b/docs/en/server/performance/atune/figures/en-us_image_0245342444.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/en-us_image_0245342444.png rename to docs/en/server/performance/atune/figures/en-us_image_0245342444.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/picture1.png b/docs/en/server/performance/atune/figures/picture1.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/picture1.png rename to docs/en/server/performance/atune/figures/picture1.png diff --git a/docs/en/server/performance/system_optimization/atune/figures/picture4.png b/docs/en/server/performance/atune/figures/picture4.png similarity index 100% rename from docs/en/server/performance/system_optimization/atune/figures/picture4.png rename to docs/en/server/performance/atune/figures/picture4.png diff --git a/docs/en/server/performance/system_optimization/atune/getting_to_know_a_tune.md b/docs/en/server/performance/atune/getting_to_know_a_tune.md similarity index 100% rename from docs/en/server/performance/system_optimization/atune/getting_to_know_a_tune.md rename to docs/en/server/performance/atune/getting_to_know_a_tune.md diff --git a/docs/en/server/performance/system_optimization/atune/installation_and_deployment.md b/docs/en/server/performance/atune/installation_and_deployment.md similarity index 100% rename from docs/en/server/performance/system_optimization/atune/installation_and_deployment.md rename to docs/en/server/performance/atune/installation_and_deployment.md diff --git a/docs/en/server/performance/system_optimization/atune/usage_instructions.md b/docs/en/server/performance/atune/usage_instructions.md similarity index 100% rename from docs/en/server/performance/system_optimization/atune/usage_instructions.md rename to docs/en/server/performance/atune/usage_instructions.md diff --git a/docs/en/server/performance/cpu_optimization/kae/_toc.yaml b/docs/en/server/performance/kae/_toc.yaml similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/_toc.yaml rename to docs/en/server/performance/kae/_toc.yaml diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/RA-arch-1.png b/docs/en/server/performance/kae/figures/RA-arch-1.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/RA-arch-1.png rename to docs/en/server/performance/kae/figures/RA-arch-1.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/RA-arch-2.png b/docs/en/server/performance/kae/figures/RA-arch-2.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/RA-arch-2.png rename to docs/en/server/performance/kae/figures/RA-arch-2.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/TPCM.png b/docs/en/server/performance/kae/figures/TPCM.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/TPCM.png rename to docs/en/server/performance/kae/figures/TPCM.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/creat_datadisk.png b/docs/en/server/performance/kae/figures/creat_datadisk.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/creat_datadisk.png rename to docs/en/server/performance/kae/figures/creat_datadisk.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/creat_datadisk1.png b/docs/en/server/performance/kae/figures/creat_datadisk1.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/creat_datadisk1.png rename to docs/en/server/performance/kae/figures/creat_datadisk1.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e-1.png b/docs/en/server/performance/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e-1.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e-1.png rename to docs/en/server/performance/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e-1.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e.png b/docs/en/server/performance/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e.png rename to docs/en/server/performance/kae/figures/d1376b2a-d036-41c4-b852-e8368f363b5e.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0229622729.png b/docs/en/server/performance/kae/figures/en-us_image_0229622729.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0229622729.png rename to docs/en/server/performance/kae/figures/en-us_image_0229622729.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0229622789.png b/docs/en/server/performance/kae/figures/en-us_image_0229622789.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0229622789.png rename to docs/en/server/performance/kae/figures/en-us_image_0229622789.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0230050789.png b/docs/en/server/performance/kae/figures/en-us_image_0230050789.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0230050789.png rename to docs/en/server/performance/kae/figures/en-us_image_0230050789.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143189.png b/docs/en/server/performance/kae/figures/en-us_image_0231143189.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143189.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143189.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143191.png b/docs/en/server/performance/kae/figures/en-us_image_0231143191.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143191.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143191.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143193.png b/docs/en/server/performance/kae/figures/en-us_image_0231143193.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143193.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143193.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143195.png b/docs/en/server/performance/kae/figures/en-us_image_0231143195.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143195.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143195.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143196.png b/docs/en/server/performance/kae/figures/en-us_image_0231143196.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143196.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143196.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143197.png b/docs/en/server/performance/kae/figures/en-us_image_0231143197.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143197.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143197.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143198.png b/docs/en/server/performance/kae/figures/en-us_image_0231143198.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231143198.png rename to docs/en/server/performance/kae/figures/en-us_image_0231143198.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563132.png b/docs/en/server/performance/kae/figures/en-us_image_0231563132.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563132.png rename to docs/en/server/performance/kae/figures/en-us_image_0231563132.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563134.png b/docs/en/server/performance/kae/figures/en-us_image_0231563134.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563134.png rename to docs/en/server/performance/kae/figures/en-us_image_0231563134.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563135.png b/docs/en/server/performance/kae/figures/en-us_image_0231563135.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563135.png rename to docs/en/server/performance/kae/figures/en-us_image_0231563135.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563136.png b/docs/en/server/performance/kae/figures/en-us_image_0231563136.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/en-us_image_0231563136.png rename to docs/en/server/performance/kae/figures/en-us_image_0231563136.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/etmem-system-architecture-en.png b/docs/en/server/performance/kae/figures/etmem-system-architecture-en.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/etmem-system-architecture-en.png rename to docs/en/server/performance/kae/figures/etmem-system-architecture-en.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/example-command-output.png b/docs/en/server/performance/kae/figures/example-command-output.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/example-command-output.png rename to docs/en/server/performance/kae/figures/example-command-output.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/ima_digest_list_update.png b/docs/en/server/performance/kae/figures/ima_digest_list_update.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/ima_digest_list_update.png rename to docs/en/server/performance/kae/figures/ima_digest_list_update.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/ima_performance.png b/docs/en/server/performance/kae/figures/ima_performance.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/ima_performance.png rename to docs/en/server/performance/kae/figures/ima_performance.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/ima_verification.png b/docs/en/server/performance/kae/figures/ima_verification.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/ima_verification.png rename to docs/en/server/performance/kae/figures/ima_verification.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/login.png b/docs/en/server/performance/kae/figures/login.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/login.png rename to docs/en/server/performance/kae/figures/login.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/mariadb-logical-architecture.png b/docs/en/server/performance/kae/figures/mariadb-logical-architecture.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/mariadb-logical-architecture.png rename to docs/en/server/performance/kae/figures/mariadb-logical-architecture.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/nginx-deployment-succeeded.png b/docs/en/server/performance/kae/figures/nginx-deployment-succeeded.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/nginx-deployment-succeeded.png rename to docs/en/server/performance/kae/figures/nginx-deployment-succeeded.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/nginx-startup-failure.png b/docs/en/server/performance/kae/figures/nginx-startup-failure.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/nginx-startup-failure.png rename to docs/en/server/performance/kae/figures/nginx-startup-failure.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/postgres.png b/docs/en/server/performance/kae/figures/postgres.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/postgres.png rename to docs/en/server/performance/kae/figures/postgres.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/postgresql-architecture.png b/docs/en/server/performance/kae/figures/postgresql-architecture.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/postgresql-architecture.png rename to docs/en/server/performance/kae/figures/postgresql-architecture.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/the-nginx-service-is-successfully-started.png b/docs/en/server/performance/kae/figures/the-nginx-service-is-successfully-started.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/the-nginx-service-is-successfully-started.png rename to docs/en/server/performance/kae/figures/the-nginx-service-is-successfully-started.png diff --git a/docs/en/server/performance/cpu_optimization/kae/figures/trusted_chain.png b/docs/en/server/performance/kae/figures/trusted_chain.png similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/figures/trusted_chain.png rename to docs/en/server/performance/kae/figures/trusted_chain.png diff --git a/docs/en/server/performance/cpu_optimization/kae/using_the_kae.md b/docs/en/server/performance/kae/using_the_kae.md similarity index 100% rename from docs/en/server/performance/cpu_optimization/kae/using_the_kae.md rename to docs/en/server/performance/kae/using_the_kae.md diff --git a/docs/en/server/performance/system_optimization/powerapi/_toc.yaml b/docs/en/server/performance/powerapi/_toc.yaml similarity index 100% rename from docs/en/server/performance/system_optimization/powerapi/_toc.yaml rename to docs/en/server/performance/powerapi/_toc.yaml diff --git a/docs/en/server/performance/system_optimization/powerapi/development_using_powerapi.md b/docs/en/server/performance/powerapi/development_using_powerapi.md similarity index 100% rename from docs/en/server/performance/system_optimization/powerapi/development_using_powerapi.md rename to docs/en/server/performance/powerapi/development_using_powerapi.md diff --git a/docs/en/server/performance/system_optimization/powerapi/getting_to_know_powerapi.md b/docs/en/server/performance/powerapi/getting_to_know_powerapi.md similarity index 100% rename from docs/en/server/performance/system_optimization/powerapi/getting_to_know_powerapi.md rename to docs/en/server/performance/powerapi/getting_to_know_powerapi.md diff --git a/docs/en/server/performance/system_optimization/powerapi/installation_usage.md b/docs/en/server/performance/powerapi/installation_usage.md similarity index 76% rename from docs/en/server/performance/system_optimization/powerapi/installation_usage.md rename to docs/en/server/performance/powerapi/installation_usage.md index d911a955c014e5938c613f2cf5897167669cf5bb..d3fe4b790e828a6123db7bc96d93c4a1f1e03ed1 100644 --- a/docs/en/server/performance/system_optimization/powerapi/installation_usage.md +++ b/docs/en/server/performance/powerapi/installation_usage.md @@ -10,5 +10,5 @@ yum install powerapi ## Usage -After powerapi is installed, pwarapis automatically runs to provide power consumption management services for eagle and third-party systems. +After powerapi is installed, pwrapis automatically runs to provide power consumption management services for eagle and third-party systems. Currently, powerapi cannot be used through the CLI. To use a powerapi function, you need to install powerapi-devel and call the functions after the header file is included in the source code. For details, see [Development Using powerapi](development_using_powerapi.md). diff --git a/docs/en/server/performance/system_optimization/powerapi/powerapi.md b/docs/en/server/performance/powerapi/powerapi.md similarity index 100% rename from docs/en/server/performance/system_optimization/powerapi/powerapi.md rename to docs/en/server/performance/powerapi/powerapi.md diff --git a/docs/en/server/performance/overall/system_resource/_toc.yaml b/docs/en/server/performance/system_resource/_toc.yaml similarity index 100% rename from docs/en/server/performance/overall/system_resource/_toc.yaml rename to docs/en/server/performance/system_resource/_toc.yaml diff --git a/docs/en/server/performance/overall/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png b/docs/en/server/performance/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png rename to docs/en/server/performance/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001321685172.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001321685172.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001321685172.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001321685172.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322112990.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001322112990.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322112990.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001322112990.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322219840.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001322219840.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322219840.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001322219840.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322372918.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001322372918.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322372918.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001322372918.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322379488.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001322379488.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001322379488.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001322379488.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001335457246.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001335457246.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001335457246.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001335457246.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337000118.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337000118.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337000118.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337000118.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337039920.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337039920.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337039920.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337039920.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337053248.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337053248.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337053248.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337053248.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337172594.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337172594.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337172594.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337172594.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337260780.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337260780.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337260780.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337260780.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337420372.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337420372.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337420372.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337420372.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337533690.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337533690.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337533690.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337533690.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337536842.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337536842.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337536842.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337536842.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337580216.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337580216.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337580216.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337580216.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337696078.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337696078.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337696078.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337696078.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337740252.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337740252.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337740252.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337740252.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337740540.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001337740540.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001337740540.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001337740540.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372249333.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001372249333.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372249333.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001372249333.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372748125.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001372748125.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372748125.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001372748125.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372821865.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001372821865.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372821865.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001372821865.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372824637.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001372824637.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001372824637.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001372824637.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001373373585.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001373373585.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001373373585.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001373373585.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001373379529.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001373379529.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001373379529.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001373379529.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001384808269.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001384808269.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001384808269.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001384808269.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001385585749.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001385585749.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001385585749.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001385585749.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001385611905.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001385611905.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001385611905.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001385611905.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001386699925.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001386699925.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001386699925.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001386699925.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387293085.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387293085.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387293085.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387293085.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387413509.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387413509.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387413509.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387413509.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387413793.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387413793.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387413793.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387413793.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387415629.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387415629.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387415629.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387415629.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387692269.jpg b/docs/en/server/performance/system_resource/images/en-us_image_0000001387692269.jpg similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387692269.jpg rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387692269.jpg diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387692893.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387692893.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387692893.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387692893.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387755969.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387755969.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387755969.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387755969.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387780357.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387780357.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387780357.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387780357.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387855149.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387855149.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387855149.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387855149.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387857005.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001387857005.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001387857005.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001387857005.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001388020197.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001388020197.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001388020197.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001388020197.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001388972645.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001388972645.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001388972645.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001388972645.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_image_0000001389098425.png b/docs/en/server/performance/system_resource/images/en-us_image_0000001389098425.png similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_image_0000001389098425.png rename to docs/en/server/performance/system_resource/images/en-us_image_0000001389098425.png diff --git a/docs/en/server/performance/overall/system_resource/images/en-us_other_0000001337581224.jpeg b/docs/en/server/performance/system_resource/images/en-us_other_0000001337581224.jpeg similarity index 100% rename from docs/en/server/performance/overall/system_resource/images/en-us_other_0000001337581224.jpeg rename to docs/en/server/performance/system_resource/images/en-us_other_0000001337581224.jpeg diff --git a/docs/en/server/performance/overall/system_resource/system_resources_and_performance.md b/docs/en/server/performance/system_resource/system_resources_and_performance.md similarity index 100% rename from docs/en/server/performance/overall/system_resource/system_resources_and_performance.md rename to docs/en/server/performance/system_resource/system_resources_and_performance.md diff --git a/docs/en/server/performance/tuning_framework/oeaware/_toc.yaml b/docs/en/server/performance/tuning_framework/oeaware/_toc.yaml deleted file mode 100644 index 20851b39eba289b6deefa462e916491a972a285e..0000000000000000000000000000000000000000 --- a/docs/en/server/performance/tuning_framework/oeaware/_toc.yaml +++ /dev/null @@ -1,6 +0,0 @@ -label: oeAware User Guide -isManual: true -description: oeAware is a framework that provides low-load collection, sensing, and tuning on openEuler -sections: - - label: oeAware User Guide - href: ./oeaware_user_guide.md diff --git a/docs/en/server/performance/tuning_framework/oeaware/figures/dep-failed.png b/docs/en/server/performance/tuning_framework/oeaware/figures/dep-failed.png deleted file mode 100644 index afb4750135657876b455978bf9d8f5eff36be91e..0000000000000000000000000000000000000000 Binary files a/docs/en/server/performance/tuning_framework/oeaware/figures/dep-failed.png and /dev/null differ diff --git a/docs/en/server/performance/tuning_framework/oeaware/figures/dep.png b/docs/en/server/performance/tuning_framework/oeaware/figures/dep.png deleted file mode 100644 index 91388d6a860f032c86c0559b232f2d5ef55a40f8..0000000000000000000000000000000000000000 Binary files a/docs/en/server/performance/tuning_framework/oeaware/figures/dep.png and /dev/null differ diff --git a/docs/en/server/performance/tuning_framework/oeaware/figures/dependency.png b/docs/en/server/performance/tuning_framework/oeaware/figures/dependency.png deleted file mode 100644 index 0cd087fb0c9095e63aa76e0d2464a92225af2399..0000000000000000000000000000000000000000 Binary files a/docs/en/server/performance/tuning_framework/oeaware/figures/dependency.png and /dev/null differ diff --git a/docs/en/server/performance/tuning_framework/oeaware/oeaware_user_guide.md b/docs/en/server/performance/tuning_framework/oeaware/oeaware_user_guide.md deleted file mode 100644 index 6064739c425608c6ceb51333fe016936b273f142..0000000000000000000000000000000000000000 --- a/docs/en/server/performance/tuning_framework/oeaware/oeaware_user_guide.md +++ /dev/null @@ -1,521 +0,0 @@ -# oeAware User Guide - -## Introduction - -oeAware is a framework for implementing low-load collection, sensing, and tuning on openEuler. It aims to intelligently enable optimization features after dynamically detecting system behaviors. Traditional optimization features run independently and are statically enabled or disabled. oeAware divides optimization into three layers: collection, sensing, and tuning. Each layer is associated through subscription and is developed as plugins. - -## Plugin Description - -**Plugin definition**: Each plugin corresponds to an .so file. Plugins are classified into collection plugins, sensing plugins, and tuning plugins. - -**Instance definition**: The scheduling unit in the service is instance. A plugin contains multiple instances. For example, a collection plugin includes multiple collection items, and each collection item is an instance. - -**Dependencies Between Instances** - -Before running an instance, ensure that the dependency between the instances is met. - -![img](./figures/dependency.png) - -- A collection instance does not depend on any other instance. - -- A sensing instance depends on a collection instance and other sensing instances. - -- A tuning instance depends on a collection instance, sensing instance, and other tuning instances. - -## Installation - -Configure the openEuler Yum repository and run the `yum` commands to install oeAware. on openEuler 22.03 LTS SP4, oeAware has been installed by default. - -```shell -yum install oeAware-manager -``` - -### Service Startup - -Run the `systemd` command to start the service. - -```shell -systemctl start oeaware -``` - -Skip this step - -Configuration file path: **/etc/oeAware/config.yaml** - -```yaml -log_path: /var/log/oeAware # Log storage path -log_level: 1 # Log level. 1: DEBUG; 2: INFO; 3: WARN; 4: ERROR. -enable_list: # Plugins are enabled by default. - - name: libtest.so # Configure the plugin and enable all instances of the plugin. - - name: libtest1.so # Configure the plugin and enable the specified plugin instances. - instances: - - instance1 - - instance2 - ... - ... -plugin_list: # Downloaded packages are supported. - - name: test #The name must be unique. If the name is repeated, the first occurrence is used. - description: hello world - url: https://gitee.com/openeuler/oeAware-manager/raw/master/README.md #url must not be empty. - ... -``` - -After modifying the configuration file, run the following commands to restart the service: - -```shell -systemctl daemon-reload -systemctl restart oeaware -``` - -## Usage - -Start the oeaware service. Then, manage plugins and instances using the `oeawarectl` command, which supports loading, unloading, and querying plugins, along with enabling, disabling, and querying instances. - -### Plugin Loading - -By default, the service loads the plugins in the plugin storage paths. - -Collection plugin path: /usr/lib64/oeAware-plugin/collector - -Sensing plugin path: /usr/lib64/oeAware-plugin/scenario - -Tuning plugin path: /usr/lib64/oeAware-plugin/tune - -You can also manually load the plugins. - -```shell -oeawarectl -l | --load -t | --type # plugin type can be collector, scenario, or tune -``` - -Example - -```shell -[root@localhost ~]# oeawarectl -l libthread_collect.so -t collector -Plugin loaded successfully. -``` - -If the operation fails, an error description is returned. - -### Plugin Unloading - -```shell -oeawarectl -r | --remove -``` - -Example - -```shell -[root@localhost ~]# oeawarectl -r libthread_collect.so -Plugin remove successfully. -``` - -If the operation fails, an error description is returned. - -### Plugin Query - -#### Querying Plugin Status - -```shell -oeawarectl -q # Query all loaded plugins. -oeawarectl --query # Query a specified plugin. -``` - -Example - -```shell -[root@localhost ~]# oeawarectl -q -Show plugins and instances status. ------------------------------------------------------------- -libthread_collector.so - thread_collector(available, close) # Plugin instance and status -libpmu.so - pmu_cycles_sampling(available, close) - pmu_cycles_counting(available, close) - pmu_uncore_counting(available, close) - pmu_spe_sampling(available, close) -libthread_tune.so - thread_tune(available, close) -libthread_scenario.so - thread_scenario(available, close) ------------------------------------------------------------- -format: -[plugin] - [instance]([dependency status], [running status]) -dependency status: available means satisfying dependency, otherwise unavailable. -running status: running means that instance is running, otherwise close. -``` - -If the operation fails, an error description is returned. - -#### Querying Plugin Dependencies - -```shell -oeawarectl -Q # Query the dependency graph of loaded instances. -oeawarectl --query-dep= # Query the dependency graph of a specified instance. -``` - -A **dep.png** file will be generated in the current directory to display the dependencies. - -Example - -Relationship diagram when dependencies are met - -![img](./figures/dep.png) - -Relationship diagram when dependencies are not met - -![img](./figures/dep-failed.png) - -If the operation fails, an error description is returned. - -### Enabling Plugins - -#### Enabling a Plugin Instance - -```shell -oeawarectl -e | --enable -``` - -If the operation fails, an error description is returned. - -#### Disabling a Plugin Instance - -```shell -oeawarectl -d | --disable -``` - -If the operation fails, an error description is returned. - -### Downloading and Installing Plugins - -Use the `--list` command to query the RPM packages that can be downloaded and installed plugins. - -```shell -oeawarectl --list -``` - -The query result is as follows: - -```shell -Supported Packages: # Downloadable packages -[name1] # plugin_list configured in config -[name2] -... -Installed Plugins: # Installed plugins -[name1] -[name2] -... -``` - -Use the `--install` command to download and install the RPM package. - -```shell -oeawarectl -i | --install # Name of a package queried using --list (package in Supported Packages) -``` - -If the operation fails, an error description is returned. - -### Help - -Use the `--help` command for help information. - -```shell -usage: oeawarectl [options]... - options - -l|--load [plugin] load plugin and need plugin type. - -t|--type [plugin_type] assign plugin type. there are three types: - collector: collection plugin. - scenario: awareness plugin. - tune: tune plugin. - -r|--remove [plugin] remove plugin from system. - -e|--enable [instance] enable the plugin instance. - -d|--disable [instance] disable the plugin instance. - -q query all plugins information. - --query [plugin] query the plugin information. - -Q query all instances dependencies. - --query-dep [instance] query the instance dependency. - --list the list of supported plugins. - -i|--install [plugin] install plugin from the list. - --help show this help message. -``` - -## Plugin Development - -### Common Data Structures of Plugins - -```c -struct DataBuf { - int len; - void *data; -}; -``` - -**struct DataBuf** is the data buffer. - -- **data**: specific data. **data** is an array. The data type can be defined as required. -- len: size of **data**. - -```c -struct DataRingBuf { - const char *instance_name; - int index; - uint64_t count; - struct DataBuf *buf; - int buf_len; -}; -``` - -**struct DataRingBuf** facilitates data transfer between plugins, primarily utilizing a circular buffer. - -- **instance_name**: instance of the incoming data. For instance, when data reaches a perception plugin, it distinguishes which collection item belongs to which collection plugin. - -- **index**: current data write position. For example, after each data collection, the index increments. - -- **count**: execution count of the instance, continuously accumulating. - -- **buf**: data buffer. Some collection items require multiple samplings before the perception plugin processes them, so the buf array stores these samples. - -- **buf_len**: size of the data buffer. Once the buffer is initialized, **buf_len** remains constant. - -```C -struct Param { - const struct DataRingBuf **ring_bufs; - int len; -}; -``` - -- **ring_bufs**: data required by the instance, sourced from other instances. -- **len**: length of the **ring_bufs** array. - -### Instance Interfaces - -```C -struct Interface { - const char* (*get_version)(); - /* The instance name is a unique identifier in the system. */ - const char* (*get_name)(); - const char* (*get_description)(); - /* Specifies the instance dependencies, which is used as the input information - * for instance execution. - */ - const char* (*get_dep)(); - /* Instance scheduling priority. In a uniform time period, a instance with a - * lower priority is scheduled first. - */ - int (*get_priority)(); - int (*get_type)(); - /* Instance execution period. */ - int (*get_period)(); - bool (*enable)(); - void (*disable)(); - const struct DataRingBuf* (*get_ring_buf)(); - void (*run)(const struct Param*); -}; -``` - -```c -int get_instance(Interface **interface); -``` - -Every plugin includes a **get_instance** function to provide instances to the framework. - -Obtaining the version number - -1. Interface definition - - ```c - char* (*get_version)(); - ``` - -2. Interface description - -3. Parameter description - -4. Return value description - - The specific version number is returned. This interface is reserved. - -Obtaining the instance name - -1. Interface definition - - ```c - char* (*get_name)(); - ``` - -2. Interface description - - Obtains the name of an instance. When you run the `-q` command on the client, the instance name is displayed. In addition, you can run the `--enable` command to enable the instance. - -3. Parameter description - -4. Return value description - - The name of the instance is returned. Ensure that the instance name is unique. - -Obtaining description information - -1. Interface definition - - ```c - char* (*get_description)(); - ``` - -2. Interface description - -3. Parameter description - -4. Return value description - - The detailed description is returned. This interface is reserved. - -Obtaining the type - -1. Interface definition - - ```c - char* (*get_type)(); - ``` - -2. Interface description - -3. Parameter description - -4. Return value description - - The specific type information is returned. This interface is reserved. - -Obtaining the sampling period - -1. Interface definition - - ```c - int (*get_cycle)(); - ``` - -2. Interface description - - Obtains the sampling period. Different collection items can use different collection periods. - -3. Parameter description - -4. Return value description - - The specific sampling period is returned. The unit is ms. - -Obtaining dependencies - -1. Interface definition - - ```c - char* (*get_dep)(); - ``` - -2. Interface description - -3. Parameter description - -4. Return value description - - Information about the dependent instances is returned. This interface is reserved. - -Enabling an instance - -1. Interface definition - - ```c - void (*enable)(); - ``` - -2. Interface description - - Enables an instance. - -3. Parameter description - -4. Return value description - -Disabling an instance - -1. Interface definition - - ```c - void (*disable)(); - ``` - -2. Interface description - - Disables an instance. - -3. Parameter description - -4. Return value description - -Obtaining the data buffer - -1. Interface definition - - ```c - const DataRingBuf* (*get_ring_buf)(); - ``` - -2. Interface description - - Obtains the buffer management pointer of the collection data (the memory is applied for by the plugin). The pointer is used by sensing plugins. - -3. Parameter description - -4. Return value description - - The **struct DataRingBuf** management pointer is returned. - -Executing an instance - -1. Interface definition - - ```c - void (*run)(const Param*); - ``` - -2. Interface description - - Runs at regular intervals according to the execution cycle. - -3. Parameter description - - Contains the data necessary for the instance to execute. - -4. Return value description - -## Supported Plugins - -- **libpmu.so**: collects PMU-related data. -- **libthread_collector.so**: gathers thread information within the system. -- **libthread_scenario.so**: monitors details of a specific thread. -- **libthread_tune.so**: enhances UnixBench performance. -- **libsmc_tune.so**: enables SMC acceleration for seamless TCP protocol performance improvements. -- **libtune_numa.so**: optimizes cross-NUMA node memory access to boost system performance. - -## Constraints - -### Function Constraints - -By default, oeAware integrates the libkperf module for collecting Arm microarchitecture information. This module can be called by only one process at a time. If this module is called by other processes or the perf command is used, conflicts may occur. - -### Operation Constraints - -Currently, only the **root** user can operate oeAware. - -## Notes - -The user group and permission of the oeAware configuration file and plugins are strictly verified. Do not modify the permissions and user group of oeAware-related files. - -Permissions: - -- Plugin files: 440 - -- Client executable file: 750 - -- Server executable file: 750 - -- Service configuration file: 640 diff --git a/docs/zh/server/_toc.yaml b/docs/zh/server/_toc.yaml index 397fd1eda9c8771c7a15dea37a28a47e247e39f8..9c63f3094fcd704abaf95ffe39d0b1bdbafcefe3 100644 --- a/docs/zh/server/_toc.yaml +++ b/docs/zh/server/_toc.yaml @@ -45,21 +45,23 @@ sections: sections: - label: 概述 sections: - - href: ./performance/overall/system_resource/_toc.yaml + - href: ./performance/system_resource/_toc.yaml - label: 调优框架 sections: - - href: ./performance/tuning_framework/oeaware/_toc.yaml + - href: + upstream: https://gitee.com/openeuler/oeAware-manager/blob/master/docs/zh/2203_lts_sp4/_toc.yaml + path: ./performance/oeaware - label: CPU调优 sections: - - href: ./performance/cpu_optimization/kae/_toc.yaml + - href: ./performance/kae/_toc.yaml - label: 存储调优 sections: - - href: ./performance/storage_optimization/fuse/_toc.yaml + - href: ./performance/fuse/_toc.yaml - label: 系统调优 sections: - - href: ./performance/system_optimization/atune/_toc.yaml - - href: ./performance/system_optimization/powerapi/_toc.yaml - - href: ./performance/system_optimization/eagle/_toc.yaml + - href: ./performance/atune/_toc.yaml + - href: ./performance/eagle/_toc.yaml + - href: ./performance/powerapi/_toc.yaml - label: 应用开发 sections: - href: ./development/application_dev/_toc.yaml diff --git a/docs/zh/server/performance/system_optimization/atune/_toc.yaml b/docs/zh/server/performance/atune/_toc.yaml similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/_toc.yaml rename to docs/zh/server/performance/atune/_toc.yaml diff --git a/docs/zh/server/performance/system_optimization/atune/appendix.md b/docs/zh/server/performance/atune/appendix.md similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/appendix.md rename to docs/zh/server/performance/atune/appendix.md diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0213178479.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0213178479.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0213178479.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0213178479.png diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0213178480.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0213178480.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0213178480.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0213178480.png diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0214540398.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0214540398.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0214540398.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0214540398.png diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0227497000.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0227497000.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0227497000.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0227497000.png diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0227497343.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0227497343.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0227497343.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0227497343.png diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0231122163.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0231122163.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0231122163.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0231122163.png diff --git a/docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0245342444.png b/docs/zh/server/performance/atune/figures/zh-cn_image_0245342444.png similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/figures/zh-cn_image_0245342444.png rename to docs/zh/server/performance/atune/figures/zh-cn_image_0245342444.png diff --git a/docs/zh/server/performance/system_optimization/atune/getting_to_know_a_tune.md b/docs/zh/server/performance/atune/getting_to_know_a_tune.md similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/getting_to_know_a_tune.md rename to docs/zh/server/performance/atune/getting_to_know_a_tune.md diff --git a/docs/zh/server/performance/system_optimization/atune/installation_and_deployment.md b/docs/zh/server/performance/atune/installation_and_deployment.md similarity index 98% rename from docs/zh/server/performance/system_optimization/atune/installation_and_deployment.md rename to docs/zh/server/performance/atune/installation_and_deployment.md index 703a9a6eb7be2074b5ae213fe539357de632ced3..11eba164e2628a4bf625cde61cae41e94c0c36f6 100644 --- a/docs/zh/server/performance/system_optimization/atune/installation_and_deployment.md +++ b/docs/zh/server/performance/atune/installation_and_deployment.md @@ -14,7 +14,7 @@ ## 环境准备 -- 安装openEuler系统,安装方法参考 《[openEuler 22.03 LTS SP4安装指南](./../../../installation_upgrade/installation/installation_guide.md)》。 +- 安装openEuler系统,安装方法参考 [《openEuler 22.03 LTS SP4安装指南》](./../../installation_upgrade/installation/installation_guide.md)。 - 安装A-Tune需要使用root权限。 diff --git a/docs/zh/server/performance/system_optimization/atune/usage_instructions.md b/docs/zh/server/performance/atune/usage_instructions.md similarity index 100% rename from docs/zh/server/performance/system_optimization/atune/usage_instructions.md rename to docs/zh/server/performance/atune/usage_instructions.md diff --git a/docs/zh/server/performance/system_optimization/eagle/_toc.yaml b/docs/zh/server/performance/eagle/_toc.yaml similarity index 100% rename from docs/zh/server/performance/system_optimization/eagle/_toc.yaml rename to docs/zh/server/performance/eagle/_toc.yaml diff --git a/docs/zh/server/performance/system_optimization/eagle/eagle_installation_and_usage.md b/docs/zh/server/performance/eagle/eagle_installation_and_usage.md similarity index 100% rename from docs/zh/server/performance/system_optimization/eagle/eagle_installation_and_usage.md rename to docs/zh/server/performance/eagle/eagle_installation_and_usage.md diff --git a/docs/zh/server/performance/storage_optimization/fuse/_toc.yaml b/docs/zh/server/performance/fuse/_toc.yaml similarity index 100% rename from docs/zh/server/performance/storage_optimization/fuse/_toc.yaml rename to docs/zh/server/performance/fuse/_toc.yaml diff --git a/docs/zh/server/performance/storage_optimization/fuse/fuse_acceleration_feature_guide.md b/docs/zh/server/performance/fuse/fuse_acceleration_feature_guide.md similarity index 100% rename from docs/zh/server/performance/storage_optimization/fuse/fuse_acceleration_feature_guide.md rename to docs/zh/server/performance/fuse/fuse_acceleration_feature_guide.md diff --git a/docs/zh/server/performance/cpu_optimization/kae/_toc.yaml b/docs/zh/server/performance/kae/_toc.yaml similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/_toc.yaml rename to docs/zh/server/performance/kae/_toc.yaml diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143189.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143189.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143189.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143189.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143191.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143191.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143191.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143191.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143193.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143193.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143193.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143193.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143195.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143195.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143195.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143195.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143196.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143196.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143196.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143196.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143197.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143197.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143197.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143197.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143198.png b/docs/zh/server/performance/kae/figures/zh-cn_image_0231143198.png similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/figures/zh-cn_image_0231143198.png rename to docs/zh/server/performance/kae/figures/zh-cn_image_0231143198.png diff --git a/docs/zh/server/performance/cpu_optimization/kae/using_the_kae.md b/docs/zh/server/performance/kae/using_the_kae.md similarity index 100% rename from docs/zh/server/performance/cpu_optimization/kae/using_the_kae.md rename to docs/zh/server/performance/kae/using_the_kae.md diff --git a/docs/zh/server/performance/system_optimization/powerapi/_toc.yaml b/docs/zh/server/performance/powerapi/_toc.yaml similarity index 100% rename from docs/zh/server/performance/system_optimization/powerapi/_toc.yaml rename to docs/zh/server/performance/powerapi/_toc.yaml diff --git a/docs/zh/server/performance/system_optimization/powerapi/development_using_powerapi.md b/docs/zh/server/performance/powerapi/development_using_powerapi.md similarity index 100% rename from docs/zh/server/performance/system_optimization/powerapi/development_using_powerapi.md rename to docs/zh/server/performance/powerapi/development_using_powerapi.md diff --git a/docs/zh/server/performance/system_optimization/powerapi/getting_to_know_powerapi.md b/docs/zh/server/performance/powerapi/getting_to_know_powerapi.md similarity index 100% rename from docs/zh/server/performance/system_optimization/powerapi/getting_to_know_powerapi.md rename to docs/zh/server/performance/powerapi/getting_to_know_powerapi.md diff --git a/docs/zh/server/performance/system_optimization/powerapi/installation_usage.md b/docs/zh/server/performance/powerapi/installation_usage.md similarity index 100% rename from docs/zh/server/performance/system_optimization/powerapi/installation_usage.md rename to docs/zh/server/performance/powerapi/installation_usage.md diff --git a/docs/zh/server/performance/system_optimization/powerapi/powerapi.md b/docs/zh/server/performance/powerapi/powerapi.md similarity index 100% rename from docs/zh/server/performance/system_optimization/powerapi/powerapi.md rename to docs/zh/server/performance/powerapi/powerapi.md diff --git a/docs/zh/server/performance/overall/system_resource/_toc.yaml b/docs/zh/server/performance/system_resource/_toc.yaml similarity index 100% rename from docs/zh/server/performance/overall/system_resource/_toc.yaml rename to docs/zh/server/performance/system_resource/_toc.yaml diff --git a/docs/zh/server/performance/overall/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png b/docs/zh/server/performance/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png rename to docs/zh/server/performance/system_resource/images/c50cb9df64f4659787c810167c89feb4_1884x257.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001321685172.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001321685172.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001321685172.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001321685172.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322112990.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322112990.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322112990.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322112990.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322219840.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322219840.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322219840.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322219840.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322372918.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322372918.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322372918.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322372918.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322379488.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322379488.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001322379488.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001322379488.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001335457246.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001335457246.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001335457246.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001335457246.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001335816300.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001335816300.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001335816300.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001335816300.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001336448570.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001336448570.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001336448570.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001336448570.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001336729664.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001336729664.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001336729664.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001336729664.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337000118.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337000118.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337000118.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337000118.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337039920.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337039920.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337039920.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337039920.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337051916.jpg b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337051916.jpg similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337051916.jpg rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337051916.jpg diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337053248.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337053248.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337053248.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337053248.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337172594.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337172594.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337172594.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337172594.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337212144.jpg b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337212144.jpg similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337212144.jpg rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337212144.jpg diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337260780.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337260780.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337260780.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337260780.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337268560.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337268560.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337268560.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337268560.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337268820.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337268820.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337268820.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337268820.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337419960.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337419960.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337419960.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337419960.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337420372.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337420372.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337420372.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337420372.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337422904.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337422904.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337422904.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337422904.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337424024.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337424024.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337424024.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337424024.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337424304.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337424304.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337424304.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337424304.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337427216.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337427216.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337427216.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337427216.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337427392.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337427392.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337427392.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337427392.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337533690.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337533690.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337533690.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337533690.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337536842.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337536842.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337536842.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337536842.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337579708.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337579708.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337579708.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337579708.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337580216.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337580216.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337580216.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337580216.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337584296.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337584296.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337584296.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337584296.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337696078.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337696078.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337696078.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337696078.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337740252.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337740252.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337740252.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337740252.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337740540.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337740540.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337740540.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337740540.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337747132.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337747132.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337747132.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337747132.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337748300.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337748300.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337748300.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337748300.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337748528.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337748528.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001337748528.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001337748528.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372249333.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372249333.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372249333.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372249333.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372748125.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372748125.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372748125.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372748125.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372821865.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372821865.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372821865.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372821865.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372824637.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372824637.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001372824637.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001372824637.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001373373585.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001373373585.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001373373585.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001373373585.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001373379529.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001373379529.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001373379529.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001373379529.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001384808269.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001384808269.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001384808269.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001384808269.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001385585749.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001385585749.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001385585749.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001385585749.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001385611905.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001385611905.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001385611905.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001385611905.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001385905845.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001385905845.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001385905845.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001385905845.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001386149037.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001386149037.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001386149037.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001386149037.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001386699925.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001386699925.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001386699925.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001386699925.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387293085.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387293085.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387293085.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387293085.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387413509.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387413509.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387413509.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387413509.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387413793.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387413793.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387413793.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387413793.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387415629.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387415629.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387415629.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387415629.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387691985.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387691985.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387691985.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387691985.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387692269.jpg b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387692269.jpg similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387692269.jpg rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387692269.jpg diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387692893.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387692893.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387692893.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387692893.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387755969.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387755969.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387755969.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387755969.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387780357.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387780357.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387780357.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387780357.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387784693.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387784693.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387784693.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387784693.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387787605.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387787605.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387787605.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387787605.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387855149.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387855149.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387855149.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387855149.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387857005.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387857005.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387857005.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387857005.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387902849.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387902849.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387902849.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387902849.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387907229.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387907229.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387907229.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387907229.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387908045.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387908045.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387908045.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387908045.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387908453.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387908453.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387908453.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387908453.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387961737.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387961737.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001387961737.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001387961737.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388020197.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388020197.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388020197.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388020197.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388024321.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388024321.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388024321.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388024321.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388024397.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388024397.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388024397.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388024397.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388028161.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388028161.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388028161.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388028161.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388028537.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388028537.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388028537.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388028537.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388184025.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388184025.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388184025.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388184025.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388187249.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388187249.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388187249.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388187249.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388187325.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388187325.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388187325.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388187325.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388188365.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388188365.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388188365.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388188365.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388241577.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388241577.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388241577.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388241577.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388972645.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388972645.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001388972645.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001388972645.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001389098425.png b/docs/zh/server/performance/system_resource/images/zh-cn_image_0000001389098425.png similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_image_0000001389098425.png rename to docs/zh/server/performance/system_resource/images/zh-cn_image_0000001389098425.png diff --git a/docs/zh/server/performance/overall/system_resource/images/zh-cn_other_0000001337581224.jpeg b/docs/zh/server/performance/system_resource/images/zh-cn_other_0000001337581224.jpeg similarity index 100% rename from docs/zh/server/performance/overall/system_resource/images/zh-cn_other_0000001337581224.jpeg rename to docs/zh/server/performance/system_resource/images/zh-cn_other_0000001337581224.jpeg diff --git a/docs/zh/server/performance/overall/system_resource/system_resources_and_performance.md b/docs/zh/server/performance/system_resource/system_resources_and_performance.md similarity index 100% rename from docs/zh/server/performance/overall/system_resource/system_resources_and_performance.md rename to docs/zh/server/performance/system_resource/system_resources_and_performance.md diff --git a/docs/zh/server/performance/tuning_framework/oeaware/_toc.yaml b/docs/zh/server/performance/tuning_framework/oeaware/_toc.yaml deleted file mode 100644 index 9ada4c019eedd9ef74f7691294893f27e4a87546..0000000000000000000000000000000000000000 --- a/docs/zh/server/performance/tuning_framework/oeaware/_toc.yaml +++ /dev/null @@ -1,6 +0,0 @@ -label: oeAware用户指南 -isManual: true -description: oeAware是在openEuler上实现低负载采集感知调优的框架 -sections: - - label: oeAware用户指南 - href: ./oeaware_user_guide.md diff --git a/docs/zh/server/performance/tuning_framework/oeaware/figures/dep-failed.png b/docs/zh/server/performance/tuning_framework/oeaware/figures/dep-failed.png deleted file mode 100644 index 7c98140ff9545ba7943c04cb2dc414fcc39b03e4..0000000000000000000000000000000000000000 Binary files a/docs/zh/server/performance/tuning_framework/oeaware/figures/dep-failed.png and /dev/null differ diff --git a/docs/zh/server/performance/tuning_framework/oeaware/figures/dep.png b/docs/zh/server/performance/tuning_framework/oeaware/figures/dep.png deleted file mode 100644 index 06875fc73adae0a4379e30722a9864197212c55a..0000000000000000000000000000000000000000 Binary files a/docs/zh/server/performance/tuning_framework/oeaware/figures/dep.png and /dev/null differ diff --git "a/docs/zh/server/performance/tuning_framework/oeaware/figures/\344\276\235\350\265\226\345\205\263\347\263\273.png" "b/docs/zh/server/performance/tuning_framework/oeaware/figures/\344\276\235\350\265\226\345\205\263\347\263\273.png" deleted file mode 100644 index 0f4c65a2533cebc54f6dedf4e6eba2d232b1feeb..0000000000000000000000000000000000000000 Binary files "a/docs/zh/server/performance/tuning_framework/oeaware/figures/\344\276\235\350\265\226\345\205\263\347\263\273.png" and /dev/null differ diff --git a/docs/zh/server/performance/tuning_framework/oeaware/oeaware_user_guide.md b/docs/zh/server/performance/tuning_framework/oeaware/oeaware_user_guide.md deleted file mode 100644 index b602becb640ef1a80c5361536f6623cfe30070ab..0000000000000000000000000000000000000000 --- a/docs/zh/server/performance/tuning_framework/oeaware/oeaware_user_guide.md +++ /dev/null @@ -1,748 +0,0 @@ -# oeAware用户指南 - -## 简介 - -oeAware是在openEuler上实现低负载采集感知调优的框架,目标是动态感知系统行为后智能使能系统的调优特性。传统调优特性都以独立运行且静态打开关闭为主,oeAware将调优拆分采集、感知和调优三层,每层通过订阅方式关联,各层采用插件式开发尽可能复用。 - -## 安装 - -配置openEuler的yum源,使用yum命令安装。在openEuler-22.03-LTS-SP4版本中会默认安装。 - -```shell -yum install oeAware-manager -``` - -## 使用方法 - -首先启动oeaware服务,然后通过`oeawarectl`命令进行使用。 - -### 服务启动 - -通过systemd服务启动。安装完成后会默认启动。 - -```shell -systemctl start oeaware -``` - -### 配置文件 - -配置文件路径:/etc/oeAware/config.yaml - -```yaml -log_path: /var/log/oeAware #日志存储路径 -log_level: 1 #日志等级 1:DEBUG 2:NFO 3:WARN 4:ERROR -enable_list: #默认使能插件 - - name: libtest.so #只配置插件,使能本插件的所有实例 - - name: libtest1.so #配置插件实例,使能配置的插件实例 - instances: - - instance1 - - instance2 - ... - ... -plugin_list: #可支持下载的包 - - name: test #名称需要唯一,如果重复取第一个配置 - description: hello world - url: https://gitee.com/openeuler/oeAware-manager/raw/master/README.md #url非空 - ... -``` - -修改配置文件后,通过以下命令重启服务。 - -```shell -systemctl restart oeaware -``` - -### 插件说明 - -**插件定义**:一个插件对应一个.so文件,插件分为采集插件、感知插件和调优插件。 - -**实例定义**:服务中的调度单位是实例,一个插件中包括多个实例。例如,一个采集插件包括多个采集项,每个采集项是一个实例。 - -**实例之间依赖关系**:每个实例运行前,需要满足其依赖关系。 - -![img](./figures/依赖关系.png) - -### 插件加载 - -服务会默认加载插件存储路径下的插件。 - -插件路径:/usr/lib64/oeAware-plugin/ - -另外也可以通过手动加载的方式加载插件。 - -```shell -oeawarectl -l | --load <插件名> -``` - -示例 - -```shell -[root@localhost ~]# oeawarectl -l libthread_collect.so -Plugin loaded successfully. -``` - -失败返回错误说明。 - -### 插件卸载 - -```shell -oeawarectl -r <插件名> | --remove <插件名> -``` - -示例 - -```shell -[root@localhost ~]# oeawarectl -r libthread_collect.so -Plugin remove successfully. -``` - -失败返回错误说明。 - -### 插件查询 - -#### 查询插件状态信息 - -```shell -oeawarectl -q #查询系统中已经加载的所有插件 -oeawarectl --query <插件名> #查询指定插件 -``` - -示例 - -```shell -Show plugins and instances status. ------------------------------------------------------------- -libpmu.so - pmu_counting_collector(available, close, count: 0) - pmu_sampling_collector(available, close, count: 0) - pmu_spe_collector(available, close, count: 0) - pmu_uncore_collector(available, close, count: 0) -libsystem_collector.so - thread_collector(available, close, count: 0) - kernel_config(available, close, count: 0) - command_collector(available, close, count: 0) - env_info_collector(available, close, count: 0) - net_interface_info(available, close, count: 0) -libdocker_collector.so - docker_collector(available, close, count: 0) -libub_tune.so - unixbench_tune(available, close, count: 0) -libsystem_tune.so - stealtask_tune(available, close, count: 0) - dynamic_smt_tune(available, close, count: 0) - smc_tune(available, close, count: 0) - xcall_tune(available, close, count: 0) - transparent_hugepage_tune(available, close, count: 0) - seep_tune(available, close, count: 0) - preload_tune(available, close, count: 0) - binary_tune(available, close, count: 0) - numa_sched_tune(available, close, count: 0) - realtime_tune(available, close, count: 0) - net_hard_irq_tune(available, close, count: 0) - multi_net_path_tune(available, close, count: 0) -libdocker_tune.so - docker_cpu_burst(available, close, count: 0) - docker_burst(available, close, count: 0) -libthread_scenario.so - thread_scenario(available, close, count: 0) -libanalysis_oeaware.so - hugepage_analysis(available, close, count: 0) - dynamic_smt_analysis(available, close, count: 0) - smc_d_analysis(available, close, count: 0) - xcall_analysis(available, close, count: 0) - net_hirq_analysis(available, close, count: 0) - numa_analysis(available, close, count: 0) - docker_coordination_burst_analysis(available, close, count: 0) - microarch_tidnocmp_analysis(available, close, count: 0) ------------------------------------------------------------- -format: -[plugin] - [instance]([dependency status], [running status], [enable cnt]) -dependency status: available means satisfying dependency, otherwise unavailable. -running status: running means that instance is running, otherwise close. -enable cnt: number of instances enabled. -``` - -失败返回错误说明。 - -#### 查询调优实例信息 - -```shell -oeawarectl --info -``` - -显示调优实例描述信息及运行状态。 - -#### 查询运行实例订阅关系 - -```shell -oeawarectl -Q #查询所有运行实例的订阅关系图 -oeawarectl --query-dep= <插件实例> #查询运行实例订阅关系图 -``` - -在当前目录下生成dep.png,显示订阅关系。 - -实例未运行,不会显示订阅关系。 - -示例 - -```sh -oeawarectl -e thread_scenario -oeawarectl -Q -``` - -![img](./figures/dep.png) - -### 插件实例使能 - -#### 使能插件实例 - -```shell -oeawarectl -e | --enable <插件实例> -``` - -使能某个插件实例,会将其订阅的topic实例一起使能。 - -失败返回错误说明。 - -通过以下命令查询调优实例 - -```sh -oeawarectl --info -``` - -其他插件主要用来提供数据和分析,可通过sdk获取插件数据。 - -带参数实例使能 - -```sh -oeawarectl -e xcall_tune # -c [path] 可选参数-c,使用path下的配置文件 -oeawarectl -e dynamic_smt_tune # -threshold [number] 可选参数-threshold,设置cpu利用率阈值 -oeawarectl -e multi_net_path_tune -ifname [name] # 必选参数-ifname,网卡亲和的接口名;可选参数-appname,生效进程;可选参数-matchip,是否强制匹配ip,默认true,自动匹配ip;可选参数-mode,支持模式0和模式1。依赖特定网卡(支持ntuple) -oeawarectl -e docker_burst # -docker_id [id1,id2...] 设置dockerid;-ratio 设置超分比例,默认20% -``` - -#### 关闭插件实例 - -```shell -oeawarectl -d | --disable <插件实例> -``` - -关闭某个插件实例,会将其订阅的topic实例一起关闭。 - -失败返回错误说明。 - -### 插件下载安装 - -通过`--list`命令查询支持下载的rpm包和已安装的插件。 - -```shell -oeawarectl --list -``` - -查询结果如下。 - -```shell -Supported Packages: #可下载的包 -[name1] #config中配置的plugin_list -[name2] -... -Installed Plugins: #已安装的插件 -[name1] -[name2] -... -``` - -通过`--install`命令下载安装rpm包。 - -```shell -oeawarectl -i | --install #指定--list下查询得到的包名称(Supported Packages下的包) -``` - -失败返回错误说明。 - -### 分析模式 - -```sh -oeawarectl analysis -h -usage: oeawarectl analysis [options]... - options - -t|--time set analysis duration in seconds(default 30s), range from 1 to 100. - -r|--realtime show real time report. - -v|--verbose show verbose information. - -h|--help show this help message. - --l1-miss-threshold set l1 tlbmiss threshold. - --l2-miss-threshold set l2 tlbmiss threshold. - --out-path set the path of the analysis report. - --dynamic-smt-threshold set dynamic smt cpu threshold. - --pid set the pid to be analyzed. - --numa-thread-threshold set numa sched thread creation threshold. - --smc-change-rate set smc connections change rate threshold. - --smc-localnet-flow set smc local net flow threshold. - --host-cpu-usage-threshold set host cpu usage threshold. - --docker-cpu-usage-threshold set docker cpu usage threshold. - -``` - ---l1-miss-threshold:l1-tlb—miss阈值,超过阈值,推荐使用大页。 - ---l2-miss-threshold:l2-tlb—miss阈值,超过阈值,推荐使用大页。 - ---out-path:分析报告输出路径。 - ---dynamic-smt-threshold:smt cpu利用率阈值,cpu利用率小于此阈值推荐使用smt。 - ---numa-thread-threshold:线程创建数阈值,每秒的线程创建数高于此值时,推荐numa调优。 - ---smc-change-rate:tcp连接状态变化率阈值。变化率低于阈值时,推荐smc-d。 - ---smc-localnet-flow:本地网络流量阈值。流量高于阈值时,推荐smc-d。 - ---host-cpu-usage-threshold:host cpu利用率阈值。host cpu利用率低于阈值时,推荐docker burst。 - ---docker-cpu-usage-threshold:docker cpu利用率阈值。docker容器cpu高于阈值时,推荐docker burst。 - -通过配置文件或者命令行参数设置相关阈值参数。 - -配置文件/etc/oeAware/analysis_config.yaml - -```yaml -#default analysis config -timeout: 5 # Client wait timeout -dynamic_smt: - threshold: 40.0 # Value range:[0,100]. - -hugepage: - l1_miss_threshold: 5.0 # Value range:[0,100]. - l2_miss_threshold: 10.0 # Value range:[0,100]. - -numa_analysis: - thread_threshold: 200 # thread count threshold to use numa native schedule. Value must be a non-negative integer. - -smc_d_analysis: - change_rate: 0.1 # Value must be a non-negative number. - local_net_flow: 100 # MB/S - -docker_coordination_burst: - host_cpu_usage_threshold: 45 # Value range:[0,100]. - docker_cpu_usage_threshold: 95 # Value range:[0,100]. - -microarch_tidnocmp: - service_list: - - mysqld # Supported service. The default value is mysqld. - cpu_part: - - 0xd02 -xcall_analysis: - threshold: 5 # Kernel cpu usage, value range:[0,100]. - num: 5 # top num syscall , value must be a non-negative integer. - -``` - -示例 - -执行以下命令,输出系统分析报告。 - -```sh -oeawarectl analysis -t 10 -``` - -报告分为三部分: - -- Data Analysis:根据系统运行状态,给出系统性能数据分析。 -- Analysis Conclusion:给出系统分析结论。 -- Analysis Suggestion:给出具体调优方法。 - -说明: - -- uncore_ops_num_per_second:每秒访存操作数,超过2000000次属于高访存。 -- remote_access_ratio:远端访存占比,超过5%,远端访存占比高。 - -### 帮助 - -通过`--help`查看帮助。 - -```shell -usage: oeawarectl [options]... - options - analysis run analysis mode. - -l|--load [plugin] load plugin. - -r|--remove [plugin] remove plugin from system. - -e|--enable [instance] enable the plugin instance. - -d|--disable [instance] disable the plugin instance. - -q query all plugins information. - --query [plugin] query the plugin information. - -Q query all instances dependencies. - --query-dep [instance] query the instance dependency. - --list the list of supported plugins. - --info the list of InfoCmd plugins. - -i|--install [plugin] install plugin from the list. - --help show this help message. -``` - -## 插件开发说明 - -### 基础数据结构 - -```c++ -typedef struct { - char *instanceName; // 实例名称 - char *topicName; // 主题名称 - char *params; // 参数 -} CTopic; - -typedef struct { - CTopic topic; - unsigned long long len; // data数组的长度 - void **data; // 存储的数据 -} DataList; - -const int OK = 0; -const int FAILED = -1; - -typedef struct { - int code; // 成功返回OK,失败返回FAILED - char *payload; // 附带信息 -} Result; - -``` - -### 实例基类 - -```c++ -namespace oeaware { -// Instance type. -const int TUNE = 0b10000; -const int SCENARIO = 0b01000; -const int RUN_ONCE = 0b00010; -class Interface { -public: - virtual Result OpenTopic(const Topic &topic) = 0; - virtual void CloseTopic(const Topic &topic) = 0; - virtual void UpdateData(const DataList &dataList) = 0; - virtual Result Enable(const std::string ¶m = "") = 0; - virtual void Disable() = 0; - virtual void Run() = 0; -protected: - std::string name; - std::string version; - std::string description; - std::vector supportTopics; - int priority; - int type; - int period; -} -} -``` - -实例开发继承实例基类,实现6个虚函数,并对类的7个属性赋值。 - -实例采用订阅发布模式,通过Subscribe获取数据,通过Publish接口发布数据。 - -### 属性说明 - -| 属性 | 类型 | 说明 | -| --- | --- | --- | -| name | string | 实例名称 | -| version | string | 实例版本(预留) | -| description | string | 实例描述 | -| supportTopics | vector\ | 支持的topic | -| priority | int | 实例执行的优先级 (调优 > 感知 > 采集)| -| type | int | 实例类型,通过比特位标识,第二位表示单次执行实例,第三位表示采集实例,第四位表示感知实例,第5位表示调优实例| -| period | int | 实例执行周期,单位ms,period为10的倍数 | - -### 接口说明 - -| 函数名 | 参数 | 返回值 | 说明 | -| --- | --- | --- | --- | -|Result OpenTopic(const Topic &topic) | topic:打开的主题 | | 打开对应的topic | -| void CloseTopic(const Topic &topic) | topic:关闭的主题| |关闭对应的topic | -| void UpdateData(const DataList &dataList) | dataList:订阅的数据 | | 当订阅topic时,被订阅的topic每周期会通过UpdateData更新数据 | -| Result Enable(const std::string ¶m = "") | param:预留 | | 使能本实例 | -| void Disable() | | | 关闭本实例 | -| void Run() | | | 每周期会执行run函数 | - -### 实例示例 - -```C++ -#include -#include - -class Test : public oeaware::Interface { -public: - Test() { - name = "TestA"; - version = "1.0"; - description = "this is a test plugin"; - supportTopics; - priority = 0; - type = 0; - period = 20; - } - oeaware::Result OpenTopic(const oeaware::Topic &topic) override { - return oeaware::Result(OK); - } - void CloseTopic(const oeaware::Topic &topic) override { - - } - void UpdateData(const DataList &dataList) override { - for (int i = 0; i < dataList.len; ++i) { - ThreadInfo *info = static_cast(dataList.data[i]); - INFO(logger, "pid: " << info->pid << ", name: " << info->name); - } - } - oeaware::Result Enable(const std::string ¶m = "") override { - Subscribe(oeaware::Topic{"thread_collector", "thread_collector", ""}); - return oeaware::Result(OK); - } - void Disable() override { - - } - void Run() override { - DataList dataList; - oeaware::SetDataListTopic(&dataList, "test", "test", ""); - dataList.len = 1; - dataList.data = new void* [1]; - dataList.data[0] = &pubData; - Publish(dataList); - } -private: - int pubData = 1; -}; - -extern "C" void GetInstance(std::vector> &interfaces) -{ - interfaces.emplace_back(std::make_shared()); -} -``` - -## 内部插件 - -### libpmu.so - -| 实例名称 | 架构 | 说明 | topic | -| --- | --- | --- | --- | -| pmu_counting_collector | aarch64 | 采集count相关事件 |cycles,net:netif_rx,L1-dcache-load-misses,L1-dcache-loads,L1-icache-load-misses,L1-icache-loads,branch-load-misses,branch-loads,dTLB-load-misses,dTLB-loads,iTLB-load-misses,iTLB-loads,cache-references,cache-misses,l2d_tlb_refill,l2d_cache_refill,l1d_tlb_refill,l1d_cache_refill,inst_retired,instructions | -| pmu_sampling_collector | aarch64 | 采集sample相关事件 | cycles, skb:skb_copy_datagram_iovec,net:napi_gro_receive_entry | -| pmu_spe_collector | aarch64 | 采集spe事件 | spe | -| pmu_uncore_collector | aarch64 | 采集uncore事件 | uncore | - -#### 限制条件 - -采集spe事件需要依赖硬件能力,此插件运行依赖 BIOS 的 SPE,运行前需要将 SPE 打开。 - -运行perf list | grep arm_spe查看是否已经开启SPE,如果开启,则有如下显示: - -```sh -arm_spe_0// [Kernel PMU event] -``` - -如果没有开启,则按下述步骤开启。 - -检查BIOS配置项 MISC Config --> SPE 的状态, 如果状态为 Disable,则需要更改为 Enable。如果找不到这个选项,可能是BIOS版本过低。 - -进入系统 vim /boot/efi/EFI/openEuler/grub.cfg,定位到内核版本对应的开机启动项,在末尾增加“kpti=off”。例如: - -```sh -linux /vmlinuz-4.19.90-2003.4.0.0036.oe1.aarch64 root=/dev/mapper/openeuler-root ro rd.lvm.lv=openeuler/root rd.lvm.lv=openeuler/swap video=VGA-1:640x480-32@60me rhgb quiet smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 crashkernel=1024M,high video=efifb:off video=VGA-1:640x480-32@60me kpti=off -``` - -按“ESC”,输入“:wq”,按“Enter”保存并退出。执行reboot命令重启服务器。 - -### libsystem_collector.so - -系统信息采集插件。 - -| 实例名称 | 架构 | 说明 | topic | -| --- | --- | --- | --- | -| thread_collector | aarch64/x86 | 采集系统中的线程信息 | thread_collector | -| kernel_config | aarch64/x86| 采集内核相关参数,包括sysctl所有参数、lscpu、meminfo等 | get_kernel_config,get_cmd,set_kernel_config | -| command_collector | aarch64/x86 | 采集sysstat相关数据 | mpstat,iostat,vmstat,sar,pidstat | -| net_interface_info | aarch64/x86 | 采集网络信息 | base,driver,local_net_affinity,net_thread_que_data | -| env_info_collector | aarch64/x86 | 采集系统信息 | static,realtime,cpu_util | - -### libdocker_collector.so - -docker信息采集插件。 - -| 实例名称 | 架构 | 说明 | topic | -| --- | --- | --- | --- | -| docker_collector | aarch64/x86 | 采集docker相关信息 | docker_collector | - -### libthread_scenario.so - -线程感知插件。 - -| 实例名称 | 架构 | 说明 | 订阅 | -| --- | --- | --- | --- | -| thread_scenario | aarch64/x86 | 通过配置文件获取对应线程信息 | thread_collector::thread_collector | - -#### 配置文件 - -thread_scenario.conf - -```sh -redis -fstime -fsbuffer -fsdisk -``` - -### libanalysis_oeaware.so - -| 实例名称 | 架构 | 说明 | 订阅 | -| --- | --- | --- | --- | -| hugepage_analysis | aarch64 | 分析是否推荐大页 | pmu_counting_collector::l1d_tlb,pmu_counting_collector::l1d_tlb_refill,pmu_counting_collector::l1i_tlb,pmu_counting_collector::l1i_tlb_refill,pmu_counting_collector::l2d_tlb,pmu_counting_collector::l2d_tlb_refill,pmu_counting_collector::l2i_tlb,pmu_counting_collector::l2i_tlb_refill | -| dynamic_smt_analysis | aarch64 | 分析是否推荐smt | env_info_collector::cpu_util | -| smc_d_analysis | aarch64 | 分析是否推荐smc-d | | -| xcall_analysis | aarch64 | 分析是否推荐xcall | env_info_collector::cpu_util,thread_collector::thread_collector | -| net_hirq_analysis | aarch64 | 分析是否推荐网卡中断调优 | pmu_sampling_collector::net:napi_gro_receive_entry | -| numa_analysis | aarch64 | 分析是否推荐numa调优 | pmu_counting_collector::sched:sched_process_fork,pmu_counting_collector::sched:sched_process_exit,pmu_uncore_collector::uncore | -| docker_coordination_burst_analysis | aarch64 | 分析是否推荐docker burst | env_info_collector::cpu_util, pmu_sampling_collector::cycles,docker_collector::docker_collector | -| microarch_tidnocmp_analysis | aarch64 | 分析是否推荐微架构调优 | thread_collector::thread_collector | - -### libsystem_tune.so - -系统调优插件。 - -| 实例名称 | 架构 | 说明 | 订阅 | -| --- | --- | --- | --- | -| stealtask_tune | aarch64 | 高负载场景下,通过轻量级搜索算法,实现多核间快速负载均衡,最大化cpu资源利用率 | 无 | -| smc_tune | aarch64 | 使能smc加速,对使用tcp协议的连接无感加速 | 无 | -| xcall_tune | aarch64 | 通过减少系统调用底噪,提升系统性能 | thread_collector::thread_collector | -| seep_tune | aarch64 | 使能智能功耗模式,降低系统能耗 | 无 | -| transparent_hugepage_tune | aarch64/x86 | 开启透明大页,降低tlbmiss | 无 | -| preload_tune | aarch64 | 无感加载动态库 | 无 | -| dynamic_smt_tune | aarch64 | 使能超线程 | 无 | -| binary_tune | aarch64 | 容器内进程调度优化 | env_info_collector::static,env_info_collector::realtime,thread_collector::thread_collector,docker_collector::docker_collector | -| numa_sched_tune | arrch64 | NUMA原生调度,优化线程调度 | 无 | -| net_hard_irq_tune | aarch64 | 网卡中断调优,优化网络程序性能 | env_info_collector::static,env_info_collector::cpu_util,net_interface_info::base::operstate_up,net_interface_info::driver::operstate_up,pmu_sampling_collector::net:napi_gro_receive_entry,pmu_sampling_collector::skb:skb_copy_datagram_iovec,pmu_sampling_collector::cycles, env_info_collector::net_thread_que_data::thread_recv_que_cnt | -| multi_net_path_tune | aarch64 | 网卡多路径调优,优化网络程序性能 | 无 | - -#### 配置文件 - -xcall.yaml - -``` yaml -redis: # 线程名称 - - xcall_1: 1 #xcall_1表示xcall优化方式,目前只有xcall_1; 1表示需要优化系统调用号 - - xcall_2: 22 #目前只支持epoll_pwait -... -``` - -preload.yaml - -路径:/etc/oeAware/preload.yaml - -```yaml -- appname: "" - so: "" -``` - -通过执行oeawarectl -e preload_tune命令, 根据配置文件给对应进程加载so。 - -#### 限制条件 - -xcall_tune依赖内核特性,需要开启FAST_SYSCALL编译内核,并且在cmdline里增加xcall字段。 - -### libub_tune.so - -unixbench调优插件。 - -| 实例名称 | 架构 | 说明 | 订阅 | -| --- | --- | --- | --- | -| unixbench_tune | aarch64/x86 | 通过减少远端内存访问,优化ub性能 | thread_collector::thread_collector | - -### libdocker_tune.so - -| 实例名称 | 架构 | 说明 | 订阅 | -| --- | --- | --- | --- | -| docker_cpu_burst | aarch64 | 在出现突发负载时,CPUBurst可以为容器临时提供额外的CPU资源,缓解CPU限制带来的性能瓶颈 | pmu_counting_collector::cycles,docker_collector::docker_collector | - -## 外部插件 - -外部插件需要通过以下命令安装,例如安装numafast相关插件。 - -```sh -oeawarectl -i numafast -``` - -### libscenario_numa.so - -| 实例名称 | 架构 | 说明 | 订阅 | topic | -| --- | --- | --- | --- | --- | -| scenario_numa | aarch64 | 感知当前环境跨NUMA访存比例,用于实例或sdk订阅(无法单独使能) | pmu_uncore_collector::uncore | system_score | - -### libtune_numa.so - -| 实例名称 | 架构 | 说明 | 订阅 | -| --- | --- | --- | --- | -| tune_numa_mem_access | aarch64 | 周期性迁移线程和内存,减少跨NUMA内存访问 | scenario_numa::system_score, pmu_spe_collector::spe, pmu_counting_collector::cycles | - -## SDK使用说明 - -```C -typedef int(*Callback)(const DataList *); -int OeInit(); // 初始化资源,与server建立链接 -int OeSubscribe(const CTopic *topic, Callback callback); // 订阅topic,异步执行callback -int OeUnsubscribe(const CTopic *topic); // 取消订阅topic -int OePublish(const DataList *dataList); // 发布数据到server -void OeClose(); // 释放资源 -``` - -**示例** - -```C -#include "oe_client.h" -#include "command_data.h" -int f(const DataList *dataList) -{ - int i = 0; - for (; i < dataList->len; i++) { - CommandData *data = (CommandData*)dataList->data[i]; - for (int j = 0; j < data->attrLen; ++j) { - printf("%s ", data->itemAttr[j]); - } - printf("\n"); - } - return 0; -} -int main() { - OeInit(); - CTopic topic = { - "command_collector", - "sar", - "-q 1", - }; - if (OeSubscribe(&topic, f) < 0) { - printf("failed\n"); - } else { - printf("success\n"); - } - sleep(10); - OeClose(); -} -``` - -## 约束限制 - -### 功能约束 - -oeAware默认集成了arm的微架构采集libkperf模块,该模块同一时间只能有一个进程进行调用,如其他进程调用或者使用perf命令可能存在冲突。 - -### 操作约束 - -当前oeAware仅支持root组用户进行操作,sdk支持root组和oeaware组用户使用。 - -## 注意事项 - -oeAware的配置文件和插件用户组和权限有严格校验,不要对oeAware的相关文件进行权限和用户组进行修改。 - -权限说明: - -- 插件文件:440 - -- 客户端执行文件:750 - -- 服务端执行文件:750 - -- 服务配置文件:640