Jump To Close Expand all Collapse all Table of contents 性能调节指南 1. 红帽企业版 Linux 7 的性能特性 Expand section "1. 红帽企业版 Linux 7 的性能特性" Collapse section "1. 红帽企业版 Linux 7 的性能特性" 1.1. 7.0版本中的新变化 2. 性能监控工具 Expand section "2. 性能监控工具" Collapse section "2. 性能监控工具" 2.1. /proc 2.2. GNOME 系统监控器 2.3. PCP 2.4. Tuna 2.5. 内置命令行工具 Expand section "2.5. 内置命令行工具" Collapse section "2.5. 内置命令行工具" 2.5.1. top 2.5.2. ps 2.5.3. vmstst 2.5.4. sar 2.6. tuned 和 tuned-adm 2.7. perf 2.8. turbostat 2.9. iostat 2.10. irqbalance 2.11. ss 2.12. numastat 2.13. numad 2.14. SystemTap 2.15. OProfile 2.16. Valgrind 3. CPU Expand section "3. CPU" Collapse section "3. CPU" 3.1. 注意事项 Expand section "3.1. 注意事项" Collapse section "3.1. 注意事项" 3.1.1. 系统拓扑 3.1.2. 调度 3.1.3. 中断请求管理 3.2. 监控和诊断性能问题 Expand section "3.2. 监控和诊断性能问题" Collapse section "3.2. 监控和诊断性能问题" 3.2.1. turbostat 3.2.2. numastat 3.2.3. /proc/ 中断 3.3. 配置建议 Expand section "3.3. 配置建议" Collapse section "3.3. 配置建议" 3.3.1. 配置内核滴答记号时间 3.3.2. 设置硬件性能策略 3.3.3. 使用 taskset 设置处理器关联 3.3.4. 使用 numaactl 管理 NUMA 关联 3.3.5. 使用 numad 进行自动化 NUMA 关联管理 3.3.6. 调节调度策略 3.3.7. 设置中断关联 3.3.8. 使用 Tuna 配置 CPU、线程和中断关联 4. 内存 Expand section "4. 内存" Collapse section "4. 内存" 4.1. 注意事项 Expand section "4.1. 注意事项" Collapse section "4.1. 注意事项" 4.1.1. 页面大小 4.1.2. 转换后背缓冲区大小 4.2. 监控及诊断性能问题 Expand section "4.2. 监控及诊断性能问题" Collapse section "4.2. 监控及诊断性能问题" 4.2.1. 使用 vmstat 监控内存使用量 4.2.2. 用 Valgrind 分析应用程序的内存使用量 4.3. 配置工具 Expand section "4.3. 配置工具" Collapse section "4.3. 配置工具" 4.3.1. 配置大页面 4.3.2. 配置系统内存容量 5. 存储和文件系统 Expand section "5. 存储和文件系统" Collapse section "5. 存储和文件系统" 5.1. 注意事项 Expand section "5.1. 注意事项" Collapse section "5.1. 注意事项" 5.1.1. 固态硬盘 5.1.2. I/O 调度器 5.1.3. 文件系统 5.1.4. 文件系统的一般调整注意事项 5.2. 性能问题监控和诊断 Expand section "5.2. 性能问题监控和诊断" Collapse section "5.2. 性能问题监控和诊断" 5.2.1. 使用 vmstat 监控系统性能 5.2.2. 使用 iostat 监控 I/O 性能 5.2.3. 使用 SystemTap 监控存储 5.3. 配置工具 Expand section "5.3. 配置工具" Collapse section "5.3. 配置工具" 5.3.1. 配置存储性能的调整配置文件。 5.3.2. 设置默认 I/O 调度器 5.3.3. 为设备配置 I/O 调度器 5.3.4. 调整期限调度器 5.3.5. 调整 cfq 调度器 5.3.6. 调整 noop 调度器 5.3.7. 为性能配置文件系统 6. 网络 Expand section "6. 网络" Collapse section "6. 网络" 6.1. 注意事项 Expand section "6.1. 注意事项" Collapse section "6.1. 注意事项" 6.1.1. 调节前 6.1.2. 数据包接收瓶颈 6.2. 监控和诊断性能问题 Expand section "6.2. 监控和诊断性能问题" Collapse section "6.2. 监控和诊断性能问题" 6.2.1. ss 6.2.2. ip 6.2.3. dropwatch 6.2.4. ethtool 6.2.5. /proc/net/snmp 6.2.6. 使用 SystemTap 监控网络 6.3. 配置工具 Expand section "6.3. 配置工具" Collapse section "6.3. 配置工具" 6.3.1. 网络性能 Tuned-adm 配置文件 6.3.2. 配置硬件缓冲区 6.3.3. 配置中断队列 6.3.4. 配置 socket 接收队列 6.3.5. 配置 RSS 6.3.6. 配置 RPS 6.3.7. 配置 RFS 6.3.8. 配置加速 RFS A. 工具参考 Expand section "A. 工具参考" Collapse section "A. 工具参考" A.1. irqbalance(中断平衡) A.2. Tuna A.3. ethtool A.4. ss A.5. tuned A.6. tuned-adm A.7. perf A.8. PCP(性能协驾) A.9. vmstat A.10. x86_energy_perf_policy A.11. turbostat A.12. numastat A.13. numactl A.14. numad Expand section "A.14. numad" Collapse section "A.14. numad" A.14.1. 在命令行使用 numad A.14.2. 作为一个服务来使用 numad A.14.3. 预安排建议 A.14.4. 使用带 KSM 的 numad A.15. OProfile A.16. taskset A.17. SystemTap B. 修订历史 法律通告 Settings Close Language: 日本語 English 한국어 简体中文 繁體中文 Language: 日本語 English 한국어 简体中文 繁體中文 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 日本語 English 한국어 简体中文 繁體中文 Language: 日本語 English 한국어 简体中文 繁體中文 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Red Hat Training A Red Hat training course is available for Red Hat Enterprise Linux A.3. ethtool ethtool 工具允许管理员查看和编辑网络接口卡设置。这有助于观察某些设备的统计信息,比如被设备丢弃的数据包的数量。 手册页全面记录了 ethtool 的选项和使用。 $ man ethtool Previous Next