SlideShare a Scribd company logo
1 of 22
Download to read offline
Alibaba Cloud Benchmarking
Performance Benchmarking and Report
Author: Limton Xavier
Email:limtonpx@gmail.com
Disclaimer: This report was prepared based on my own experience and for self-learning, this report is not to give or guide
to take decision. This benchmark report has been created to give you a rough idea about Alibaba basic components
performance. Taking this benchmark report for a comparison of other cloud competitors is at own user Risk.
Limton Xavier
1
Table of Contents
Performance Benchmarking ....................................................................................................2
Benchmarking Infra Setup....................................................................................................2
Benchmarking tools Installation............................................................................................3
Sysbench........................................................................................................................................3
Iperf3 ...............................................................................................................................................3
Performance Benchmarking for ECS ...................................................................................4
CPU testing ....................................................................................................................................4
Disk IO testing ...............................................................................................................................7
Network Performance.................................................................................................................10
Performance Benchmarking for RDS .................................................................................12
Instance 1: “mysql.n1.micro.1”..................................................................................................12
Instance 2: “mysql.s2.large” ......................................................................................................16
RDS Comparison ........................................................................................................................20
Disclaimer................................................................................................................................21
Limton Xavier
2
Performance Benchmarking
Benchmark testing is the process of load testing a component to determine the performance
characteristics of hardware/application. The benchmark test is repeatable in that the performance
measurements captured will vary only a few percent each time the test is run. This enables single
changes to be made to application or infrastructure in an attempt to determine if there is a performance
improvement.
Here I am trying to create a performance benchmarking for Alibaba cloud component as stated below.
1) Alibaba ECS
a. CPU testing.
b. Alibaba Block Storage.
c. Networking.
2) ApsaraDB for RDS
a. QPS & TPS
b. IOPS
c. CPU & Memory
d. Disk
Benchmarking Infra Setup
Before starting our benchmarking activity, I have created all the necessary infrastructure from Alibaba
cloud platform.
The infrastructure setup is has been built with below configuration.
 ECS - ecs.n4.small with 1vCPU and 2GB ram ecs.sn2ne.large with 2vCPU_8GB ram – 40GB
Ultra disk and 20GB SSD Disk.
 Operating system - Ubuntu Version: x86_64.
 Default VPC and Subnet with public IP for connection.
 ApsaraDB for RDS - MySQL 5.7-mysql.n1.micro.1 with 1Core and 1024GB ram &
rds.mysql.s2.large with 2core & 4096MB DBmemory
Limton Xavier
3
High level design for the infra setup is below.
Benchmarking tools Installation
There are multiple benchmarking tools in market, all the tools will provide more or less same
report/outputs.
Here I have considered two different benchmarking tools as given below.
1) Sysbench
2) Iperf3
Sysbench
Sysbench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters
that are important for a system running a database under intensive load.
Sysbench provides benchmarking capabilities for Linux. Sysbench supports testing CPU, memory, file I/O,
mutex performance, and even MySQL benchmarking.
Sysbench version used Sysbench 0.4.12 and it can installed by the apt-get for Ubuntu
root@Limton_ECS2:~# apt-get install sysbench
Iperf3
Iperf is a widely used tool for network performance measurement and tuning. It is significant as a cross-
platform tool that can produce standardized performance measurements for any network. Iperf has
client and server functionality, and can create data streams to measure the throughput between the
Limton Xavier
4
two ends in one or both directions. Typical Iperf output contains a time-stamped report of the amount
of data transferred and the throughput measured.
Iperf version used iperf 3.0.11 and it can installed by the apt-get for Ubuntu
root@Limton_ECS2:~# apt-get install iperf3
Performance Benchmarking for ECS
This benchmark testing is to get the performance standpoint for ECS components like CPU, disk IO, and
network.
CPU testing
CPU is the key component for benchmarking, wherein we need to test and assess the CPU load and
capability. To assess these factor I used sysbench tool to give some load testing by running some
automated prime number calculation.
Testing components:
ECS - ecs.n4.small with 1vCPU_2GB ram & ecs.sn2ne.large with 2vCPU_8GB ram.
Tool – sysbench
ecs.n4.small
root@Limton_ECS2:~# sysbench --test=cpu --cpu-max-prime=20000 run
Limton Xavier
5
CPU response
The response for testing was successful, overall 20000 prime number calculation has been completed by
32seconds. And per request time taken is about 2.59ms.
ecs.sn2ne.large
Limton Xavier
6
The response for testing was successful, overall 20000 prime number calculation has been completed by
25seconds. And per request time taken is about 2.59ms.
CPU Comparison
Limton Xavier
7
Disk IO testing
Disk IO benchmarking is on the key performance indicator to define the cloud based storages in market ,
though we have different type of disk available in cloud based get the right one for our business need is
challenging . I did a detailed IO load testing on two types of disks Ultra and SSD, I created a 10G and 15G
data on both the disk and ran a random IO testing to understand its behavior.
These type of performance benchmarking will give you a clear idea when to choose and how to choose.
Testing components:
Disk: Ultra Disk 15G data testing & SSD disk 20G data testing
Tool: sysbench
Limton Xavier
8
Ultra-Disk IO testing
Overall output looks attractive, Ultra-Disk can able to take 2410 request per second with random read
and write.
IOPS is on the key parameter we need to factor in terms of performance, Ultra-Disk can give 2263 IOPS
read/write as benchmarking result.
Limton Xavier
9
Throughput is almost is very high with is about 38.3MB/s.
SSD-Disk IO testing
Overall output looks attractive, SSD-Disk can able to take 1885 request per second with random read
and write.
IOPS is on the key parameter we need to factor in terms of performance, SSD-Disk can give 4236 IOPS-
read/write as benchmarking result.
Limton Xavier
10
Throughput is almost is very high with is about 30.121MB/s.
Disk IO Comparison
Network Performance
Network performance is the analysis and review of collective network statistics, to define the quality of
services offered by the underlying cloud network.
It is a qualitative and quantitative process that measures and defines the performance level of a given
network. It guides a network administrator in the review, measure and improvement of network
services.
Iperf is a point-to-point network tool for active measurements of throughput between two servers in
both directions. The tool can effectively measure the maximum server bandwidth of your uplink. Iperf
measures both TCP and UDP bandwidth performance.
Testing Components:
Limton Xavier
11
ECS - 2 Server of “ecs.n4.small with 1vCPU and 2GB ram “
Tools – ipref3
Interval: It specifies the time duration for the data transfer.
Transfer: This shows the total data size transferred using the Iperf test. All of the data is flushed out
after completing the test.
Bandwidth: The rate of speed with which the data was transferred in Mbit/sec.
The output is very optimal its can able transfer 1 GB/s sending and 994Mb/s receiving.
Limton Xavier
12
Performance Benchmarking for RDS
There are a handful of RDS options to choose from when you’re looking to spin up a new database
instance. The below benchmark will give you some idea how to compare and RDS instance in Alicloud.
RDS components used:
Database: MySQL 5.7
Type: mysql.n1.micro.1 with 1 core & 1024MB DBmemory & rds.mysql.s2.large with 2core & 4096MB DBmemory
Tools: Sysbench
Instance 1: “mysql.n1.micro.1”
I had tested this benchmark by create DB and table size of 1000000 entries and did a random read and
write to check the performance on the DB.
root@Limton_ECS2:~# sysbench --test=oltp --oltp-table-size=1000000 --mysql-host=rm-
6gjo2ixs2n4j4ru9p.mysql.ap-south-1.rds.aliyuncs.com --mysql-port=3306 --mysql-db=dbtest --mysql-
user=root --mysql-password=XXXXX prepare
At the time of writing on DB, captured the status of the DB server.
Limton Xavier
13
And identified the 84 IOPS at the time of table creation
Limton Xavier
14
At the time of actual testing I generated random and complex read and write operation in DB tables.
root@Limton_ECS2:~#sysbench --test=oltp --oltp-table-size=1000000 --oltp-test-mode=complex --oltp-
read-only=off --num-threads=6 --max-time=60 --max-requests=0 --mysql-host=rm-
6gjo2ixs2n4j4ru9p.mysql.ap-south-1.rds.aliyuncs.com --mysql-port=3306 --mysql-db=dbtest --mysql-
user=root --mysql-password=XXXXX run
Output
The ApsaraDB for RDS with micro instance can able to handle 15087 events in 60s. With average QPS for
716 quires and TPS of 34 transactions.
Limton Xavier
15
Limton Xavier
16
Instance 2: “mysql.s2.large”
I had tested this benchmark by create DB and table size of 1000000 entries and did a random read and
write to check the performance on the DB.
root@Limton_ECS2:~# sysbench --test=oltp --oltp-table-size=1000000 --oltp-test-m
ode=complex --oltp-read-only=off --num-threads=6 --max-time=60 --max-requests=0
--mysql-host=rm-6gjq98uze792o9cm6.mysql.ap-south-1.rds.aliyuncs.com --mysql-port
=3306 --mysql-db=dbtest --mysql-user=dbadmin --mysql-password=XXXX run
Limton Xavier
17
Output:
The ApsaraDB for RDS with Large instance can able to handle 34707 events in 60s. With average QPS for
1666 quires and TPS of 78 transactions.
Limton Xavier
18
Limton Xavier
19
Limton Xavier
20
RDS Comparison
I tried to compare two different RDS on QPS, TPS, and IOPS by running 1000000 table random and
complex queries.
1) mysql.n1.micro.1 with 1 core & 1024MB DBmemory
2) rds.mysql.s2.large with 2core & 4096MB DBmemory
Limton Xavier
21
Disclaimer
Disclaimer: This report was prepared based on my own experience and for self-learning, this report is
not to give or guide to take decision. This benchmark report has been created to give you a rough idea
about Alibaba basic components performance. Taking this benchmark report for a comparison of other
cloud competitors is at own user Risk.

More Related Content

What's hot

Plate Spin Disaster Recovery Solution
Plate Spin Disaster Recovery SolutionPlate Spin Disaster Recovery Solution
Plate Spin Disaster Recovery Solutionmuralis3
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSandeep Patil
 
Impact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPCImpact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPCMemVerge
 
BKK16-311 EAS Upstream Stategy
BKK16-311 EAS Upstream StategyBKK16-311 EAS Upstream Stategy
BKK16-311 EAS Upstream StategyLinaro
 
Challenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the CloudChallenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the CloudIntel® Software
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...xKinAnx
 
Immutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar ProvisionImmutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar ProvisionRackN
 
Intel speed-select-technology-base-frequency-enhancing-performance
Intel speed-select-technology-base-frequency-enhancing-performanceIntel speed-select-technology-base-frequency-enhancing-performance
Intel speed-select-technology-base-frequency-enhancing-performanceVijaianand Sundaramoorthy
 
Teradata memory management - A balancing act
Teradata memory management  -  A balancing actTeradata memory management  -  A balancing act
Teradata memory management - A balancing actShaheryar Iqbal
 
Ensuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paperEnsuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paperhptoga
 
Scott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilienceScott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilienceNordic Infrastructure Conference
 
System z Server Upgrade Due Diligence
System z Server Upgrade Due DiligenceSystem z Server Upgrade Due Diligence
System z Server Upgrade Due DiligenceMichael Moss
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EDB
 
Multiprocessor architecture and programming
Multiprocessor architecture and programmingMultiprocessor architecture and programming
Multiprocessor architecture and programmingRaul Goycoolea Seoane
 
Generic Resource Manager - László Vadkerti, András Kovács
Generic Resource Manager - László Vadkerti, András KovácsGeneric Resource Manager - László Vadkerti, András Kovács
Generic Resource Manager - László Vadkerti, András Kovácsharryvanhaaren
 
Oow2007 performance
Oow2007 performanceOow2007 performance
Oow2007 performanceRicky Zhu
 

What's hot (19)

Plate Spin Disaster Recovery Solution
Plate Spin Disaster Recovery SolutionPlate Spin Disaster Recovery Solution
Plate Spin Disaster Recovery Solution
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf Weiser
 
Impact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPCImpact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPC
 
BKK16-311 EAS Upstream Stategy
BKK16-311 EAS Upstream StategyBKK16-311 EAS Upstream Stategy
BKK16-311 EAS Upstream Stategy
 
Challenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the CloudChallenges for Deploying a High-Performance Computing Application to the Cloud
Challenges for Deploying a High-Performance Computing Application to the Cloud
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
 
Immutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar ProvisionImmutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar Provision
 
Intel speed-select-technology-base-frequency-enhancing-performance
Intel speed-select-technology-base-frequency-enhancing-performanceIntel speed-select-technology-base-frequency-enhancing-performance
Intel speed-select-technology-base-frequency-enhancing-performance
 
Teradata memory management - A balancing act
Teradata memory management  -  A balancing actTeradata memory management  -  A balancing act
Teradata memory management - A balancing act
 
Mike Resseler - Using hyper-v replica in your environment
Mike Resseler - Using hyper-v replica in your environmentMike Resseler - Using hyper-v replica in your environment
Mike Resseler - Using hyper-v replica in your environment
 
Ensuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paperEnsuring performance for real time packet processing in open stack white paper
Ensuring performance for real time packet processing in open stack white paper
 
Hadoop availability
Hadoop availabilityHadoop availability
Hadoop availability
 
Scott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilienceScott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilience
 
System z Server Upgrade Due Diligence
System z Server Upgrade Due DiligenceSystem z Server Upgrade Due Diligence
System z Server Upgrade Due Diligence
 
OVS v OVS-DPDK
OVS v OVS-DPDKOVS v OVS-DPDK
OVS v OVS-DPDK
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
 
Multiprocessor architecture and programming
Multiprocessor architecture and programmingMultiprocessor architecture and programming
Multiprocessor architecture and programming
 
Generic Resource Manager - László Vadkerti, András Kovács
Generic Resource Manager - László Vadkerti, András KovácsGeneric Resource Manager - László Vadkerti, András Kovács
Generic Resource Manager - László Vadkerti, András Kovács
 
Oow2007 performance
Oow2007 performanceOow2007 performance
Oow2007 performance
 

Similar to Alibaba cloud benchmarking report ecs rds limton xavier

Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Odinot Stanislas
 
Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Community
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...WASdev Community
 
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...Intel IT Center
 
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
 
M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...
M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...
M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...MariaDB plc
 
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdfOracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdfsivakodali7
 
Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...Francesco Taurino
 
VMmark virtualization performance of the Lenovo ThinkServer RD630
VMmark virtualization performance of the Lenovo ThinkServer RD630VMmark virtualization performance of the Lenovo ThinkServer RD630
VMmark virtualization performance of the Lenovo ThinkServer RD630Principled Technologies
 
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013Amazon Web Services
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningScott Jenner
 
MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...
MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...
MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...Principled Technologies
 
WebSphere Portal Version 6.0 Web Content Management and DB2 Tuning Guide
WebSphere Portal Version 6.0 Web Content Management and DB2 Tuning GuideWebSphere Portal Version 6.0 Web Content Management and DB2 Tuning Guide
WebSphere Portal Version 6.0 Web Content Management and DB2 Tuning GuideTan Nguyen Phi
 
Testing Persistent Storage Performance in Kubernetes with Sherlock
Testing Persistent Storage Performance in Kubernetes with SherlockTesting Persistent Storage Performance in Kubernetes with Sherlock
Testing Persistent Storage Performance in Kubernetes with SherlockScyllaDB
 
Intel xeon e5v3 y sdi
Intel xeon e5v3 y sdiIntel xeon e5v3 y sdi
Intel xeon e5v3 y sdiTelecomputer
 
Reducing tco white paper rev5
Reducing tco white paper rev5Reducing tco white paper rev5
Reducing tco white paper rev5Manoj Punamia
 
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Nuno Alves
 
Energy efficient AI workload partitioning on multi-core systems
Energy efficient AI workload partitioning on multi-core systemsEnergy efficient AI workload partitioning on multi-core systems
Energy efficient AI workload partitioning on multi-core systemsDeepak Shankar
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
 

Similar to Alibaba cloud benchmarking report ecs rds limton xavier (20)

Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
 
Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
 
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
Hardware and Software Co-optimization to Make Sure Oracle Fusion Middleware R...
 
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...
 
M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...
M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...
M|18 Intel and MariaDB: Strategic Collaboration to Enhance MariaDB Functional...
 
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdfOracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
 
Presentation
PresentationPresentation
Presentation
 
Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...
 
VMmark virtualization performance of the Lenovo ThinkServer RD630
VMmark virtualization performance of the Lenovo ThinkServer RD630VMmark virtualization performance of the Lenovo ThinkServer RD630
VMmark virtualization performance of the Lenovo ThinkServer RD630
 
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
Your Linux AMI: Optimization and Performance (CPN302) | AWS re:Invent 2013
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance Tuning
 
MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...
MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...
MySQL and Spark machine learning performance on Azure VMsbased on 3rd Gen AMD...
 
WebSphere Portal Version 6.0 Web Content Management and DB2 Tuning Guide
WebSphere Portal Version 6.0 Web Content Management and DB2 Tuning GuideWebSphere Portal Version 6.0 Web Content Management and DB2 Tuning Guide
WebSphere Portal Version 6.0 Web Content Management and DB2 Tuning Guide
 
Testing Persistent Storage Performance in Kubernetes with Sherlock
Testing Persistent Storage Performance in Kubernetes with SherlockTesting Persistent Storage Performance in Kubernetes with Sherlock
Testing Persistent Storage Performance in Kubernetes with Sherlock
 
Intel xeon e5v3 y sdi
Intel xeon e5v3 y sdiIntel xeon e5v3 y sdi
Intel xeon e5v3 y sdi
 
Reducing tco white paper rev5
Reducing tco white paper rev5Reducing tco white paper rev5
Reducing tco white paper rev5
 
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
 
Energy efficient AI workload partitioning on multi-core systems
Energy efficient AI workload partitioning on multi-core systemsEnergy efficient AI workload partitioning on multi-core systems
Energy efficient AI workload partitioning on multi-core systems
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
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
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Recently uploaded (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
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
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Alibaba cloud benchmarking report ecs rds limton xavier

  • 1. Alibaba Cloud Benchmarking Performance Benchmarking and Report Author: Limton Xavier Email:limtonpx@gmail.com Disclaimer: This report was prepared based on my own experience and for self-learning, this report is not to give or guide to take decision. This benchmark report has been created to give you a rough idea about Alibaba basic components performance. Taking this benchmark report for a comparison of other cloud competitors is at own user Risk.
  • 2. Limton Xavier 1 Table of Contents Performance Benchmarking ....................................................................................................2 Benchmarking Infra Setup....................................................................................................2 Benchmarking tools Installation............................................................................................3 Sysbench........................................................................................................................................3 Iperf3 ...............................................................................................................................................3 Performance Benchmarking for ECS ...................................................................................4 CPU testing ....................................................................................................................................4 Disk IO testing ...............................................................................................................................7 Network Performance.................................................................................................................10 Performance Benchmarking for RDS .................................................................................12 Instance 1: “mysql.n1.micro.1”..................................................................................................12 Instance 2: “mysql.s2.large” ......................................................................................................16 RDS Comparison ........................................................................................................................20 Disclaimer................................................................................................................................21
  • 3. Limton Xavier 2 Performance Benchmarking Benchmark testing is the process of load testing a component to determine the performance characteristics of hardware/application. The benchmark test is repeatable in that the performance measurements captured will vary only a few percent each time the test is run. This enables single changes to be made to application or infrastructure in an attempt to determine if there is a performance improvement. Here I am trying to create a performance benchmarking for Alibaba cloud component as stated below. 1) Alibaba ECS a. CPU testing. b. Alibaba Block Storage. c. Networking. 2) ApsaraDB for RDS a. QPS & TPS b. IOPS c. CPU & Memory d. Disk Benchmarking Infra Setup Before starting our benchmarking activity, I have created all the necessary infrastructure from Alibaba cloud platform. The infrastructure setup is has been built with below configuration.  ECS - ecs.n4.small with 1vCPU and 2GB ram ecs.sn2ne.large with 2vCPU_8GB ram – 40GB Ultra disk and 20GB SSD Disk.  Operating system - Ubuntu Version: x86_64.  Default VPC and Subnet with public IP for connection.  ApsaraDB for RDS - MySQL 5.7-mysql.n1.micro.1 with 1Core and 1024GB ram & rds.mysql.s2.large with 2core & 4096MB DBmemory
  • 4. Limton Xavier 3 High level design for the infra setup is below. Benchmarking tools Installation There are multiple benchmarking tools in market, all the tools will provide more or less same report/outputs. Here I have considered two different benchmarking tools as given below. 1) Sysbench 2) Iperf3 Sysbench Sysbench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load. Sysbench provides benchmarking capabilities for Linux. Sysbench supports testing CPU, memory, file I/O, mutex performance, and even MySQL benchmarking. Sysbench version used Sysbench 0.4.12 and it can installed by the apt-get for Ubuntu root@Limton_ECS2:~# apt-get install sysbench Iperf3 Iperf is a widely used tool for network performance measurement and tuning. It is significant as a cross- platform tool that can produce standardized performance measurements for any network. Iperf has client and server functionality, and can create data streams to measure the throughput between the
  • 5. Limton Xavier 4 two ends in one or both directions. Typical Iperf output contains a time-stamped report of the amount of data transferred and the throughput measured. Iperf version used iperf 3.0.11 and it can installed by the apt-get for Ubuntu root@Limton_ECS2:~# apt-get install iperf3 Performance Benchmarking for ECS This benchmark testing is to get the performance standpoint for ECS components like CPU, disk IO, and network. CPU testing CPU is the key component for benchmarking, wherein we need to test and assess the CPU load and capability. To assess these factor I used sysbench tool to give some load testing by running some automated prime number calculation. Testing components: ECS - ecs.n4.small with 1vCPU_2GB ram & ecs.sn2ne.large with 2vCPU_8GB ram. Tool – sysbench ecs.n4.small root@Limton_ECS2:~# sysbench --test=cpu --cpu-max-prime=20000 run
  • 6. Limton Xavier 5 CPU response The response for testing was successful, overall 20000 prime number calculation has been completed by 32seconds. And per request time taken is about 2.59ms. ecs.sn2ne.large
  • 7. Limton Xavier 6 The response for testing was successful, overall 20000 prime number calculation has been completed by 25seconds. And per request time taken is about 2.59ms. CPU Comparison
  • 8. Limton Xavier 7 Disk IO testing Disk IO benchmarking is on the key performance indicator to define the cloud based storages in market , though we have different type of disk available in cloud based get the right one for our business need is challenging . I did a detailed IO load testing on two types of disks Ultra and SSD, I created a 10G and 15G data on both the disk and ran a random IO testing to understand its behavior. These type of performance benchmarking will give you a clear idea when to choose and how to choose. Testing components: Disk: Ultra Disk 15G data testing & SSD disk 20G data testing Tool: sysbench
  • 9. Limton Xavier 8 Ultra-Disk IO testing Overall output looks attractive, Ultra-Disk can able to take 2410 request per second with random read and write. IOPS is on the key parameter we need to factor in terms of performance, Ultra-Disk can give 2263 IOPS read/write as benchmarking result.
  • 10. Limton Xavier 9 Throughput is almost is very high with is about 38.3MB/s. SSD-Disk IO testing Overall output looks attractive, SSD-Disk can able to take 1885 request per second with random read and write. IOPS is on the key parameter we need to factor in terms of performance, SSD-Disk can give 4236 IOPS- read/write as benchmarking result.
  • 11. Limton Xavier 10 Throughput is almost is very high with is about 30.121MB/s. Disk IO Comparison Network Performance Network performance is the analysis and review of collective network statistics, to define the quality of services offered by the underlying cloud network. It is a qualitative and quantitative process that measures and defines the performance level of a given network. It guides a network administrator in the review, measure and improvement of network services. Iperf is a point-to-point network tool for active measurements of throughput between two servers in both directions. The tool can effectively measure the maximum server bandwidth of your uplink. Iperf measures both TCP and UDP bandwidth performance. Testing Components:
  • 12. Limton Xavier 11 ECS - 2 Server of “ecs.n4.small with 1vCPU and 2GB ram “ Tools – ipref3 Interval: It specifies the time duration for the data transfer. Transfer: This shows the total data size transferred using the Iperf test. All of the data is flushed out after completing the test. Bandwidth: The rate of speed with which the data was transferred in Mbit/sec. The output is very optimal its can able transfer 1 GB/s sending and 994Mb/s receiving.
  • 13. Limton Xavier 12 Performance Benchmarking for RDS There are a handful of RDS options to choose from when you’re looking to spin up a new database instance. The below benchmark will give you some idea how to compare and RDS instance in Alicloud. RDS components used: Database: MySQL 5.7 Type: mysql.n1.micro.1 with 1 core & 1024MB DBmemory & rds.mysql.s2.large with 2core & 4096MB DBmemory Tools: Sysbench Instance 1: “mysql.n1.micro.1” I had tested this benchmark by create DB and table size of 1000000 entries and did a random read and write to check the performance on the DB. root@Limton_ECS2:~# sysbench --test=oltp --oltp-table-size=1000000 --mysql-host=rm- 6gjo2ixs2n4j4ru9p.mysql.ap-south-1.rds.aliyuncs.com --mysql-port=3306 --mysql-db=dbtest --mysql- user=root --mysql-password=XXXXX prepare At the time of writing on DB, captured the status of the DB server.
  • 14. Limton Xavier 13 And identified the 84 IOPS at the time of table creation
  • 15. Limton Xavier 14 At the time of actual testing I generated random and complex read and write operation in DB tables. root@Limton_ECS2:~#sysbench --test=oltp --oltp-table-size=1000000 --oltp-test-mode=complex --oltp- read-only=off --num-threads=6 --max-time=60 --max-requests=0 --mysql-host=rm- 6gjo2ixs2n4j4ru9p.mysql.ap-south-1.rds.aliyuncs.com --mysql-port=3306 --mysql-db=dbtest --mysql- user=root --mysql-password=XXXXX run Output The ApsaraDB for RDS with micro instance can able to handle 15087 events in 60s. With average QPS for 716 quires and TPS of 34 transactions.
  • 17. Limton Xavier 16 Instance 2: “mysql.s2.large” I had tested this benchmark by create DB and table size of 1000000 entries and did a random read and write to check the performance on the DB. root@Limton_ECS2:~# sysbench --test=oltp --oltp-table-size=1000000 --oltp-test-m ode=complex --oltp-read-only=off --num-threads=6 --max-time=60 --max-requests=0 --mysql-host=rm-6gjq98uze792o9cm6.mysql.ap-south-1.rds.aliyuncs.com --mysql-port =3306 --mysql-db=dbtest --mysql-user=dbadmin --mysql-password=XXXX run
  • 18. Limton Xavier 17 Output: The ApsaraDB for RDS with Large instance can able to handle 34707 events in 60s. With average QPS for 1666 quires and TPS of 78 transactions.
  • 21. Limton Xavier 20 RDS Comparison I tried to compare two different RDS on QPS, TPS, and IOPS by running 1000000 table random and complex queries. 1) mysql.n1.micro.1 with 1 core & 1024MB DBmemory 2) rds.mysql.s2.large with 2core & 4096MB DBmemory
  • 22. Limton Xavier 21 Disclaimer Disclaimer: This report was prepared based on my own experience and for self-learning, this report is not to give or guide to take decision. This benchmark report has been created to give you a rough idea about Alibaba basic components performance. Taking this benchmark report for a comparison of other cloud competitors is at own user Risk.