Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
  • Groups
    • Research Collaboration and Enablement
    • DesignStart
    • Education Hub
    • Innovation
    • Open Source Software and Platforms
  • Forums
    • AI and ML forum
    • Architectures and Processors forum
    • Arm Development Platforms forum
    • Arm Development Studio forum
    • Arm Virtual Hardware forum
    • Automotive forum
    • Compilers and Libraries forum
    • Graphics, Gaming, and VR forum
    • High Performance Computing (HPC) forum
    • Infrastructure Solutions forum
    • Internet of Things (IoT) forum
    • Keil forum
    • Morello Forum
    • Operating Systems forum
    • SoC Design and Simulation forum
    • 中文社区论区
  • Blogs
    • AI and ML blog
    • Announcements
    • Architectures and Processors blog
    • Automotive blog
    • Graphics, Gaming, and VR blog
    • High Performance Computing (HPC) blog
    • Infrastructure Solutions blog
    • Innovation blog
    • Internet of Things (IoT) blog
    • Operating Systems blog
    • Research Articles
    • SoC Design and Simulation blog
    • Tools, Software and IDEs blog
    • 中文社区博客
  • Support
    • Arm Support Services
    • Documentation
    • Downloads
    • Training
    • Arm Approved program
    • Arm Design Reviews
  • Community Help
  • More
  • Cancel
Arm Community blogs
Arm Community blogs
Infrastructure Solutions blog Improve NGINX performance up to 32% by deploying on Alibaba Cloud Yitian 710 instances
  • Blogs
  • Mentions
  • Sub-Groups
  • Tags
  • Jump...
  • Cancel
More blogs in Arm Community blogs
  • AI and ML blog

  • Announcements

  • Architectures and Processors blog

  • Automotive blog

  • Embedded blog

  • Graphics, Gaming, and VR blog

  • High Performance Computing (HPC) blog

  • Infrastructure Solutions blog

  • Internet of Things (IoT) blog

  • Operating Systems blog

  • SoC Design and Simulation blog

  • Tools, Software and IDEs blog

Tags
  • Server and Infrastructure
  • Neoverse
  • Cloud Application
Actions
  • RSS
  • More
  • Cancel
Related blog posts
Related forum threads

Improve NGINX performance up to 32% by deploying on Alibaba Cloud Yitian 710 instances

Ker Liu
Ker Liu
December 14, 2022
2 minute read time.

Introduction

NGINX is the most popular scale-out web application server. NetCraft ranks it as the leading web server in the world, powering more than 35% of active websites.

In this blog, we demonstrate the performance advantage of Yitian 710 over x86 by comparing NGINX throughput on Alibaba Cloud ECS. We use G8y instances (powered by Yitian 710 processors based on Armv9) and G7 instances (powered by 3rd Generation Intel Xeon Scalable processors) for this comparison.

Benchmark setup and results

For client traffic generation, we used the open source benchmarking application wrk.

For the NGINX server, we deployed NGINX on a single Alibaba Cloud ECS instance with 8 workers configured.

 NGINX benchmarking topology

Figure 1. NGINX benchmarking topology

The server under test has two ECS instances with the following configurations. The benchmark client used a single G8y.8xlarge instance.

Processor ECS type vCPU
Yitian 710 G8y.2xlarge 8
Intel Ice Lake G7.2xlarge 8

Table 1. Test server configurations

The benchmark tests were performed with the following software versions and test parameters.

Component name Version
NGINX 1.20.1
GCC version 10.2.1 20200825 (Alibaba 10.2.1-3 2.32)
Wrk 4.0.2
Operating system Alibaba Cloud Linux 3.2104 LTS

 

Test config parameter Value
Number of threads 32
Number of connections 1000

The wrk client creates 32 threads with total 1000 connections. To improve performance, we enable XPS (transmit packet steering) on both G8y and G7 instances. We also bind 8 transmit queues to 8 cores separately. We observe up to 32% increased performance running NGINX on Yitian 710 based instances compared to equivalent x86-based instances. The results shown in the following tables are an aggregated result of 20 consecutive test runs. 

Let us look at the performance numbers of NGINX on G8y and G7 instances. We compare the throughput (operations/sec) values after multiple test runs. 

Test type G7.2x (Requests/sec) G8y.2x (Requests/sec) Performance gain (%)
HTTP persistent connection 1111578.43 1333061.01 20%
HTTPS persistent connection 623165.01 820439.24 32%

Table 2. NGINX throughput performance results on G8y vs. G7

Performance gain for G8y vs. G7 instances

Figure 2. Performance gains for G8y vs. G7 instances

Conclusion

NGINX deployed on Yitian 710 based ECS provides up to 32% more throughput in compared to the equivalent x86 based ECS instances. In addition, according to Alibaba, the G8y instance based on Yitian 710 is priced 20% less than the G7 instance.

Please visit this page for details on how to migrate existing applications to Alibaba Cloud Yitian710 instances. For any queries related to your software workloads running on Arm platforms, feel free to reach out to us at sw-ecosystem@arm.com.

More Cloud Workloads on Arm

Anonymous
Infrastructure Solutions blog
  • Unlocking software innovations for Cloud, Edge and Telco Deployments with Red Hat and Arm

    P. Robin
    P. Robin
    Arm and Red Hat have a strong partnership that fosters software innovations for a wide range of cloud to edge platforms.
    • May 18, 2023
  • Container Runtimes and WasmEdge benchmarking on Arm

    Howard Zhang
    Howard Zhang
    The blog benchmarks WasmEdge and Runc on Arm64, discusses runtimes and WebAssembly, and concludes with a runtime comparison table.
    • May 17, 2023
  • Building a Serverless Platform on Arm64

    Howard Zhang
    Howard Zhang
    This blog provides an overview of Serverless technology, and show how it can be deployed on an Arm64 server with multiple container runtimes.
    • May 16, 2023