Graviton 3 (r7g) has arrived in the Tokyo region's Aurora! Here are some brief performance test results and points to note.

This is Yuta Kikai (@fat47) from the Service Reliability Group (SRG) of the Media Division.
#SRGThe Service Reliability Group primarily provides comprehensive support for the infrastructure surrounding our media services, focusing on improving existing services, launching new ones, and contributing to open-source software (OSS).
 
This article describes the availability of Graviton3 (r7g) in the Tokyo region of AWS Aurora, as well as performance testing and points to be aware of when using it.
I hope this is of some help.
 

Graviton3 (r7g) has finally arrived in the Tokyo region for Aurora!


Aurora's support for Graviton3 (r7g) was actually released in May of last year (2023).
However, at this point, the service was only available in a limited number of regions, including the eastern United States (Northern Virginia, Ohio) and the western United States (Oregon).
 
I waited for over a year after that...
I suddenly noticed that r7g instances are now available in the Tokyo region as well.
 
As of now (September 9, 2024)It appears there has been no official release announcement, including for an English version.
[Update] An English document was released on September 10th Japan time.
15 additional regions, including US West (N. California), Canada (Central), South America (Sao Paulo), Europe (Stockholm), Europe (Frankfurt), Europe (London), Europe (Milan), Europe (Spain), Asia Pacific (Mumbai), Asia Pacific (Hyderabad), Asia Pacific (Seoul), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), and Asia Pacific (Hong Kong).

Differences from r6g


Regarding performance

I'd like to quote a portion of an article from when r7g was released in the North American region.
Graviton3 instances deliver up to 30% performance improvements and up to 20% cost/performance improvements compared to Aurora's Graviton2 instances, depending on the database engine, version, and workload.
 
It appears that performance is expected to improve by about 30%.

Regarding fees

Here is an excerpt from the official price list.
 
Tokyo Region Price List
Instance typeHourly rate (on-demand)Price difference compared to the same spec r6g
db.r7g.largeUSD 0.333+6.39%
db.r7g.xlargeUSD 0.665+6.06%
db.r7g.2xlargeUSD 1.331+6.23%
db.r7g.4xlargeUSD 2.662+6.23%
It turns out that the price is about 6% higher compared to Graviton2 (r6g).

Sysbench performance comparison and verification between R6G and R7G


We performed measurements using sysbench on r6g.large and r7g.large instances.
Both the load-applying and load-receiving parties must be within the same Availability Zone (AZ).

Preparing an environment that will put a load on the system

Instance type: c7a.xlarge
AMI:amazon/al2023-ami-2023.5.20240903.0-kernel-6.1-x86_64
 
Creating schema tables for sysbench
Create 5 tables, each with 50,000 rows of data.

Running sysbench

oltp_read_write
 
I ran the process three times on each instance. I didn't consider the difficulty of clearing the cache in Aurora.
The average of the three trials is summarized below.
readwriteothertotaltransactionsqueries
r6g204,39558,39829,199291,99314,599 (243per sec)291,993 (4866per sec)
r7g274,10678,31639,158391,58019,579 (326per sec)391,580(6526per sec)
Difference from r6g+34.1%+34.1%+34.1%+34.1%+34.1%+34.1%
In this test, we observed a performance improvement of approximately 34% in each item.
As an example, here's a graph showing the performance differences of transactions.
 
Instance costs will increase by 6%, but performance will improve by nearly 30%.
  • Instance size can be reduced.
  • The number of instances can be reduced.
I think it would be a good idea to consider whether such things are possible.

Please be aware of the pricing of reserved instances.


Graviton3 seems very promising, but there are a few things to keep in mind.
it isThe discount on reserved instances is lower compared to r6g.That's the point.
Reserved Instances are a system that allows you to use instances at a discounted rate by paying part or all of the instance cost in advance.
 
Currently, the pricing for r7g reserved instances in the Tokyo region is not listed on the official website.Northern Virginia (us-east-1) regionLet's compare them using the price list.

Calculation conditions

Reserve period: 1 year
Payment options: Full payment in advance
Region:Northern Virginia (us-east-1)
 
The following is the price list based on the above conditions.
Instance nameRI full upfront payment, hourly rate conversionCost reduction compared to on-demand servicesOn-demand pricing
db.r6g.largeUSD 0.14246%USD 0.2600
db.r6g.xlargeUSD 0.28345%USD 0.5190
db.r6g.2xlargeUSD 0.56645%USD 1.0380
db.r6g.4xlargeUSD 1.13245%USD 2.0760
db.r7g.largeUSD 0.20227%USD 0.2760
db.r7g.xlargeUSD 0.40427%USD 0.5530
db.r7g.2xlargeUSD 0.807 27%USD 1.1060
db.r7g.4xlargeUSD 1.61427%USD 2.2110
It can be seen that r6g has a high discount rate for radioisotopes.

Price comparison results for r6g.large and r7g.large

To make it easier to understand, I directly compared the prices of r6g.large and r7g.large and calculated the percentage increase compared to r6g.
Instance nameRI full upfront payment, hourly rate conversionOn-demand pricing
r6g.largeUSD 0.142USD 0.2600
r7g.largeUSD 0.202 (+42.2%)USD 0.2760 (+6.1%)
On-demand pricing has increased by approximately 6%. This is not significantly different from the figures listed in the Tokyo region's price list.
and,Reserved instances are approximately 42% more expensive than r6g.This was the result.

In conclusion


I'm so happy that Graviton 3, which I've been waiting for, has been released in the Tokyo region for Aurora! Thank you, AWS!
Upgrading from R6G is relatively easy, so it's worth considering the performance and price differences before making a decision.
However, if you are already using r6g with fully prepaid reserved instances, we recommend that you perform a more thorough calculation.
 
SRG is looking for new team members. If you are interested, please contact us here.