基于 Linux 系统参数在 X86 与 ARM 架构下 Nginx 性能调优的比较分析
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP39

基金项目:

深圳市科技计划项目(JCYJ20220818101607015)


Comparative Analysis of Nginx Performance Tuning Based on Linux System Parameters on X86 versus ARM Architectures
Author:
Affiliation:

Fund Project:

This work is supported by Shenzhen Science and Technology Program (JCYJ20220818101607015)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    在当今的数字时代,Nginx 已成为 Linux 系统上最为普及的 Web 应用服务器,占据的市场份额排第一名。由于 Nginx 在确保用户服务质量方面的作用较关键,因此,对 Nginx 性能的优化显得尤为重要。Nginx 服务器虽然广泛部署于 X86 和 ARM 两种主要的硬件架构上,但迄今为止,针对这两种架构下 Nginx 性能调优的对比分析尚为空白。该研究旨在填补这一缺口,通过对比这两种架构的系统参数自动调优效果,明确指出 X86 和 ARM 在不同场景(动态与静态请求处理)的性能差异:在动态请求处理场景中,X86 架构的第 99 百分位延迟比 ARM 低 515 ms,性能提升高达 287%。而在静态请求处理时,ARM 架构的第 99 百分位延迟比 X86 低 220 ms,性能提升高达 60%。这一发现突出了 X86 和 ARM 架构在处理不同负载时的特定优势,并明确指出了不同硬件架构对 Nginx 性能优化策略的显著影响。因此,系统管理员在针对不同硬件架构进行 Nginx 性能优化时,必须考量架构特有的静态与动态请求之间的性能差异和迭代效率,以确保最佳性能表现。

    Abstract:

    In today’s digital age, Nginx has become the most widely used Web application server on Linux systems, holding the top position in market share. Nginx plays a critical role in ensuring user service quality, making its performance optimization crucial. Although Nginx servers are widely deployed on both X86 and ARM architectures, there is a lack of comparative analysis on performance tuning for these architectures. This study aims to fill this gap by comparing automatic system parameter tuning on Nginx across the two architectures. It identifies the performance differences between X86 and ARM in different scenarios (dynamic and static request processing). When handling dynamic requests, Nginx on the X86 architecture achieves a 99th percentile latency 515 ms lower than that on the ARM architecture, reflecting a performance improvement of 287%. Conversely, in static request processing, the ARM architecture performs better, with a 99th percentile latency 220 ms lower than that of X86, marking a 60% performance increase. These findings highlight the distinct advantages of X86 and ARM architectures in handling different loads and the significant impact of hardware architecture on Nginx performance optimization strategies. Therefore, system administrators must consider performance differences between static and dynamic requests and the unique characteristics of each architecture to achieve optimal performance.

    参考文献
    相似文献
    引证文献
引用本文

引文格式
陈文雄,李乐乐,喻之斌.基于 Linux 系统参数在 X86 与 ARM 架构下 Nginx 性能调优的比较分析 [J].集成技术,2024,13(6):16-30

Citing format
CHEN Wenxiong, LI Lele, YU Zhibin. Comparative Analysis of Nginx Performance Tuning Based on Linux System Parameters on X86 versus ARM Architectures[J]. Journal of Integration Technology,2024,13(6):16-30

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-03-07
  • 最后修改日期:2024-03-07
  • 录用日期:
  • 在线发布日期: 2024-04-22
  • 出版日期:
文章二维码