SlideShare uma empresa Scribd logo
1 de 5
Baixar para ler offline
Achieve more PostgreSQL transactions
per minute with newer Amazon
Web Services instances powered by
2nd Generation Intel Xeon Scalable
Processors – Cascade Lake
M5n instances powered by 2nd Generation Intel
Xeon Scalable (8259CL) Cascade Lake processors
handled more transactions per second compared
to older instances powered by Intel Xeon
(E5-2686 v4) Broadwell processors
Ecommerce businesses that are in the market for new cloud instances should
seek a solution that delivers strong online transaction processing (OLTP)
performance. Purchasing older instances may seem like a good idea due to
familiarity or low cost, but newer instances can provide stronger ecommerce
performance to help your site keep up with user demand.
At Principled Technologies, we tested an OLTP workload on two series of
small, medium, and large general-purpose instances for Amazon Elastic Cloud
Compute (Amazon EC2) running PostgreSQL databases:
• Newer M5n instances powered by 2nd Generation Intel®
Xeon®
Scalable
8259CL processors
• Older M4 instances powered by Intel Xeon (E5-2686
v4) Broadwell processors
In our tests, the newer M5n instances completed more PostgreSQL transactions
per minute than the M4 instances, which could help your organization handle
more customers and give users a better experience when using your services.
Large instances:
Support 1.41x
the transactions per minute
Medium instances:
Support 1.20x
the transactions per minute
Small instances:
Support 1.27x
the transactions per minute
Achieve more PostgreSQL transactions per minute with newer Amazon Web Services
instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
December 2020
A Principled Technologies report: Hands-on testing. Real-world results.
How we tested
We used an OLTP workload from the HammerDB suite
to test the instances for Amazon EC2 upon which we
installed PostgreSQL: new M5n instances powered by
2nd Generation Intel Xeon Scalable (8259CL) Cascade
Lake processors, and older M4 instances powered by
Intel Xeon (E5-2686 v4) Broadwell processors. The M4
instances are available in a variety of different processor
configurations, however we chose to test with the
Broadwell processors.
The HammerDB developers derived their OLTP
workload from TPC-C benchmark specifications.
However, because the HammerDB test is not a full
implementation of the official TPC-C benchmark,
our results are not directly comparable to
published TPC-C results.
We compared the M5n and M4 instances across
three sizes to demonstrate their value at different
workload and performance levels. Like other cloud
service providers, Amazon defines an instance’s size
by its vCPU count. We chose to test instances with 8,
16, and 64 vCPUs.
Figure 1: Specifications for the Amazon EC2 VMs we used for testing.
Note that we tested each instance in the us-east-1f region. Source: Principled Technologies.
M5n instances for Amazon EC2
In 2019, Amazon introduced M5n instances
to their EC2 offerings, extending 100Gbps
networking and adding improved packet-
processing performance capabilities to its
general-purpose M family.1
In addition to
adding 2nd Generation Intel Xeon Scalable
processors to the M-series options, M5n
instances support the following:2
• Higher CPU core frequency (3.1
GHz vs. 2.3 GHz)
• 25 Gbps of peak bandwidth for small
and medium instances, 75Gbps for
large instances
• AWS Nitro System, which provides better
security and performance compared to
older AWS hypervisors3
• Options for direct-attached NVMe SSDs
instead of EBS volumes
• Higher EBS-dedicated bandwidth
Small instances Medium instances Large instances
vCPUs: 8 vCPUs: 16 vCPUs: 64
Database size: 50 GB
New instance: m5n.4xlarge
Old instance: m4.4xlarge
Database size: 125 GB
New instance: m5n.16xlarge
Old instance: m4.16xlarge
Database size: 20 GB
New instance: m5n.2xlarge
Old instance: m4.2xlarge
December 2020 | 2
Achieve more PostgreSQL transactions per minute with newer Amazon Web Services
instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
Our results
For each instance size we tested, new 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processor-
powered M5n instances handled more transactions than the Intel Xeon (E5-2686) Broadwell processor-powered
M4 instances. With the advantages of the newer instances we saw during testing, organizations would be able
to support more online customers and help them have a smoother experience when using online services during
peak traffic times.
Small instances
Small businesses may find that 8-vCPU instances are enough to meet their ecommerce needs and keep
customers happy. The newer m5n.2xlarge instances processed 1.27 times the transactions per minute on
average compared to the older m4.2xlarge instances.
Medium instances
Businesses with a larger customer base may require 16-vCPU instances to power their ecommerce work. Figure 3
shows that the new m5n.4xlarge instances again processed more transactions per minute on average, achieving
1.20 times the rate of the older m4.4xlarge instance.
m5n.2xlarge
m4.2xlarge
Small instance comparison: transactions per minute (normalized)
Transactions per minute
Higher is better
1.27x
the TPM
0 0.2 0.4 0.6 0.8 1.0 1.41.2
m5n.4xlarge
m4.4xlarge
Medium instance comparison: transactions per minute (normalized)
Higher is better
Transactions per minute
1.20x
the TPM
0 0.2 0.4 0.6 0.8 1.0 1.41.2
Figure 2: Normalized comparison of the average number of TPC-C-like transactions per minute each small PostgreSQL
database instance achieved during the HammerDB workload. A higher rate is better. Source: Principled Technologies.
Figure 3: Normalized comparison of the average number of TPC-C-like transactions per minute each
medium PostgreSQL database instance achieved during the HammerDB workload. A higher rate is better.
Source: Principled Technologies.
December 2020 | 3
Achieve more PostgreSQL transactions per minute with newer Amazon Web Services
instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
Large instances
Businesses that must meet demand for many thousands of users each day may need 64-vCPU
instances or larger to keep up. In our tests, the new m5n.16xlarge instances powered by 2nd
Generation Intel Xeon Scalable (8259CL) Cascade Lake processors handled 1.41 times the
average transactions per minute as the m4.16xlarge instances.
Greater performance at high vCPU count
In our tests, the performance margin between the M5n and M4 series
instances grew from 1.20x with 16vCPU instances to 1.41x for large
64vCPU instances.
m5n.16xlarge
m4.16xlarge
Large instance comparison: transactions per minute (normalized)
Higher is better
Transactions per minute
1.41x
the TPM
0 0.2 0.4 0.6 0.8 1.0 1.41.2
Figure 4: Normalized comparison of the average number of TPC-C-like transactions per minute each large PostgreSQL
database instance achieved during the HammerDB workload. A higher rate is better. Source: Principled Technologies.
Better performance, better investment
Our performance findings suggest the M5n instances can provide anywhere from 1.20
to 1.41 times the rate of transactions per second as the M4 instances. At the time of this
writing, however, all sizes and specifications of the M5n instances cost just 1.19 times as
much as their M4 counterparts.4
By investing in M5n instances as opposed to M4 instances,
you would be getting better performance for your money.
1.27 times the TPM
for small instances
1.20 times the TPM
for medium instances
1.41 times the TPM
for large instances
December 2020 | 4
Achieve more PostgreSQL transactions per minute with newer Amazon Web Services
instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
Conclusion
No matter what size operation you run, your business’ ecommerce site needs to be able to keep up with user
demand. Doing so can facilitate customer satisfaction and help to foster repeat patrons.
In our tests, newer 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processor-powered M5n-series
instances for Amazon EC2 processed more PostgreSQL transactions per second compared to older M4-series
instances powered by Intel Xeon (E5-2686 v4) Broadwell processors. Choosing faster instances can help to
ensure you meet the needs of your current user base while paving the way for the future.
1	 Julien Simon, “New M5n and R5n EC2 Instances, with up to 100Gbps networking,” accessed November 3, 2020,
https://aws.amazon.com/blogs/aws/new-m5n-and-r5n-instances-with-up-to-100-gbps-networking/.
2	 “Amazon EC2 Instance Types,” accessed November 3, 2020,
https://aws.amazon.com/ec2/instance-types/.
3	 “AWS Nitro System,” accessed November 16, 2020,
https://aws.amazon.com/ec2/nitro/.
4	 “Amazon EC2 On-Demand Pricing,” accessed October 28, 2020,
https://aws.amazon.com/ec2/pricing/on-demand/
Principled Technologies is a registered trademark of Principled Technologies, Inc.
All other product names are the trademarks of their respective owners.
For additional information, review the science behind this report.
Principled
Technologies®
Facts matter.®Principled
Technologies®
Facts matter.®
This project was commissioned by Intel.
Read the science behind this report at http://facts.pt/3YlY74Z
December 2020 | 5
Achieve more PostgreSQL transactions per minute with newer Amazon Web Services
instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake

Mais conteúdo relacionado

Mais de Principled Technologies

Scale up your storage with higher-performing Dell APEX Block Storage for AWS
Scale up your storage with higher-performing Dell APEX Block Storage for AWSScale up your storage with higher-performing Dell APEX Block Storage for AWS
Scale up your storage with higher-performing Dell APEX Block Storage for AWSPrincipled Technologies
 
Get in and stay in the productivity zone with the HP Z2 G9 Tower Workstation
Get in and stay in the productivity zone with the HP Z2 G9 Tower WorkstationGet in and stay in the productivity zone with the HP Z2 G9 Tower Workstation
Get in and stay in the productivity zone with the HP Z2 G9 Tower WorkstationPrincipled Technologies
 
Open up new possibilities with higher transactional database performance from...
Open up new possibilities with higher transactional database performance from...Open up new possibilities with higher transactional database performance from...
Open up new possibilities with higher transactional database performance from...Principled Technologies
 
Improving database performance and value with an easy migration to Azure Data...
Improving database performance and value with an easy migration to Azure Data...Improving database performance and value with an easy migration to Azure Data...
Improving database performance and value with an easy migration to Azure Data...Principled Technologies
 
Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...Principled Technologies
 
Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...Principled Technologies
 
Set up students and teachers to excel now and in the future with Intel proces...
Set up students and teachers to excel now and in the future with Intel proces...Set up students and teachers to excel now and in the future with Intel proces...
Set up students and teachers to excel now and in the future with Intel proces...Principled Technologies
 
Finding the path to AI success with the Dell AI portfolio - Summary
Finding the path to AI success with the Dell AI portfolio - SummaryFinding the path to AI success with the Dell AI portfolio - Summary
Finding the path to AI success with the Dell AI portfolio - SummaryPrincipled Technologies
 
Finding the path to AI success with the Dell AI portfolio
Finding the path to AI success with the Dell AI portfolioFinding the path to AI success with the Dell AI portfolio
Finding the path to AI success with the Dell AI portfolioPrincipled Technologies
 
Achieve strong performance and value on Azure SQL Database Hyperscale
Achieve strong performance and value on Azure SQL Database HyperscaleAchieve strong performance and value on Azure SQL Database Hyperscale
Achieve strong performance and value on Azure SQL Database HyperscalePrincipled Technologies
 
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...Principled Technologies
 
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...Principled Technologies
 
Utilizing Azure Cosmos DB for intelligent AI‑powered applications
Utilizing Azure Cosmos DB for intelligent AI‑powered applicationsUtilizing Azure Cosmos DB for intelligent AI‑powered applications
Utilizing Azure Cosmos DB for intelligent AI‑powered applicationsPrincipled Technologies
 
Build an Azure OpenAI application using your own enterprise data
Build an Azure OpenAI application using your own enterprise dataBuild an Azure OpenAI application using your own enterprise data
Build an Azure OpenAI application using your own enterprise dataPrincipled Technologies
 
Dell Chromebooks: Durable, easy to deploy, and easy to service
Dell Chromebooks: Durable, easy to deploy, and easy to serviceDell Chromebooks: Durable, easy to deploy, and easy to service
Dell Chromebooks: Durable, easy to deploy, and easy to servicePrincipled Technologies
 
Back up and restore data faster with a Dell PowerProtect Data Manager Applian...
Back up and restore data faster with a Dell PowerProtect Data Manager Applian...Back up and restore data faster with a Dell PowerProtect Data Manager Applian...
Back up and restore data faster with a Dell PowerProtect Data Manager Applian...Principled Technologies
 
Back up and restore data faster with a Dell PowerProtect Data Manager Appliance
Back up and restore data faster with a Dell PowerProtect Data Manager ApplianceBack up and restore data faster with a Dell PowerProtect Data Manager Appliance
Back up and restore data faster with a Dell PowerProtect Data Manager AppliancePrincipled Technologies
 
Meeting the challenges of AI workloads with the Dell AI portfolio - Summary
Meeting the challenges of AI workloads with the Dell AI portfolio - SummaryMeeting the challenges of AI workloads with the Dell AI portfolio - Summary
Meeting the challenges of AI workloads with the Dell AI portfolio - SummaryPrincipled Technologies
 
The Dell Latitude 5440 survived 30 drops and still functioned properly
The Dell Latitude 5440 survived 30 drops and still functioned properlyThe Dell Latitude 5440 survived 30 drops and still functioned properly
The Dell Latitude 5440 survived 30 drops and still functioned properlyPrincipled Technologies
 
Meeting the challenges of AI workloads with the Dell AI portfolio
Meeting the challenges of AI workloads with the Dell AI portfolioMeeting the challenges of AI workloads with the Dell AI portfolio
Meeting the challenges of AI workloads with the Dell AI portfolioPrincipled Technologies
 

Mais de Principled Technologies (20)

Scale up your storage with higher-performing Dell APEX Block Storage for AWS
Scale up your storage with higher-performing Dell APEX Block Storage for AWSScale up your storage with higher-performing Dell APEX Block Storage for AWS
Scale up your storage with higher-performing Dell APEX Block Storage for AWS
 
Get in and stay in the productivity zone with the HP Z2 G9 Tower Workstation
Get in and stay in the productivity zone with the HP Z2 G9 Tower WorkstationGet in and stay in the productivity zone with the HP Z2 G9 Tower Workstation
Get in and stay in the productivity zone with the HP Z2 G9 Tower Workstation
 
Open up new possibilities with higher transactional database performance from...
Open up new possibilities with higher transactional database performance from...Open up new possibilities with higher transactional database performance from...
Open up new possibilities with higher transactional database performance from...
 
Improving database performance and value with an easy migration to Azure Data...
Improving database performance and value with an easy migration to Azure Data...Improving database performance and value with an easy migration to Azure Data...
Improving database performance and value with an easy migration to Azure Data...
 
Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...
 
Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...Realize better value and performance migrating from Azure Database for Postgr...
Realize better value and performance migrating from Azure Database for Postgr...
 
Set up students and teachers to excel now and in the future with Intel proces...
Set up students and teachers to excel now and in the future with Intel proces...Set up students and teachers to excel now and in the future with Intel proces...
Set up students and teachers to excel now and in the future with Intel proces...
 
Finding the path to AI success with the Dell AI portfolio - Summary
Finding the path to AI success with the Dell AI portfolio - SummaryFinding the path to AI success with the Dell AI portfolio - Summary
Finding the path to AI success with the Dell AI portfolio - Summary
 
Finding the path to AI success with the Dell AI portfolio
Finding the path to AI success with the Dell AI portfolioFinding the path to AI success with the Dell AI portfolio
Finding the path to AI success with the Dell AI portfolio
 
Achieve strong performance and value on Azure SQL Database Hyperscale
Achieve strong performance and value on Azure SQL Database HyperscaleAchieve strong performance and value on Azure SQL Database Hyperscale
Achieve strong performance and value on Azure SQL Database Hyperscale
 
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
 
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
Improve backup and recovery outcomes by combining Dell APEX Data Storage Serv...
 
Utilizing Azure Cosmos DB for intelligent AI‑powered applications
Utilizing Azure Cosmos DB for intelligent AI‑powered applicationsUtilizing Azure Cosmos DB for intelligent AI‑powered applications
Utilizing Azure Cosmos DB for intelligent AI‑powered applications
 
Build an Azure OpenAI application using your own enterprise data
Build an Azure OpenAI application using your own enterprise dataBuild an Azure OpenAI application using your own enterprise data
Build an Azure OpenAI application using your own enterprise data
 
Dell Chromebooks: Durable, easy to deploy, and easy to service
Dell Chromebooks: Durable, easy to deploy, and easy to serviceDell Chromebooks: Durable, easy to deploy, and easy to service
Dell Chromebooks: Durable, easy to deploy, and easy to service
 
Back up and restore data faster with a Dell PowerProtect Data Manager Applian...
Back up and restore data faster with a Dell PowerProtect Data Manager Applian...Back up and restore data faster with a Dell PowerProtect Data Manager Applian...
Back up and restore data faster with a Dell PowerProtect Data Manager Applian...
 
Back up and restore data faster with a Dell PowerProtect Data Manager Appliance
Back up and restore data faster with a Dell PowerProtect Data Manager ApplianceBack up and restore data faster with a Dell PowerProtect Data Manager Appliance
Back up and restore data faster with a Dell PowerProtect Data Manager Appliance
 
Meeting the challenges of AI workloads with the Dell AI portfolio - Summary
Meeting the challenges of AI workloads with the Dell AI portfolio - SummaryMeeting the challenges of AI workloads with the Dell AI portfolio - Summary
Meeting the challenges of AI workloads with the Dell AI portfolio - Summary
 
The Dell Latitude 5440 survived 30 drops and still functioned properly
The Dell Latitude 5440 survived 30 drops and still functioned properlyThe Dell Latitude 5440 survived 30 drops and still functioned properly
The Dell Latitude 5440 survived 30 drops and still functioned properly
 
Meeting the challenges of AI workloads with the Dell AI portfolio
Meeting the challenges of AI workloads with the Dell AI portfolioMeeting the challenges of AI workloads with the Dell AI portfolio
Meeting the challenges of AI workloads with the Dell AI portfolio
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Último (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake

  • 1. Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake M5n instances powered by 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processors handled more transactions per second compared to older instances powered by Intel Xeon (E5-2686 v4) Broadwell processors Ecommerce businesses that are in the market for new cloud instances should seek a solution that delivers strong online transaction processing (OLTP) performance. Purchasing older instances may seem like a good idea due to familiarity or low cost, but newer instances can provide stronger ecommerce performance to help your site keep up with user demand. At Principled Technologies, we tested an OLTP workload on two series of small, medium, and large general-purpose instances for Amazon Elastic Cloud Compute (Amazon EC2) running PostgreSQL databases: • Newer M5n instances powered by 2nd Generation Intel® Xeon® Scalable 8259CL processors • Older M4 instances powered by Intel Xeon (E5-2686 v4) Broadwell processors In our tests, the newer M5n instances completed more PostgreSQL transactions per minute than the M4 instances, which could help your organization handle more customers and give users a better experience when using your services. Large instances: Support 1.41x the transactions per minute Medium instances: Support 1.20x the transactions per minute Small instances: Support 1.27x the transactions per minute Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake December 2020 A Principled Technologies report: Hands-on testing. Real-world results.
  • 2. How we tested We used an OLTP workload from the HammerDB suite to test the instances for Amazon EC2 upon which we installed PostgreSQL: new M5n instances powered by 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processors, and older M4 instances powered by Intel Xeon (E5-2686 v4) Broadwell processors. The M4 instances are available in a variety of different processor configurations, however we chose to test with the Broadwell processors. The HammerDB developers derived their OLTP workload from TPC-C benchmark specifications. However, because the HammerDB test is not a full implementation of the official TPC-C benchmark, our results are not directly comparable to published TPC-C results. We compared the M5n and M4 instances across three sizes to demonstrate their value at different workload and performance levels. Like other cloud service providers, Amazon defines an instance’s size by its vCPU count. We chose to test instances with 8, 16, and 64 vCPUs. Figure 1: Specifications for the Amazon EC2 VMs we used for testing. Note that we tested each instance in the us-east-1f region. Source: Principled Technologies. M5n instances for Amazon EC2 In 2019, Amazon introduced M5n instances to their EC2 offerings, extending 100Gbps networking and adding improved packet- processing performance capabilities to its general-purpose M family.1 In addition to adding 2nd Generation Intel Xeon Scalable processors to the M-series options, M5n instances support the following:2 • Higher CPU core frequency (3.1 GHz vs. 2.3 GHz) • 25 Gbps of peak bandwidth for small and medium instances, 75Gbps for large instances • AWS Nitro System, which provides better security and performance compared to older AWS hypervisors3 • Options for direct-attached NVMe SSDs instead of EBS volumes • Higher EBS-dedicated bandwidth Small instances Medium instances Large instances vCPUs: 8 vCPUs: 16 vCPUs: 64 Database size: 50 GB New instance: m5n.4xlarge Old instance: m4.4xlarge Database size: 125 GB New instance: m5n.16xlarge Old instance: m4.16xlarge Database size: 20 GB New instance: m5n.2xlarge Old instance: m4.2xlarge December 2020 | 2 Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
  • 3. Our results For each instance size we tested, new 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processor- powered M5n instances handled more transactions than the Intel Xeon (E5-2686) Broadwell processor-powered M4 instances. With the advantages of the newer instances we saw during testing, organizations would be able to support more online customers and help them have a smoother experience when using online services during peak traffic times. Small instances Small businesses may find that 8-vCPU instances are enough to meet their ecommerce needs and keep customers happy. The newer m5n.2xlarge instances processed 1.27 times the transactions per minute on average compared to the older m4.2xlarge instances. Medium instances Businesses with a larger customer base may require 16-vCPU instances to power their ecommerce work. Figure 3 shows that the new m5n.4xlarge instances again processed more transactions per minute on average, achieving 1.20 times the rate of the older m4.4xlarge instance. m5n.2xlarge m4.2xlarge Small instance comparison: transactions per minute (normalized) Transactions per minute Higher is better 1.27x the TPM 0 0.2 0.4 0.6 0.8 1.0 1.41.2 m5n.4xlarge m4.4xlarge Medium instance comparison: transactions per minute (normalized) Higher is better Transactions per minute 1.20x the TPM 0 0.2 0.4 0.6 0.8 1.0 1.41.2 Figure 2: Normalized comparison of the average number of TPC-C-like transactions per minute each small PostgreSQL database instance achieved during the HammerDB workload. A higher rate is better. Source: Principled Technologies. Figure 3: Normalized comparison of the average number of TPC-C-like transactions per minute each medium PostgreSQL database instance achieved during the HammerDB workload. A higher rate is better. Source: Principled Technologies. December 2020 | 3 Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
  • 4. Large instances Businesses that must meet demand for many thousands of users each day may need 64-vCPU instances or larger to keep up. In our tests, the new m5n.16xlarge instances powered by 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processors handled 1.41 times the average transactions per minute as the m4.16xlarge instances. Greater performance at high vCPU count In our tests, the performance margin between the M5n and M4 series instances grew from 1.20x with 16vCPU instances to 1.41x for large 64vCPU instances. m5n.16xlarge m4.16xlarge Large instance comparison: transactions per minute (normalized) Higher is better Transactions per minute 1.41x the TPM 0 0.2 0.4 0.6 0.8 1.0 1.41.2 Figure 4: Normalized comparison of the average number of TPC-C-like transactions per minute each large PostgreSQL database instance achieved during the HammerDB workload. A higher rate is better. Source: Principled Technologies. Better performance, better investment Our performance findings suggest the M5n instances can provide anywhere from 1.20 to 1.41 times the rate of transactions per second as the M4 instances. At the time of this writing, however, all sizes and specifications of the M5n instances cost just 1.19 times as much as their M4 counterparts.4 By investing in M5n instances as opposed to M4 instances, you would be getting better performance for your money. 1.27 times the TPM for small instances 1.20 times the TPM for medium instances 1.41 times the TPM for large instances December 2020 | 4 Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake
  • 5. Conclusion No matter what size operation you run, your business’ ecommerce site needs to be able to keep up with user demand. Doing so can facilitate customer satisfaction and help to foster repeat patrons. In our tests, newer 2nd Generation Intel Xeon Scalable (8259CL) Cascade Lake processor-powered M5n-series instances for Amazon EC2 processed more PostgreSQL transactions per second compared to older M4-series instances powered by Intel Xeon (E5-2686 v4) Broadwell processors. Choosing faster instances can help to ensure you meet the needs of your current user base while paving the way for the future. 1 Julien Simon, “New M5n and R5n EC2 Instances, with up to 100Gbps networking,” accessed November 3, 2020, https://aws.amazon.com/blogs/aws/new-m5n-and-r5n-instances-with-up-to-100-gbps-networking/. 2 “Amazon EC2 Instance Types,” accessed November 3, 2020, https://aws.amazon.com/ec2/instance-types/. 3 “AWS Nitro System,” accessed November 16, 2020, https://aws.amazon.com/ec2/nitro/. 4 “Amazon EC2 On-Demand Pricing,” accessed October 28, 2020, https://aws.amazon.com/ec2/pricing/on-demand/ Principled Technologies is a registered trademark of Principled Technologies, Inc. All other product names are the trademarks of their respective owners. For additional information, review the science behind this report. Principled Technologies® Facts matter.®Principled Technologies® Facts matter.® This project was commissioned by Intel. Read the science behind this report at http://facts.pt/3YlY74Z December 2020 | 5 Achieve more PostgreSQL transactions per minute with newer Amazon Web Services instances powered by 2nd Generation Intel Xeon Scalable Processors – Cascade Lake