Ampere Computing Logo
Contact Sales
Ampere Computing Logo
Hero Image

Redis on Oracle Cloud Workload Brief

OCI Ampere A2 Instances Powered by AmpereOne Processors

Overview

AmpereOne® processors are designed from the ground up to deliver exceptional performance for Cloud Native applications. With an innovative architecture that delivers high performance, linear scalability, and stellar energy efficiency, AmpereOne® enables applications like Redis to run in a predictable manner, and with minimal variance under increasing loads.


Oracle Cloud offers the cost-optimized A2 VMs powered by AmpereOne® processors in multiple flexible VM shapes – 946GB total memory, up to 78 Gbps networking bandwidth, and a wide range of network-attached storage options. These VMs are suitable for scale-out Cloud Native workloads like web servers, in-memory caches, databases, containerized microservices, data-logging, media transcoding, and Big Data applications.


Redis is an open source, in-memory, key-value data store that is typically used as a distributed database or a cache. Due to its in-memory nature, Redis is very fast, and it can deliver high throughput at sub-millisecond latencies. It continues to rank highly in popularity among key value stores in the cloud, according to DB-engines.

 redis-flow-chart.png

In this performance brief, we compare Redis running on Oracle Cloud A2 VMs powered by AmpereOne® processors to AMD EPYC™ Genoa-based E5 VMs while measuring throughput and latencies on each of these instances.
RESULTS AND KEY FINDINGS

redis-graph.png


As can be seen above in Figure 1, the Oracle Cloud A2 flex VMs powered by AmpereOne® processors perform 12% better relative to AMD E5 VMs, under a p99 SLA of 1ms.


Figure 2 shows the price-performance running Redis. We measured a 70% uplift on A2 compared to E5. The instance pricing is derived from the Oracle Cloud cost estimator tool: https://www.oracle.com/cloud/costestimator.html

TEST METHODOLOGY

Redis 7.2.0 was used for the tests with Memtier_benchmark (developed by Redis Labs) as a load generator. Each test was configured to run with multiple threads, multiple clients per thread, and with pipelining enabled. The A2 and E5 systems under test (SUT) were 4 OCPU VMs. Three runs were performed to ensure run-to-run variance was low.


We recommend compiling Redis server with GCC (GNU Compiler Collection) 10.2 or newer as recent compilers have made significant progress towards generating optimized code for aarch64 applications.


Redis-server was compiled with GCC 10.2 for the tests, which were run on Oracle Linux 9.4. For each of the tests, a similar number of clients was used to generate requests to the Redis server.


Since it is realistic to measure throughput under a specified Service Level Agreement (SLA), a 99-percentile latency (p99) of 1 millisecond was used. This ensures 99 percent of requests have a response time of at the most 1 ms.


The test was run for 3 minutes with a 1:10 set:get ratio, which is common for in-memory caches. Since Redis is single threaded, multiple instances were used to load the VM. An appropriate number of clients and threads/client was used to load one instance of Redis, while ensuring the p.99 latency was at most 1 ms. Pipelining is a technique for improving performance by issuing multiple requests at once without waiting for a response to each individual request. This feature can dramatically reduce response times and pipelining was set to 150 requests in these tests.


The number of Redis instances was increased till one or more instances violated the p99 latency SLA. The aggregate throughput of all instances was used as the primary performance metric.

KEY FINDINGS AND CONCLUSIONS

Fast, open-source, in-memory key-value stores are used in most cloud caching usages today. Redis is a popular high throughput in-memory key-value store that is applicable to low latency applications in scale-out configurations. On Cloud Native applications such as Redis, the OCI A2 VMs powered by AmpereOne® outperform their legacy x86 E5 counterparts – by up to 12% on performance and 71% on price-performance. For cloud architects, choosing OCI A2 flex VMs can lead to better performance and considerable price-performance improvements.


For more information about the Oracle A2 virtual machines with AmpereOne® processors, please visit the Oracle Cloud website for further details.


FOOTNOTES
All data and information contained herein is for informational purposes only and Ampere reserves the right to change it without notice. This document may contain technical inaccuracies, omissions and typographical errors, and Ampere is under no obligation to update or correct this information. Ampere makes no representations or warranties of any kind, including express or implied guarantees of noninfringement, merchantability, or fitness for a particular purpose, and assumes no liability of any kind. All information is provided “AS IS.” This document is not an offer or a binding commitment by Ampere.

System configurations, components, software versions, and testing environments that differ from those used in Ampere’s tests may result in different measurements than those obtained by Ampere.

©2024 Ampere Computing LLC. All Rights Reserved. Ampere, Ampere Computing, AmpereOne and the Ampere logo are all registered trademarks or trademarks of Ampere Computing LLC or its affiliates. All other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.

Created At : July 2nd 2024, 10:23:53 pm
Last Updated At : July 30th 2024, 9:58:51 pm
Ampere Logo

Ampere Computing LLC

4655 Great America Parkway Suite 601

Santa Clara, CA 95054

image
image
image
image
image
 |  |  | 
© 2024 Ampere Computing LLC. All rights reserved. Ampere, Altra and the A and Ampere logos are registered trademarks or trademarks of Ampere Computing.
This site runs on Ampere Processors.