!651 add openeuler docs for 24.03-LTS-SP2

From: @pshysimon 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
This commit is contained in:
openeuler-ci-bot
2025-06-09 09:30:42 +00:00
committed by Gitee
23 changed files with 2296 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
label: A-Tune用户指南
isManual: true
description: 利用人工智能技术,实现对 openEuler 系统性能的智能化、自动化调优
sections:
- label: A-Tune用户指南
href: ./a_tune.md
sections:
- label: 认识A-Tune
href: ./getting_to_know_a_tune.md
- label: 安装与部署
href: ./installation_and_deployment.md
- label: 使用方法
href: ./usage_instructions.md
- label: native-turbo特性
href: ./native_turbo.md
- label: 附录
href: ./appendix.md
- label: 常见问题与解决方法
href: ./faqs_and_solutions.md

View File

@@ -0,0 +1,5 @@
# A-Tune 用户指南
本文档介绍openEuler系统性能自优化软件A-Tune的安装部署和使用方法以指导用户快速了解并使用A-Tune。
本文档适用于使用openEuler系统并希望了解和使用A-Tune的社区开发者、开源爱好者以及相关合作伙伴。使用人员需要具备基本的Linux操作系统知识。

View File

@@ -0,0 +1,21 @@
# 附录
## 术语和缩略语
**表 1** 术语表
<a name="table1851716468384"></a>
<table><thead align="left"><tr id="row4517946163817"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p951884613382"><a name="p951884613382"></a><a name="p951884613382"></a>术语</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p14518114693817"><a name="p14518114693817"></a><a name="p14518114693817"></a>含义</p>
</th>
</tr>
</thead>
<tbody>
<tr id="row20518154612386"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p4518144612386"><a name="p4518144612386"></a><a name="p4518144612386"></a>profile</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p17597758162211"><a name="p17597758162211"></a><a name="p17597758162211"></a>优化项集合,最佳的参数配置</p>
</td>
</tr>
</tbody>
</table>

View File

@@ -0,0 +1,52 @@
# 常见问题与解决方法
## **问题1train命令训练模型出错提示“training data failed”**
原因collection命令只采集一种类型的数据。
解决方法:至少采集两种数据类型的数据进行训练。
## **问题2atune-adm无法连接atuned服务**
可能原因:
1. 检查atuned服务是否启动并检查atuned侦听地址。
```shell
# systemctl status atuned
# netstat -nap | grep atuned
```
2. 防火墙阻止了atuned的侦听端口。
3. 系统配置了http代理导致无法连接。
解决方法:
1. 如果atuned没有启动启动该服务参考命令如下
```shell
# systemctl start atuned
```
2. 分别在atuned和atune-adm的服务器上执行如下命令允许侦听端口接收网络包其中60001为atuned的侦听端口号。
```shell
# iptables -I INPUT -p tcp --dport 60001 -j ACCEPT
# iptables -I INPUT -p tcp --sport 60001 -j ACCEPT
```
3. 不影响业务的前提下删除http代理或对侦听IP不进行http代理命令如下
```shell
# no_proxy=$no_proxy,侦听地址
```
## **问题3atuned服务无法启动提示“Job for atuned.service failed because a timeout was exceeded.”**
原因hosts文件中缺少localhost配置
解决方法:在/etc/hosts文件中127.0.0.1这一行添加上localhost
```conf
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,511 @@
# 认识A-Tune
## 简介
操作系统作为衔接应用和硬件的基础软件如何调整系统和应用配置充分发挥软硬件能力从而使业务性能达到最优对用户至关重要。然而运行在操作系统上的业务类型成百上千应用形态千差万别对资源的要求各不相同。当前硬件和基础软件组成的应用环境涉及高达7000多个配置对象随着业务复杂度和调优对象的增加调优所需的时间成本呈指数级增长导致调优效率急剧下降调优成为了一项极其复杂的工程给用户带来巨大挑战。
其次,操作系统作为基础设施软件,提供了大量的软硬件管理能力,每种能力适用场景不尽相同,并非对所有的应用场景都通用有益,因此,不同的场景需要开启或关闭不同的能力,组合使用系统提供的各种能力,才能发挥应用程序的最佳性能。
另外,实际业务场景成千上万,计算、网络、存储等硬件配置也层出不穷,实验室无法遍历穷举所有的应用和业务场景,以及不同的硬件组合。
为了应对上述挑战openEuler推出了A-Tune。
A-Tune是一款基于AI开发的系统性能优化引擎它利用人工智能技术对业务场景建立精准的系统画像感知并推理出业务特征进而做出智能决策匹配并推荐最佳的系统参数配置组合使业务处于最佳运行状态。
![](./figures/zh-cn_image_0227497000.png)
## 架构
A-Tune核心技术架构如下图主要包括智能决策、系统画像和交互系统三层。
- 智能决策层:包含感知和决策两个子系统,分别完成对应用的智能感知和对系统的调优决策。
- 系统画像层:主要包括自动特征工程和两层分类模型,自动特征工程用于业务特征的自动选择,两层分类模型用于业务模型的学习和分类。
- 交互系统层:用于各类系统资源的监控和配置,调优策略执行在本层进行。
![](./figures/zh-cn_image_0227497343.png)
## 支持特性与业务模型
### 支持特性
A-Tune支持的主要特性、特性成熟度以及使用建议请参见[表1](#table1919220557576)。
**表 1** 特性成熟度
<a name="table1919220557576"></a>
<table><thead align="left"><tr id="row81921355135715"><th class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.2.4.1.1"><p id="p1419275514576"><a name="p1419275514576"></a><a name="p1419275514576"></a><strong id="b175661223205512"><a name="b175661223205512"></a><a name="b175661223205512"></a>特性</strong></p>
</th>
<th class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.2.4.1.2"><p id="p7192195520572"><a name="p7192195520572"></a><a name="p7192195520572"></a><strong id="b185678233555"><a name="b185678233555"></a><a name="b185678233555"></a>成熟度</strong></p>
</th>
<th class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.2.4.1.3"><p id="p519205518573"><a name="p519205518573"></a><a name="p519205518573"></a><strong id="b1156872320553"><a name="b1156872320553"></a><a name="b1156872320553"></a>使用建议</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="row519275518572"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.1 "><p id="p1349454518111"><a name="p1349454518111"></a><a name="p1349454518111"></a>11大类15款应用负载类型自动优化</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.2 "><p id="p48001027191117"><a name="p48001027191117"></a><a name="p48001027191117"></a>已测试</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.3 "><p id="p15192195515715"><a name="p15192195515715"></a><a name="p15192195515715"></a>试用</p>
</td>
</tr>
<tr id="row919217552579"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.1 "><p id="p519218559571"><a name="p519218559571"></a><a name="p519218559571"></a>自定义profile和业务模型</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.2 "><p id="p18192655115710"><a name="p18192655115710"></a><a name="p18192655115710"></a>已测试</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.3 "><p id="p71921655145717"><a name="p71921655145717"></a><a name="p71921655145717"></a>试用</p>
</td>
</tr>
<tr id="row71921155165711"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.1 "><p id="p619217556575"><a name="p619217556575"></a><a name="p619217556575"></a>参数自调优</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.2 "><p id="p11192135595712"><a name="p11192135595712"></a><a name="p11192135595712"></a>已测试</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.2.4.1.3 "><p id="p2019235511575"><a name="p2019235511575"></a><a name="p2019235511575"></a>试用</p>
</td>
</tr>
</tbody>
</table>
### 支持业务模型
根据应用的负载特征A-Tune将业务分为11大类各类型的负载特征和A-Tune支持的应用请参见[表2](#table2819164611311)。
**表 2** 支持的业务类型和应用
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="1440" style="width:1080.0pt;background:white;border-collapse:collapse">
<thead>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" align="center" style="margin-bottom:12.0pt;text-align:center;
line-height:normal;text-autospace:ideograph-numeric ideograph-other"><b><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">业务大类</span></b></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border:solid #DFE2E5 1.0pt;
border-left:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" align="center" style="margin-bottom:12.0pt;text-align:center;
line-height:normal;text-autospace:ideograph-numeric ideograph-other"><a name="p953251510111"></a><a name="b11881145155715"></a><b><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">业务类型</span></b></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border:solid #DFE2E5 1.0pt;
border-left:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" align="center" style="margin-bottom:12.0pt;text-align:center;
line-height:normal;text-autospace:ideograph-numeric ideograph-other"><a name="p169111846181310"></a><a name="b1213516721612"></a><b><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">瓶颈点</span></b></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border:solid #DFE2E5 1.0pt;
border-left:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" align="center" style="margin-bottom:12.0pt;text-align:center;
line-height:normal;text-autospace:ideograph-numeric ideograph-other"><a name="p1591144617135"></a><a name="b31363721611"></a><b><span style="font-size:
12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">支持的应用</span></b></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border:solid #DFE2E5 1.0pt;
border-left:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" align="center" style="margin-bottom:12.0pt;text-align:center;
line-height:normal;text-autospace:ideograph-numeric ideograph-other"><b><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">待规划的应用</span></b></p>
</td>
</tr>
</thead>
<tbody><tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1791124631317"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">default</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p45321515191120"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">默认类型</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p691184671312"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">算力、内存、网络、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">IO</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">各维度资源使用率都不高</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p69111946131318"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">N/A</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p179110461137"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">webserver</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p20532111512117"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">web</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">应用</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1191117469133"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、网络瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p159111546161317"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Nginx</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">Apache Traffic Server</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p2911164610134"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">database</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p4532111561119"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">数据库</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="ul3724104521013"></a><a name="p14911124612131"></a><span style="font-size:12.0pt;font-family:宋体;
color:#24292E;layout-grid-mode:both">算力瓶颈、内存瓶颈、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">IO</span><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1091134671313"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Mongodb</span><span style="font-size:
12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Mysql</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">Postgresql</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">Mariadb</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p491144611319"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">big-data</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p953261521112"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">大数据</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p129111046151315"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、内存瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p119111946161317"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">N/A</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">Hadoop-hdfs</span><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Hadoop-spark</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1791104661313"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">middleware</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p453291517111"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">中间件框架</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p591184671318"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、网络瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p2912846121315"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Dubbo</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1391204619130"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">in-memory-database</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p65328153111"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">内存数据库</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p3912164617133"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">内存瓶颈、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">IO</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1691254621313"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Redis</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p391214621312"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">basic-test-suite</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p55324155117"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">基础测试套</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1912164651319"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、内存瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p9912746121311"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">SPECCPU2006</span><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">SPECjbb2015</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p1391213464130"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">hpc</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p153210159118"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">人类基因组</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p591214460137"></a><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、内存瓶颈、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">IO</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p391214619139"></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Gatk4</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p5912154613139"><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">storage</span></a></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p12532161561115"><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">存储</span></a></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p10912154631311"><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">网络瓶颈、</span></a><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">IO</span><span style="font-size:12.0pt;
font-family:宋体;color:#24292E;layout-grid-mode:both">瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><a name="p11912164617133"><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">N/A</span></a></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">Ceph</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">virtualization</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">虚拟化</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、内存瓶颈、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">IO</span><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">Consumer-cloud</span><span style="font-size:12.0pt;font-family:宋体;color:#24292E;layout-grid-mode:both">、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;
color:#24292E;layout-grid-mode:both">Mariadb</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
background:#F6F8FA;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
<tr>
<td width="14%" valign="top" style="width:14.0%;border:solid #DFE2E5 1.0pt;
border-top:none;padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">docker</span></p>
</td>
<td width="13%" valign="top" style="width:13.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">容器</span></p>
</td>
<td width="28%" valign="top" style="width:28.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">算力瓶颈、内存瓶颈、</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;
layout-grid-mode:both">IO</span><span style="font-size:12.0pt;font-family:
宋体;color:#24292E;layout-grid-mode:both">瓶颈</span></p>
</td>
<td width="22%" valign="top" style="width:22.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">Mariadb</span></p>
</td>
<td width="20%" valign="top" style="width:20.0%;border-top:none;border-left:
none;border-bottom:solid #DFE2E5 1.0pt;border-right:solid #DFE2E5 1.0pt;
padding:4.5pt 9.75pt 4.5pt 9.75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:normal;text-autospace:
ideograph-numeric ideograph-other"><span lang="EN-US" style="font-size:12.0pt;
font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292E;layout-grid-mode:both">&nbsp;N/A</span></p>
</td>
</tr>
</tbody></table>

View File

@@ -0,0 +1,507 @@
# 安装与部署
本章介绍如何安装和部署A-Tune。
## 软硬件要求
### 硬件要求<a name="section175931749114410"></a>
- 鲲鹏920处理器
## 环境准备
- 安装openEuler系统安装方法参考 《[安装指南](https://docs.openeuler.org/zh/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation-on-servers.html)》。
- 安装A-Tune需要使用root权限。
## 安装A-Tune
本节介绍A-Tune的安装模式和安装方法。
### 安装模式介绍
A-Tune支持单机模式、分布式模式安装和集群模式安装
- 单机模式
client和server安装到同一台机器上。
- 分布式模式
client和server分别安装在不同的机器上。
- 集群模式
由一台client机器和大于一台server机器组成。
三种安装模式的简单图示如下:
![](./figures/zh-cn_image_0231122163.png)
### 安装操作
安装A-Tune的操作步骤如下
1. 挂载openEuler的iso文件。
```shell
# mount openEuler-{version}-everything-x86_64-dvd.iso /mnt
```
请安装everything的iso。
2. 配置本地yum源。
```shell
# vim /etc/yum.repos.d/local.repo
```
配置内容如下所示:
```shell
[local]
name=local
baseurl=file:///mnt
gpgcheck=1
enabled=1
```
3. 将RPM数字签名的GPG公钥导入系统。
```shell
# rpm --import /mnt/RPM-GPG-KEY-openEuler
```
4. 安装A-Tune服务端。
>![](./public_sys-resources/icon-note.gif) **说明:**
>本步骤会同时安装服务端和客户端软件包,对于单机部署模式,请跳过**步骤5**。
```shell
# yum install atune -y
# yum install atune-engine -y
```
5. 若为分布式部署请安装A-Tune客户端。
```shell
# yum install atune-client -y
```
6. 验证是否安装成功。命令和回显如下表示安装成功。
```shell
# rpm -qa | grep atune
atune-client-xxx
atune-db-xxx
atune-xxx
atune-engine-xxx
```
## 部署A-Tune
本节介绍A-Tune的配置部署。
### 配置介绍
A-Tune配置文件/etc/atuned/atuned.cnf的配置项说明如下
- A-Tune服务启动配置可根据需要进行修改
- protocol系统gRPC服务使用的协议unix或tcpunix为本地socket通信方式tcp为socket监听端口方式。默认为unix。
- address系统gRPC服务的侦听地址默认为unix socket若为分布式部署需修改为侦听的ip地址。
- port系统gRPC服务的侦听端口范围为0\~65535未使用的端口。如果protocol配置是unix则不需要配置。
- connect若为集群部署时A-Tune所在节点的ip列表ip地址以逗号分隔。
- rest_host系统rest service的侦听地址默认为localhost。
- rest_port系统rest service的侦听端口范围为0~65535未使用的端口默认为8383。
- engine_host与系统atune engine service链接的地址。
- engine_port与系统atune engine service链接的端口。
- sample_num系统执行analysis流程时采集样本的数量默认为20。
- interval系统执行analysis流程时采集样本的间隔时间默认为5s。
- grpc_tls系统gRPC的SSL/TLS证书校验开关默认不开启。开启grpc_tls后atune-adm命令在使用前需要设置以下环境变量方可与服务端进行通讯
- export ATUNE_TLS=yes
- export ATUNED_CACERT=\<客户端CA证书路径>
- export ATUNED_CLIENTCERT=\<客户端证书路径>
- export ATUNED_CLIENTKEY=\<客户端密钥路径>
- export ATUNED_SERVERCN=server
- tlsservercafilegRPC服务端CA证书路径。
- tlsservercertfilegRPC服务端证书路径。
- tlsserverkeyfilegRPC服务端密钥路径。
- rest_tls系统rest service的SSL/TLS证书校验开关默认开启。
- tlsrestcacertfile系统rest service的服务端CA证书路径。
- tlsrestservercertfile系统rest service的服务端证书路径
- tlsrestserverkeyfile系统rest service的服务端密钥路径。
- engine_tls系统atune engine service的SSL/TLS证书校验开关默认开启。
- tlsenginecacertfile系统atune engine service的客户端CA证书路径。
- tlsengineclientcertfile系统atune engine service的客户端证书路径
- tlsengineclientkeyfile系统atune engine service的客户端密钥路径
- system信息
system为系统执行相关的优化需要用到的参数信息必须根据系统实际情况进行修改。
- disk执行analysis流程时需要采集的对应磁盘的信息或执行磁盘相关优化时需要指定的磁盘。
- network执行analysis时需要采集的对应的网卡的信息或执行网卡相关优化时需要指定的网卡。
- user执行ulimit相关优化时用到的用户名。目前只支持root用户。
- 日志信息
根据情况修改日志的级别默认为info级别日志信息打印在/var/log/messages中。
- monitor信息
为系统启动时默认采集的系统硬件信息。
- tuning信息
tuning为系统进行离线调优时需要用到的参数信息。
- noise高斯噪声的评估值。
- sel_feature控制离线调优参数重要性排名输出的开关默认关闭。
### 配置示例<a name="section616213774714"></a>
```shell
#################################### server ###############################
# atuned config
[server]
# the protocol grpc server running on
# ranges: unix or tcp
protocol = unix
# the address that the grpc server to bind to
# default is unix socket /var/run/atuned/atuned.sock
# ranges: /var/run/atuned/atuned.sock or ip address
address = /var/run/atuned/atuned.sock
# the atune nodes in cluster mode, separated by commas
# it is valid when protocol is tcp
# connect = ip01,ip02,ip03
# the atuned grpc listening port
# the port can be set between 0 to 65535 which not be used
# port = 60001
# the rest service listening port, default is 8383
# the port can be set between 0 to 65535 which not be used
rest_host = localhost
rest_port = 8383
# the tuning optimizer host and port, start by engine.service
# if engine_host is same as rest_host, two ports cannot be same
# the port can be set between 0 to 65535 which not be used
engine_host = localhost
engine_port = 3838
# when run analysis command, the numbers of collected data.
# default is 20
sample_num = 20
# interval for collecting data, default is 5s
interval = 5
# enable gRPC authentication SSL/TLS
# default is false
# grpc_tls = false
# tlsservercafile = /etc/atuned/grpc_certs/ca.crt
# tlsservercertfile = /etc/atuned/grpc_certs/server.crt
# tlsserverkeyfile = /etc/atuned/grpc_certs/server.key
# enable rest server authentication SSL/TLS
# default is true
rest_tls = true
tlsrestcacertfile = /etc/atuned/rest_certs/ca.crt
tlsrestservercertfile = /etc/atuned/rest_certs/server.crt
tlsrestserverkeyfile = /etc/atuned/rest_certs/server.key
# enable engine server authentication SSL/TLS
# default is true
engine_tls = true
tlsenginecacertfile = /etc/atuned/engine_certs/ca.crt
tlsengineclientcertfile = /etc/atuned/engine_certs/client.crt
tlsengineclientkeyfile = /etc/atuned/engine_certs/client.key
#################################### log ###############################
[log]
# either "debug", "info", "warn", "error", "critical", default is "info"
level = info
#################################### monitor ###############################
[monitor]
# with the module and format of the MPI, the format is {module}_{purpose}
# the module is Either "mem", "net", "cpu", "storage"
# the purpose is "topo"
module = mem_topo, cpu_topo
#################################### system ###############################
# you can add arbitrary key-value here, just like key = value
# you can use the key in the profile
[system]
# the disk to be analysis
disk = sda
# the network to be analysis
network = enp189s0f0
user = root
#################################### tuning ###############################
# tuning configs
[tuning]
noise = 0.000000001
sel_feature = false
```
A-Tune engine配置文件/etc/atuned/engine.cnf的配置项说明如下
- A-Tune engine服务启动配置可根据需要进行修改
- engine_host系统atune engine service的侦听地址默认为localhost。
- engine_port系统atune engine service的侦听端口范围为0~65535未使用的端口默认为3838。
- engine_tls系统atune engine service的SSL/TLS证书校验开关默认开启。
- tlsenginecacertfile系统atune engine service的服务端CA证书路径。
- tlsengineservercertfile系统atune engine service的服务端证书路径
- tlsengineserverkeyfile系统atune engine service的服务端密钥路径。
- 日志信息
根据情况修改日志的级别默认为info级别日志信息打印在/var/log/messages中。
### 配置示例<a name="section616213774714"></a>
```shell
#################################### engine ###############################
[server]
# the tuning optimizer host and port, start by engine.service
# if engine_host is same as rest_host, two ports cannot be same
# the port can be set between 0 to 65535 which not be used
engine_host = localhost
engine_port = 3838
# enable engine server authentication SSL/TLS
# default is true
engine_tls = true
tlsenginecacertfile = /etc/atuned/engine_certs/ca.crt
tlsengineservercertfile = /etc/atuned/engine_certs/server.crt
tlsengineserverkeyfile = /etc/atuned/engine_certs/server.key
#################################### log ###############################
[log]
# either "debug", "info", "warn", "error", "critical", default is "info"
level = info
```
## 启动A-Tune
A-Tune安装完成后需要配置A-Tune服务然后启动A-Tune服务。
- 配置A-Tune服务
修改atuned.cnf配置文件中网卡和磁盘的信息
> 说明:
>
> 如果通过'make install'安装了atuned服务网卡和磁盘已经自动更新为当前机器中的默认设备。如果需要从其他设备收集数据请按照以下步骤配置 atuned 服务。
通过以下命令可以查找当前需要采集或者执行网卡相关优化时需要指定的网卡,并修改/etc/atuned/atuned.cnf中的network配置选项为对应的指定网卡。
```shell
ip addr
```
通过以下命令可以查找当前需要采集或者执行磁盘相关优化时需要指定的磁盘,并修改/etc/atuned/atuned.cnf中的disk配置选项为对应的指定磁盘。
```shell
fdisk -l | grep dev
```
- 关于证书:
因为A-Tune的引擎和客户端使用了grpc通信协议所以为了系统安全需要配置证书。因为信息安全的原因A-Tune不会提供证书生成方法请用户自行配置系统证书。
如果不考虑安全问题,可以将/etc/atuned/atuned.cnf中的rest_tls 和 engine_tls配置选项设置为false并且将/etc/atuned/engine.cnf中的engine_tls配置选项设为false。
如果不配置安全证书导致的一切后果与A-Tune无关。
- 启动atuned服务
```shell
# systemctl start atuned
```
- 查询atuned服务状态
```shell
# systemctl status atuned
```
若回显为如下,则服务启动成功。
![](./figures/zh-cn_image_0214540398.png)
## 启动A-Tune engine
若需要使用AI相关的功能需要启动A-Tune engine服务才能使用。
- 启动atune-engine服务
```shell
# systemctl start atune-engine
```
- 查询atune-engine服务状态
```shell
# systemctl status atune-engine
```
若回显为如下,则服务启动成功。
![](./figures/zh-cn_image_0245342444.png)
## 分部式部署
### 分部式部署目的
为了实现分布式架构和按需部署的目标A-Tune支持分部式部署。可以将三个组件分开部署轻量化组件部署对业务影响小也避免安装过多依赖软件减轻系统负担。<br/>
部署方式本文档只介绍常用的一种部署方式在同一节点部署客户端和服务端在另一个节点上部署引擎模块。其他的部署方式请咨询A-Tune开发人员。
**部署关系图:** <br/>
![输入图片说明](figures/picture1.png)
### 配置文件
分部式部署需要修改配置文件将引擎的ip地址和端口号写入配置文件中别的组件才能访问该ip地址上的引擎组件。
1. 修改服务端节点上的`/etc/atuned/atuned.cnf`文件:
- 34行的`engine_host`和`engine_port`修改为引擎节点的ip地址和端口号。如上图应该修改为`engine_host = 192.168.0.1 engine_port = 3838`。
- 将49行和55行的 rest_tls 和engine_tls 改为false否则需要申请和配置证书。在测试环境中可以不用配置ssl证书但是正式的现网环境需要配置证书否则会有安全隐患。
2. 修改引擎节点/etc/atuned/engine.cnf文件
- 17行和18行的`engine_host`和`engine_port`修改为引擎节点的ip地址和端口号。如上图应该修改为`engine_host = 192.168.0.1 engine_port = 3838`。
- 第22行的engine_tls的值改成false。
3. 修改完配置文件后需要重启服务,配置才会生效:
- 服务端节点输入命令:`systemctl restart atuned`。
- 引擎端节点输入命令:`systemctl restart atune-engine`。
4. (可选步骤)在`A-Tune/examples/tuning/compress`文件夹下运行tuning命令
- 请先参考`A-Tune/examples/tuning/compress/README`的指导进行预处理。
- 执行`atune-adm tuning --project compress --detail compress_client.yaml`。
- 本步骤的目的是检验分部式部署是否成功。
### 注意事项
1. 本文档不对认证证书配置方法作详细说明如有需要也可以将atuned.cnf和engine.cnf中的rest_tls/engine_tls设成false。
2. 修改完配置文件后需要重启服务,否则修改不会生效。
3. 注意使用atune服务时不要同时打开代理。
4. atuned.cnf 文件中的[system]模块的disk和network项需要修改修改方法见[A-Tune用户指南2.4.1章节](https://gitee.com/gaoruoshu/A-Tune/blob/master/Documentation/UserGuide/A-Tune%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97.md),本文不展开描述。
### 举例
#### atuned.cnf
```bash
# ...前略...
# the tuning optimizer host and port, start by engine.service
# if engine_host is same as rest_host, two ports cannot be same
# the port can be set between 0 to 65535 which not be used
engine_host = 192.168.0.1
engine_port = 3838
# ...后略...
```
#### engine.cnf
```bash
[server]
# the tuning optimizer host and port, start by engine.service
# if engine_host is same as rest_host, two ports cannot be same
# the port can be set between 0 to 65535 which not be used
engine_host = 192.168.0.1
engine_port = 3838
```
## 集群部署
### 集群部署的目的
为了支持多节点场景快速调优A-Tune支持对多个节点里的参数配置同时进行动态调优避免用户单独多次对每个节点进行调优从而提升调优效率。<br/>
集群部署的方式:分为一个主节点和若干个从节点。在主节点部署客户端和服务端,负责接受命令和引擎交互。其他节点接受主节点的指令,对当前节点的参数进行配置。
**部署关系图:** <br/>
![输入图片说明](figures/picture4.png)
上图中客户端和服务端部署在ip为192.168.0.0的节点上,项目文件存放在该节点上,其他节点不用放置项目文件。<br/>
主节点和从节点之间通过tcp协议通信所以需要修改配置文件。
### atuned.cnf配置文件修改
1. protocol 值设置为tcp。
2. address设置为当前节点的ip地址。
3. connect设置为所有节点的ip地址第一个为主节点其余为从节点ip中间用逗号隔开。
4. 在调试时可以设置rest_tls 和engine_tls 为false。
5. 所有的主从节点的atuned.cnf都按照上方描述修改。
### 注意事项
1. 将engine.cnf中的`engine_host`和`engine_port`设置为服务端atuned.cnf中`engine_host`和`engine_port`一样的ip和端口号。
2. 本文档不对认证证书配置方法作详细说明如有需要也可以将atuned.cnf和engine.cnf中的rest_tls和engine_tls设置为false。
3. 修改完配置文件后需要重启服务,否则修改不会生效。
4. 注意使用atune服务时不要同时打开代理。
### 举例
#### atuned.cnf
```bash
# ...前略...
[server]
# the protocol grpc server running on
# ranges: unix or tcp
protocol = tcp
# the address that the grpc server to bind to
# default is unix socket /var/run/atuned/atuned.sock
# ranges: /var/run/atuned/atuned.sock or ip address
address = 192.168.0.0
# the atune nodes in cluster mode, separated by commas
# it is valid when protocol is tcp
connect = 192.168.0.0,192.168.0.1,192.168.0.2,192.168.0.3
# the atuned grpc listening port
# the port can be set between 0 to 65535 which not be used
port = 60001
# the rest service listening port, default is 8383
# the port can be set between 0 to 65535 which not be used
rest_host = localhost
rest_port = 8383
# the tuning optimizer host and port, start by engine.service
# if engine_host is same as rest_host, two ports cannot be same
# the port can be set between 0 to 65535 which not be used
engine_host = 192.168.1.1
engine_port = 3838
# ...后略...
```
#### engine.cnf
```bash
[server]
# the tuning optimizer host and port, start by engine.service
# if engine_host is same as rest_host, two ports cannot be same
# the port can be set between 0 to 65535 which not be used
engine_host = 192.168.1.1
engine_port = 3838
```
**备注:** engine.cnf参考分部式部署的配置文件。

View File

@@ -0,0 +1,54 @@
# native-turbo特性
## 简介
大型程序的代码段、数据段可达数百MB关键业务流程TLB miss较高。内核页表大小对性能有影响。
为了方便用户使用大页native-turbo特性实现了加载程序时自动使用大页的功能可以针对代码段、数据段使用大页。
## 使用方法
1. 打开特性开关
该特性有两级开关sysctl fs.exec-use-hugetlb用于控制本系统是否打开该特性由root用户控制0不打开1打开其他值非法
如果不打开该开关,即使用户设置了环境变量也不会使用该特性,内核会忽略相关流程。
系统打开该特性后普通用户可以通过环境变量HUGEPAGE_PROBE自行决定运行的程序是否需要使用大页1使用不设置或其他值不使用
```shell
sysctl fs.exec-use-hugetlb=1 #主程序使用大页
export HUGEPAGE_PROBE=1 #动态库使用大页
```
动态库大页也可以使用LD_HUGEPAGE_LIB=1环境变量强制所有段使用大页。
2. 标记需要使用大页的段,默认标记所有段,-x表示仅代码段-d清除已有标记。
```shell
hugepageedit [-x] [-d] app
```
该工具由glibc-devel包提供。
3. 启动程序
./app
## 约束限制
1. 程序与动态库必须按照2M对齐编译可通过添加如下gcc编译参数实现
```shell
-zcommon-page-size=0x200000 -zmax-page-size=0x200000
```
2. 使用前需要预留足够的大页,否则程序会执行失败。
如果使用cgroup请注意hugetlb的限制如果限制小于所需大页数量可能导致运行时崩溃。
3. 由于进程页表改为2Mmprotect等系统调用的参数需要按2M对齐否则会执行失败。
4. 不支持libcareplus热补丁机制。
5. 多个进程间无法共享大页,会消耗多倍内存。

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

File diff suppressed because it is too large Load Diff