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

中国科学院深圳先进技术研究院

作者简介:

通讯作者:

基金项目:

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

伦理声明:



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

Affiliation:

Shenzhen Institute of Advanced Technology, CAS

Funding:

Shenzhen Science and Technology Program(JCYJ20220818101607015)

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

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

    Abstract:

    In today''s digital age, Nginx has emerged as the most prevalent web application server on Linux systems, securing the top position in market share. Given its critical role in ensuring the quality of service for users, optimizing the performance of Nginx servers is important. Despite the widespread deployment of Nginx servers across the two main hardware architectures, X86 and ARM, a comparative analysis of performance tuning on these architectures remains unexplored. This study aims to bridge this gap by employing automatic system parameter tuning on Nginx across these architectures, revealing the significant difference. When handling dynamic requests, the optimized performance of Nginx on X86 architecture significantly outperforms that of the ARM architecture. As a result, the optimized performance of Nginx on X86 architecture achieves a P99 latency of 515 milliseconds, which is performance improvement of 287% than that of the ARM architecture. Conversely, when processing static requests, the ARM architecture demonstrates superior performance, with a P99 latency of 220 milliseconds, resulting in a performance increase of 60% than that of X86 architecture. These findings highlight the distinct advantages of X86 and ARM architectures in handling different types of loads. It shows the significant impact of hardware architecture on optimizing Nginx’s performance. Therefore, to optimize the performance of Nginx web server, system administrators must consider the performance differences between static and dynamic requests of Nginx and the unique iterative efficiency over different hardware architectures.

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

陈文雄,李乐乐,喻之斌.基于Linux系统参数在X86与ARM架构下 Nginx性能调优的比较研究 [J].集成技术,

Citing format
chenwenxiong, lilele, yuzhibin. Comparative Analysis of Nginx Performance Tuning Based on Linux System Parameters on X86 versus ARM Architectures[J]. Journal of Integration Technology.

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