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

Shenzhen Institute of Advanced Technology, CAS

Funding:

Shenzhen Science and Technology Program(JCYJ20220818101607015)

Ethical statement:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
    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.

    Reference
    Related
    Cited by
Get Citation
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
History
  • Received:March 07,2024
  • Revised:March 07,2024
  • Adopted:
  • Online: April 22,2024
  • Published: