Redis is an open-source, in-memory datastore that is often used as a database, caching system, and message broker. It is widely used in industries for real-time applications such as healthcare systems, IoT, and financial services. Redis is highly scalable and used for real-time analytics, caching, pub/subs applications, and session management.
In this blog, we demonstrate the performance advantage of Yitian 710 over x86 by comparing Redis 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.
We used Memtier as the load generator and performance benchmarking tool. It is an open-source high-throughput benchmarking tool for Redis built by Redis Labs. Memtier was deployed on separate ECS instance.
For the Redis server, we deployed multiple Redis processes on each core.
Figure 1. Redis benchmarking topology
The server under test has two ECS instances with the following configurations. The benchmark client used a single G8y.8xlarge instance.
Table 1. Test server configurations
The benchmark tests were performed with the following software versions and test parameters.
We use 8 Memtier clients to generate requests for 8 Redis processes simultaneously. Each Memtier client creates 8 threads with 10 clients per thread, which gave 80 simultaneous connections (sessions). Pipeline 1, 50 and 100 was used in this test. Pipeline values greater than 1 can be used for bulk data transfers to increase the throughput of the application.
After enabling XPS (transmit packet steering), RPS (receive packet steering) and RFS (receive flow steering) on G8y and G7, performance can be improved on both instances. We observed up to 36% performance benefit of running a Redis database on Yitian 710 based instances compared to equivalent x86-based instances. The results shown in the following tables are an aggregated result of 30 consecutive test runs.
Let us look at the performance numbers of Redis on G8y and G7 instances. We compared the throughput (operations/sec) values after multiple test runs.
Table 2. Redis throughput performance results on G8y vs. G7
Figure 2. Performance gains for G8y vs. G7 instances
Redis deployed on Yitian 710 based ECS provides up to 36% more throughput 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.
More Cloud Workloads on Arm