[Open infra] how to calculate the cloud system operating rate

Nalee Jang
Nalee JangSenior Consultant of Red Hat Korea à Red Hat Korea
How to Calculate
the Cloud System Operating Rate
1
Nalee Jang, Consultant of Red Hat Korea
2
About me
IT Expert on the Cloud!
I am a Consultant working with OpenStack and Cloud Platform of Red Hat Korea.
● My Name is NaleeJang.
● I am a Cloud Platform Consultant of Red Hat Korea.
● I was awarded HP Helion MVP(Most Valuable Professional, 2015.06.05) 7 years ago.
● I published 2 books. One of the book is "The Art of OpenStack", and other book is
"Easy Shell Script".
● I also have a patent for system and method for providing cloud market service for
sale contents base on software as a service 7 years ago (2015.09.25).
● I sometimes post my technical experience on my blog(http://naleejang.tistory.com)
● Also I usually use Facebook(http://www.facebook.com/naleejang)
● I was second leader of OpenStack Korea User Group. but I am just a member now.
(http://www.facebook.com/groups/openstack.kr/) (http://www.openstack.or.kr/)
OpenInfra Days Asia 2021
** The Art of OpenStack second edition / 20-May-2017 / Gilbut
*** Easy Shell Script / 1-February-2021 / Hanbit media
3
Motivation of this Session
Agenda
Cloud Virtualization Ratio
Cloud Operating Ratio
OpenInfra Days Asia 2021
4
How to Calculate the Cloud System Operating Rate
➢ What is the Cloud?
➢ Cloud Services
➢ Red Hat Cloud Platforms
➢ Purpose of this Session
Motivation of this Session
OpenInfra Days Asia 2021
5
Motivation of this Session
How to Calculate the Cloud System Operating Rate
What is the Cloud?
Cloud Service
server
storage
network
vm
container
notebook
desktop
smart tv
smart phone
smart pad
Cloud service contains Infra services (IaaS),
platform services (PaaS) and software services
(SaaS). Infra service provides infrastructure such
as server, storage, and network through the
Internet. Platform service provides a
development environment such as a web servers
and databases. Software service provides
applications such as web or apps.
Cloud service can be accessed and used anytime,
anywhere as long as there is a smart device
capable of internet such as a smartphone, smart
pad, desktop, or notebook.
OpenInfra Days Asia 2021
6
Motivation of this Session
How to Calculate the Cloud System Operating Rate
Cloud Services
Cloud technologies Cloud Services
Many companies are providing cloud services using cloud technologies like OpenStack and Kubernetes.
OpenInfra Days Asia 2021
7
Motivation of this Session
How to Calculate the Cloud System Operating Rate
Red Hat Cloud Platforms
Many companies in Asia adopted Red Hat Cloud Platforms like OpenStack and OpenShift for building their cloud services.
OpenInfra Days Asia 2021
8
Motivation of this Session
How to Calculate the Cloud System Operating Rate
Purpose of this Session
Let’s assume cloud system adoption in your company.
How do you calculate sizing when you adopt cloud system?
Do you know about cloud system building steps?
OpenInfra Days Asia 2021
9
How to Calculate the Cloud System Operating Rate
➢ OpenStack and Kubernetes
➢ Virtualization of Cloud Service
➢ Necessary Items
➢ Finding an Efficient
Virtualization Ratio
Cloud Virtualization Ratio
OpenInfra Days Asia 2021
10
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
OpenStack and Kubernetes
VS
OpenStack Kubernetes
OpenInfra Days Asia 2021
11
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
OpenStack and Kubernetes
VS
OpenInfra Days Asia 2021
12
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
OpenStack and Kubernetes
VS
OpenInfra Days Asia 2021
VM Container
VM VM Container
Container
13
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
OpenStack and Kubernetes
VS
OpenInfra Days Asia 2021
VM Container
VM VM Container
Container
OpenStack - Compute Service for providing Virtual Machine
Normally, OpenStack does not use all cloud resources.
It use some resources of host node by characteristic of created
vm. So for use virtual resources efficiently, resources like cpu set
hyperthread and use higher virtualization ratio.
Kubernetes - Container Service
Kubernetes is open source made by Google for managing
containers.
Container is lighter then vms and has good portability because
application is utilizing kernel of host node. Container can be used
on both bare metal or virtual machine if there is linux OS. So,
Container no consider virtualization. It use resources provides at
host.
14
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
Virtualization of Cloud Service
How can I use
resources efficiently
in OpenStack?
OpenInfra Days Asia 2021
15
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
Necessary Items of Virtualization Ratio
Flavors
Flavor is a spec like cpu, memory, disk
for creating virtual machine.
HW Specs
It means here H/W is openstack
compute node. We need compute
node h/w spec.
Necessary items for finding
virtualization ratio are vm
flavors and compute node
h/w spec.
OpenInfra Days Asia 2021
16
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
An Example of Virtualization Ratio
01 Compute1 Node H/W Spec
Available
Rate
CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
100 % 16 32 64 96 128 512
70 % 11 22 45 67 89 358
02 Compute2 Node H/W Spec
Available
Rate
CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
100 % 40 80 160 240 320 576
70 % 28 56 112 168 224 403
Let's assume hardware
with the following spec.
Compute1
- CPU 16 cores
- Memory 512 GB
Compute2
- CPU 40 cores
- Memory 576 GB
OpenInfra Days Asia 2021
** Most data center keep 70% resource of system.
17
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
An Example for Virtualization Ratio
01 Standard Instance Type
Name CPU Memory
t2.nano 1 0.5
t2.micro 1 1
t2.small 1 2
t2.medium 2 4
t2.large 2 8
t2.xlarge 4 16
t2.2xlarge 8 32
02 Large Memory Instance Type
Name CPU Memory
m1.medium 1 8
m1.large 2 16
m1.xlarge 4 32
m1.2xlarge 8 64
m1.4xlarge 16 128
Flavor is vm spec.
OpenInfra Days Asia 2021
18
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
Finding an Efficient Virtualization Ratio
01 Standard Flavor matrix for finding optimized virtualization ratio
Name CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
t2.nano 11 22 45 67 90 717
t2.micro 11 22 45 67 90 358
t2.small 11 22 45 67 90 179
t2.medium 6 11 22 34 45 90
t2.large 6 11 22 34 45 64
t2.xlarge 3 6 11 17 22 22
t2.2xlarge 1 3 6 8 11 11
Let's calculate the
standard flavor with
compute1
Compute1
- CPU 16 cores
- Memory 512 GB
t2.xlarge 4 16
Flavor
creatable vm count
= available cpu / flavor cpu
= available memory / flavor memory
(16 * 0.7) / 4 = 3
OpenInfra Days Asia 2021
((16*2*4) * 0.7) / 4 = 22
19
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
Finding an Efficient Virtualization Ratio
02 Large Memory Flavor matrix for finding optimized virtualization ratio
Name CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
m1.medium 11.2 22.4 44.8 67.2 89.6 44.8
m1.large 5.6 11.2 22.4 33.6 44.8 22.4
m1.xlarge 2.8 5.6 11.2 16.8 22.4 11.2
m1.2xlarge 1.4 2.8 5.6 8.4 11.2 5.6
m1.4xlarge 0.7 1.4 2.8 4.2 5.6 2.8
m1.2xlarge 8 64
creatable vm count
= available cpu / flavor cpu
= available memory / flavor memory
Flavor
((16*2*2) * 0.7) / 8 = 5.6
OpenInfra Days Asia 2021
(512 * 0.7) / 64 = 5.6
Let's calculate the large
memory flavor with
compute1
Compute1
- CPU 16 cores
- Memory 512 GB
20
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
Finding an Efficient Virtualization Ratio
01 Standard Flavor matrix for finding optimized virtualization ratio
Name CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
t2.nano 28 56 112 67 90 806
t2.micro 28 56 112 67 90 403
t2.small 28 56 112 67 90 202
t2.medium 14 28 56 34 45 101
t2.large 14 28 56 34 45 50
t2.xlarge 7 14 28 17 22 25
t2.2xlarge 3.5 7 14 8 11 13
Let's calculate the
standard flavor with
compute2
Compute2
- CPU 40 cores
- Memory 576 GB
OpenInfra Days Asia 2021
((40*2*2) * 0.7) / 2 = 56
t2.large 2 8
Flavor
(576 * 0.7) / 8 = 50
creatable vm count
= available cpu / flavor cpu
= available memory / flavor memory
21
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
Finding an Efficient Virtualization Ratio
02 Large Memory Flavor matrix for finding optimized virtualization ratio
Name CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
m1.medium 28 56 112 168 224 50.4
m1.large 14 28 56 84 112 25.2
m1.xlarge 7 14 28 42 56 12.6
m1.2xlarge 3.5 7 14 21 28 6.3
m1.4xlarge 1.75 3.5 7 10.5 14 3.15
((40*2) * 0.7) / 8 = 7
m1.2xlarge 8 64
Flavor
(576 * 0.7) / 64 = 6.3
Let's calculate the large
memory flavor with
compute2
Compute2
- CPU 40 cores
- Memory 576 GB
creatable vm count
= available cpu / flavor cpu
= available memory / flavor memory
OpenInfra Days Asia 2021
22
Cloud Virtualization Ratio
How to Calculate the Cloud System Operating Rate
How to find cloud system operating ratio
01 Compute1 Node H/W Spec
Available
Rate
CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
100 % 16 32 64 96 128 512
70 % 11 22 45 67 89 358
02 Compute2 Node H/W Spec
Available
Rate
CPU Cores
CPU
Hyperthread
CPU Rate
2:1
CPU Rate
3:1
CPU Rate
4:1
Memory
100 % 40 80 160 240 320 576
70 % 28 56 112 168 224 403
How do I find cloud
system operating
ratio?
OpenInfra Days Asia 2021
23
How to Calculate the Cloud System Operating Rate
➢ Core Function
➢ Live Migration
➢ Core Items
➢ Finding Cloud System
Operating Ratio
Cloud Operating Ratio
OpenInfra Days Asia 2021
24
Cloud Operating Ratio
How to Calculate the Cloud System Operating Rate
Core Function
OpenStack Live Migration
Kubernetes Drain
OpenInfra Days Asia 2021
25
Cloud Operating Ratio
How to Calculate the Cloud System Operating Rate
What is Live Migration?
Live Migration is migrating live state of a virtual machine(power on state) to
specific other hosts. If we use live migration in OpenStack, shared storage must
use cinder backend like NFS, ISCSI, FC(Fiber Channel) or Ceph Storage.
OpenInfra Days Asia 2021
26
Cloud Operating Ratio
How to Calculate the Cloud System Operating Rate
Core Item for Cloud Operating Ratio
01 Operating ratio list of the example compute node
Rate CPU Cores CPU Hyperthread CPU Rate 2:1 Memory
100 % 40 80 160 576
70 % 28 56 112 403
60 % 24 48 96 346
50 % 20 40 80 288
40 % 18 36 72 259
Let's assume hardware
with the following spec.
Compute
- CPU 40 cores
- Memory 576 GB
OpenInfra Days Asia 2021
27
Cloud Operating Ratio
How to Calculate the Cloud System Operating Rate
Core Item for Cloud Operating Ratio
01 Host operating ratio 02 2 Computes migration case 03 3 Computes migration case 04 4 Computes migration case
100% 70% 60% 50% 45% 45% 45% 60% 60% 70% 70%
Let’s assume we want to migrate single node resources to other compute nodes in case we have 2, 3 ,4 compute nodes.
OpenInfra Days Asia 2021
28
Cloud Operating Ratio
How to Calculate the Cloud System Operating Rate
Finding Cloud System Operating Ratio
Compute count Resource Rate Migration Host Count
2 45 % 1
3 62 % 1
4 70 % 1
5 55 % 2
6 62 % 2
7 66 % 2
8 70 % 2
01 An Example about Cloud System Operating Ratio
Let's see the formula for calculating cloud system
operating ratio
Cloud Resource Rate =
100 - ((Migration Host Count / Total Compute Count * 100) + 5)
This table shows cloud system operating ratio calculated using above formula.
For example,
In the 2 compute node case, we need to keep 45% of compute resources.
because if problem happens, we can migrate 1 node resources to other 1 node.
OpenInfra Days Asia 2021
29
Conclude
Cloud Virtualization Ratio
● OpenStack and Kubernetes have different technical background.
● We need vm flavors and compute node h/w spec for finding efficient virtualization ratio.
● When CPU uses hyperthread, 2:1, 3:1, 4:1 ratios can be achieved. And if we calculate how many vms of given flavor can be created,
you can find CPU virtualization ratio that uses memory efficiently.
Cloud Operating Ratio
● Live migration is core function for finding cloud operating ratio in OpenStack.
● To operate cloud resources efficiency, we need to consider how many compute nodes we will need in case of emergency.
● The formula for finding cloud operating ratio is below.
○ Cloud Resource Rate = 100 - ((Migration Host Count / Total Compute Count * 100) + 5)
Thank you for attending this event "OpenInfra Days Asia 2021"
OpenInfra Days Asia 2021
openstack.kr
http://www.openstack.or.kr
http://bit.ly/openstack-kr-videos
h
30
Thank you
OpenStack is a cloud operating system that controls large
pools of compute, storage, and networking resources
throughout a datacenter, all managed and provisioned
through APIs with common authentication mechanisms.
1 sur 30

Recommandé

How to operate containerized OpenStack par
How to operate containerized OpenStackHow to operate containerized OpenStack
How to operate containerized OpenStackNalee Jang
4.8K vues28 diapositives
OpenStack in Enterprise par
OpenStack in EnterpriseOpenStack in Enterprise
OpenStack in EnterpriseNalee Jang
901 vues37 diapositives
Kubernetes Hands-On Guide par
Kubernetes Hands-On GuideKubernetes Hands-On Guide
Kubernetes Hands-On GuideStratoscale
2.2K vues47 diapositives
[OpenInfra Days Korea 2018] Day 2 - E4 - 딥다이브: immutable Kubernetes architecture par
[OpenInfra Days Korea 2018] Day 2 - E4 - 딥다이브: immutable Kubernetes architecture[OpenInfra Days Korea 2018] Day 2 - E4 - 딥다이브: immutable Kubernetes architecture
[OpenInfra Days Korea 2018] Day 2 - E4 - 딥다이브: immutable Kubernetes architectureOpenStack Korea Community
4K vues86 diapositives
Openstack Study Nova 1 par
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1Jinho Shin
5.4K vues23 diapositives
OpenStack DevStack Tutorial par
OpenStack DevStack TutorialOpenStack DevStack Tutorial
OpenStack DevStack TutorialSaju Madhavan
7.3K vues25 diapositives

Contenu connexe

Tendances

Immutable infrastructure 介紹與實做:以 kolla 為例 par
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例kao kuo-tung
1.9K vues38 diapositives
OpenStack in 10 minutes with Devstack par
OpenStack in 10 minutes with DevstackOpenStack in 10 minutes with Devstack
OpenStack in 10 minutes with DevstackSean Dague
1.3K vues19 diapositives
OpenStack Development Using devstack par
OpenStack Development Using devstackOpenStack Development Using devstack
OpenStack Development Using devstackmestery
13.1K vues20 diapositives
DevStack par
DevStackDevStack
DevStackEverett Toews
1.7K vues22 diapositives
Open stack day 2014 havana from grizzly par
Open stack day 2014 havana from grizzlyOpen stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzlyChoe Cheng-Dae
1.2K vues50 diapositives
Orchestrating Docker with OpenStack par
Orchestrating Docker with OpenStackOrchestrating Docker with OpenStack
Orchestrating Docker with OpenStackErica Windisch
12.1K vues77 diapositives

Tendances(20)

Immutable infrastructure 介紹與實做:以 kolla 為例 par kao kuo-tung
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例
kao kuo-tung1.9K vues
OpenStack in 10 minutes with Devstack par Sean Dague
OpenStack in 10 minutes with DevstackOpenStack in 10 minutes with Devstack
OpenStack in 10 minutes with Devstack
Sean Dague1.3K vues
OpenStack Development Using devstack par mestery
OpenStack Development Using devstackOpenStack Development Using devstack
OpenStack Development Using devstack
mestery13.1K vues
Open stack day 2014 havana from grizzly par Choe Cheng-Dae
Open stack day 2014 havana from grizzlyOpen stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzly
Choe Cheng-Dae1.2K vues
Orchestrating Docker with OpenStack par Erica Windisch
Orchestrating Docker with OpenStackOrchestrating Docker with OpenStack
Orchestrating Docker with OpenStack
Erica Windisch12.1K vues
Kube-AWS par CoreOS
Kube-AWSKube-AWS
Kube-AWS
CoreOS1.1K vues
Cluster Lifecycle Landscape par Mike Danese
Cluster Lifecycle LandscapeCluster Lifecycle Landscape
Cluster Lifecycle Landscape
Mike Danese389 vues
Tectonic Summit 2016: The Origins of Kubernetes par CoreOS
Tectonic Summit 2016: The Origins of KubernetesTectonic Summit 2016: The Origins of Kubernetes
Tectonic Summit 2016: The Origins of Kubernetes
CoreOS365 vues
Kubernetes Networking 101 par Weaveworks
Kubernetes Networking 101Kubernetes Networking 101
Kubernetes Networking 101
Weaveworks6.6K vues
DevStack: Learn OpenStack by Running OpenStack par Everett Toews
DevStack: Learn OpenStack by Running OpenStackDevStack: Learn OpenStack by Running OpenStack
DevStack: Learn OpenStack by Running OpenStack
Everett Toews1.7K vues
tack Deployment in the Enterprise par Cisco Canada
tack Deployment in the Enterprisetack Deployment in the Enterprise
tack Deployment in the Enterprise
Cisco Canada3.4K vues
Kubernetes: Beyond Baby Steps par DigitalOcean
Kubernetes: Beyond Baby StepsKubernetes: Beyond Baby Steps
Kubernetes: Beyond Baby Steps
DigitalOcean42 vues
Running Docker with OpenStack | Docker workshop #1 par dotCloud
Running Docker with OpenStack | Docker workshop #1Running Docker with OpenStack | Docker workshop #1
Running Docker with OpenStack | Docker workshop #1
dotCloud17.3K vues
Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月) par VirtualTech Japan Inc.
Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)
Introduction of private cloud in LINE - OpenStack最新情報セミナー(2019年2月)
OpenStack DevStack Configuration localrc local.conf Tutorial par Saju Madhavan
OpenStack DevStack Configuration localrc local.conf TutorialOpenStack DevStack Configuration localrc local.conf Tutorial
OpenStack DevStack Configuration localrc local.conf Tutorial
Saju Madhavan18.8K vues

Similaire à [Open infra] how to calculate the cloud system operating rate

Deep Dive on Amazon EC2 par
Deep Dive on Amazon EC2Deep Dive on Amazon EC2
Deep Dive on Amazon EC2Amazon Web Services
3.2K vues51 diapositives
Survey of open source cloud architectures par
Survey of open source cloud architecturesSurvey of open source cloud architectures
Survey of open source cloud architecturesabhinav vedanbhatla
372 vues69 diapositives
Automating hard things may 2015 par
Automating hard things   may 2015Automating hard things   may 2015
Automating hard things may 2015Mark Baker
1.1K vues50 diapositives
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi... par
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Amazon Web Services
10.8K vues55 diapositives
Deep Dive on Delivering Amazon EC2 Instance Performance par
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceAmazon Web Services
971 vues56 diapositives
Deep Dive on Amazon EC2 instances par
Deep Dive on Amazon EC2 instancesDeep Dive on Amazon EC2 instances
Deep Dive on Amazon EC2 instancesAmazon Web Services
2.4K vues50 diapositives

Similaire à [Open infra] how to calculate the cloud system operating rate(20)

Automating hard things may 2015 par Mark Baker
Automating hard things   may 2015Automating hard things   may 2015
Automating hard things may 2015
Mark Baker1.1K vues
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi... par Amazon Web Services
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Amazon Web Services10.8K vues
Deep Dive on Delivering Amazon EC2 Instance Performance par Amazon Web Services
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance Performance
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ... par Amazon Web Services
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ... par Amazon Web Services
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ... par Amazon Web Services
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ... par Haidee McMahon
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Haidee McMahon574 vues
Deep Dive on Delivering Amazon EC2 Instance Performance par Amazon Web Services
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance Performance
Cracking the nut, solving edge ai with apache tools and frameworks par Timothy Spann
Cracking the nut, solving edge ai with apache tools and frameworksCracking the nut, solving edge ai with apache tools and frameworks
Cracking the nut, solving edge ai with apache tools and frameworks
Timothy Spann713 vues
Scaling Docker Containers using Kubernetes and Azure Container Service par Ben Hall
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container Service
Ben Hall804 vues
ARCHITECTING TENANT BASED QOS IN MULTI-TENANT CLOUD PLATFORMS par Arun prasath
ARCHITECTING TENANT BASED QOS IN MULTI-TENANT CLOUD PLATFORMSARCHITECTING TENANT BASED QOS IN MULTI-TENANT CLOUD PLATFORMS
ARCHITECTING TENANT BASED QOS IN MULTI-TENANT CLOUD PLATFORMS
Arun prasath1.5K vues
EclipseCon 2016 - OCCIware : one Cloud API to rule them all par Marc Dutoo
EclipseCon 2016 - OCCIware : one Cloud API to rule them allEclipseCon 2016 - OCCIware : one Cloud API to rule them all
EclipseCon 2016 - OCCIware : one Cloud API to rule them all
Marc Dutoo1.1K vues
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide par OCCIware
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open WideOCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
OCCIware383 vues
AWS re:Invent 2016: [JK REPEAT] Deep Dive on Amazon EC2 Instances, Featuring ... par Amazon Web Services
AWS re:Invent 2016: [JK REPEAT] Deep Dive on Amazon EC2 Instances, Featuring ...AWS re:Invent 2016: [JK REPEAT] Deep Dive on Amazon EC2 Instances, Featuring ...
AWS re:Invent 2016: [JK REPEAT] Deep Dive on Amazon EC2 Instances, Featuring ...

Plus de Nalee Jang

Red Hat OpenStack 17 저자직강+스터디그룹_5주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_5주차Red Hat OpenStack 17 저자직강+스터디그룹_5주차
Red Hat OpenStack 17 저자직강+스터디그룹_5주차Nalee Jang
148 vues40 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_4주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Nalee Jang
200 vues41 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_3주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_3주차Red Hat OpenStack 17 저자직강+스터디그룹_3주차
Red Hat OpenStack 17 저자직강+스터디그룹_3주차Nalee Jang
154 vues42 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_2주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Nalee Jang
275 vues44 diapositives
Red Hat OpenStack 17 저자직강+스터디그룹_1주차 par
Red Hat OpenStack 17 저자직강+스터디그룹_1주차Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Red Hat OpenStack 17 저자직강+스터디그룹_1주차Nalee Jang
453 vues33 diapositives
셸 스크립트를 이용한 클라우드 시스템 운영 par
셸 스크립트를 이용한 클라우드 시스템 운영셸 스크립트를 이용한 클라우드 시스템 운영
셸 스크립트를 이용한 클라우드 시스템 운영Nalee Jang
750 vues39 diapositives

Plus de Nalee Jang(20)

Red Hat OpenStack 17 저자직강+스터디그룹_5주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_5주차Red Hat OpenStack 17 저자직강+스터디그룹_5주차
Red Hat OpenStack 17 저자직강+스터디그룹_5주차
Nalee Jang148 vues
Red Hat OpenStack 17 저자직강+스터디그룹_4주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_4주차Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Red Hat OpenStack 17 저자직강+스터디그룹_4주차
Nalee Jang200 vues
Red Hat OpenStack 17 저자직강+스터디그룹_3주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_3주차Red Hat OpenStack 17 저자직강+스터디그룹_3주차
Red Hat OpenStack 17 저자직강+스터디그룹_3주차
Nalee Jang154 vues
Red Hat OpenStack 17 저자직강+스터디그룹_2주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_2주차Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Red Hat OpenStack 17 저자직강+스터디그룹_2주차
Nalee Jang275 vues
Red Hat OpenStack 17 저자직강+스터디그룹_1주차 par Nalee Jang
Red Hat OpenStack 17 저자직강+스터디그룹_1주차Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Nalee Jang453 vues
셸 스크립트를 이용한 클라우드 시스템 운영 par Nalee Jang
셸 스크립트를 이용한 클라우드 시스템 운영셸 스크립트를 이용한 클라우드 시스템 운영
셸 스크립트를 이용한 클라우드 시스템 운영
Nalee Jang750 vues
[Red Hat] OpenStack Automation with Ansible par Nalee Jang
[Red Hat] OpenStack Automation with Ansible[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with Ansible
Nalee Jang7.6K vues
Red hat and after 1 year par Nalee Jang
Red hat and after 1 yearRed hat and after 1 year
Red hat and after 1 year
Nalee Jang4.1K vues
오픈스택커뮤니티와기술동향 par Nalee Jang
오픈스택커뮤니티와기술동향오픈스택커뮤니티와기술동향
오픈스택커뮤니티와기술동향
Nalee Jang1.6K vues
Why cloud storage par Nalee Jang
Why cloud storageWhy cloud storage
Why cloud storage
Nalee Jang485 vues
해외 사례로 보는 Billing for OpenStack Solution par Nalee Jang
해외 사례로 보는 Billing for OpenStack Solution해외 사례로 보는 Billing for OpenStack Solution
해외 사례로 보는 Billing for OpenStack Solution
Nalee Jang2K vues
오픈스택한국커뮤니티 소개 par Nalee Jang
오픈스택한국커뮤니티 소개오픈스택한국커뮤니티 소개
오픈스택한국커뮤니티 소개
Nalee Jang1.3K vues
User Story :: Cloudike with KT UCloud Biz par Nalee Jang
User Story :: Cloudike with KT UCloud BizUser Story :: Cloudike with KT UCloud Biz
User Story :: Cloudike with KT UCloud Biz
Nalee Jang2.1K vues
OpenSource! OpenStack! par Nalee Jang
OpenSource! OpenStack!OpenSource! OpenStack!
OpenSource! OpenStack!
Nalee Jang1.9K vues
오픈스택 커뮤니티 소개 및 기술 동향 par Nalee Jang
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향
Nalee Jang40.9K vues
오픈스택을다루는기술 집필후기 par Nalee Jang
오픈스택을다루는기술 집필후기오픈스택을다루는기술 집필후기
오픈스택을다루는기술 집필후기
Nalee Jang9.6K vues
Kcd open stack par Nalee Jang
Kcd open stackKcd open stack
Kcd open stack
Nalee Jang1.9K vues
Open technet openstack par Nalee Jang
Open technet openstackOpen technet openstack
Open technet openstack
Nalee Jang48.8K vues
[OpenStack Day in Korea] Introduction to open stack par Nalee Jang
[OpenStack Day in Korea] Introduction to open stack[OpenStack Day in Korea] Introduction to open stack
[OpenStack Day in Korea] Introduction to open stack
Nalee Jang2.6K vues
오픈스택! 이틀이면할수있다! 시즌2 par Nalee Jang
오픈스택! 이틀이면할수있다! 시즌2오픈스택! 이틀이면할수있다! 시즌2
오픈스택! 이틀이면할수있다! 시즌2
Nalee Jang47.9K vues

Dernier

Digital Personal Data Protection (DPDP) Practical Approach For CISOs par
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOsPriyanka Aash
162 vues59 diapositives
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... par
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...ShapeBlue
196 vues62 diapositives
Optimizing Communication to Optimize Human Behavior - LCBM par
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBMYaman Kumar
38 vues49 diapositives
"Package management in monorepos", Zoltan Kochan par
"Package management in monorepos", Zoltan Kochan"Package management in monorepos", Zoltan Kochan
"Package management in monorepos", Zoltan KochanFwdays
34 vues18 diapositives
"Surviving highload with Node.js", Andrii Shumada par
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada Fwdays
58 vues29 diapositives
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... par
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...ShapeBlue
178 vues15 diapositives

Dernier(20)

Digital Personal Data Protection (DPDP) Practical Approach For CISOs par Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash162 vues
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... par ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue196 vues
Optimizing Communication to Optimize Human Behavior - LCBM par Yaman Kumar
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBM
Yaman Kumar38 vues
"Package management in monorepos", Zoltan Kochan par Fwdays
"Package management in monorepos", Zoltan Kochan"Package management in monorepos", Zoltan Kochan
"Package management in monorepos", Zoltan Kochan
Fwdays34 vues
"Surviving highload with Node.js", Andrii Shumada par Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays58 vues
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... par ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue178 vues
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue par ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue265 vues
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... par ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue129 vues
"Node.js Development in 2024: trends and tools", Nikita Galkin par Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays33 vues
Business Analyst Series 2023 - Week 4 Session 8 par DianaGray10
Business Analyst Series 2023 -  Week 4 Session 8Business Analyst Series 2023 -  Week 4 Session 8
Business Analyst Series 2023 - Week 4 Session 8
DianaGray10145 vues
"Running students' code in isolation. The hard way", Yurii Holiuk par Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays36 vues
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... par ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue183 vues
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... par ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue120 vues
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue par ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue152 vues
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... par ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue164 vues
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online par ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue225 vues
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue par ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue207 vues

[Open infra] how to calculate the cloud system operating rate

  • 1. How to Calculate the Cloud System Operating Rate 1 Nalee Jang, Consultant of Red Hat Korea
  • 2. 2 About me IT Expert on the Cloud! I am a Consultant working with OpenStack and Cloud Platform of Red Hat Korea. ● My Name is NaleeJang. ● I am a Cloud Platform Consultant of Red Hat Korea. ● I was awarded HP Helion MVP(Most Valuable Professional, 2015.06.05) 7 years ago. ● I published 2 books. One of the book is "The Art of OpenStack", and other book is "Easy Shell Script". ● I also have a patent for system and method for providing cloud market service for sale contents base on software as a service 7 years ago (2015.09.25). ● I sometimes post my technical experience on my blog(http://naleejang.tistory.com) ● Also I usually use Facebook(http://www.facebook.com/naleejang) ● I was second leader of OpenStack Korea User Group. but I am just a member now. (http://www.facebook.com/groups/openstack.kr/) (http://www.openstack.or.kr/) OpenInfra Days Asia 2021 ** The Art of OpenStack second edition / 20-May-2017 / Gilbut *** Easy Shell Script / 1-February-2021 / Hanbit media
  • 3. 3 Motivation of this Session Agenda Cloud Virtualization Ratio Cloud Operating Ratio OpenInfra Days Asia 2021
  • 4. 4 How to Calculate the Cloud System Operating Rate ➢ What is the Cloud? ➢ Cloud Services ➢ Red Hat Cloud Platforms ➢ Purpose of this Session Motivation of this Session OpenInfra Days Asia 2021
  • 5. 5 Motivation of this Session How to Calculate the Cloud System Operating Rate What is the Cloud? Cloud Service server storage network vm container notebook desktop smart tv smart phone smart pad Cloud service contains Infra services (IaaS), platform services (PaaS) and software services (SaaS). Infra service provides infrastructure such as server, storage, and network through the Internet. Platform service provides a development environment such as a web servers and databases. Software service provides applications such as web or apps. Cloud service can be accessed and used anytime, anywhere as long as there is a smart device capable of internet such as a smartphone, smart pad, desktop, or notebook. OpenInfra Days Asia 2021
  • 6. 6 Motivation of this Session How to Calculate the Cloud System Operating Rate Cloud Services Cloud technologies Cloud Services Many companies are providing cloud services using cloud technologies like OpenStack and Kubernetes. OpenInfra Days Asia 2021
  • 7. 7 Motivation of this Session How to Calculate the Cloud System Operating Rate Red Hat Cloud Platforms Many companies in Asia adopted Red Hat Cloud Platforms like OpenStack and OpenShift for building their cloud services. OpenInfra Days Asia 2021
  • 8. 8 Motivation of this Session How to Calculate the Cloud System Operating Rate Purpose of this Session Let’s assume cloud system adoption in your company. How do you calculate sizing when you adopt cloud system? Do you know about cloud system building steps? OpenInfra Days Asia 2021
  • 9. 9 How to Calculate the Cloud System Operating Rate ➢ OpenStack and Kubernetes ➢ Virtualization of Cloud Service ➢ Necessary Items ➢ Finding an Efficient Virtualization Ratio Cloud Virtualization Ratio OpenInfra Days Asia 2021
  • 10. 10 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate OpenStack and Kubernetes VS OpenStack Kubernetes OpenInfra Days Asia 2021
  • 11. 11 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate OpenStack and Kubernetes VS OpenInfra Days Asia 2021
  • 12. 12 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate OpenStack and Kubernetes VS OpenInfra Days Asia 2021 VM Container VM VM Container Container
  • 13. 13 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate OpenStack and Kubernetes VS OpenInfra Days Asia 2021 VM Container VM VM Container Container OpenStack - Compute Service for providing Virtual Machine Normally, OpenStack does not use all cloud resources. It use some resources of host node by characteristic of created vm. So for use virtual resources efficiently, resources like cpu set hyperthread and use higher virtualization ratio. Kubernetes - Container Service Kubernetes is open source made by Google for managing containers. Container is lighter then vms and has good portability because application is utilizing kernel of host node. Container can be used on both bare metal or virtual machine if there is linux OS. So, Container no consider virtualization. It use resources provides at host.
  • 14. 14 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate Virtualization of Cloud Service How can I use resources efficiently in OpenStack? OpenInfra Days Asia 2021
  • 15. 15 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate Necessary Items of Virtualization Ratio Flavors Flavor is a spec like cpu, memory, disk for creating virtual machine. HW Specs It means here H/W is openstack compute node. We need compute node h/w spec. Necessary items for finding virtualization ratio are vm flavors and compute node h/w spec. OpenInfra Days Asia 2021
  • 16. 16 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate An Example of Virtualization Ratio 01 Compute1 Node H/W Spec Available Rate CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory 100 % 16 32 64 96 128 512 70 % 11 22 45 67 89 358 02 Compute2 Node H/W Spec Available Rate CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory 100 % 40 80 160 240 320 576 70 % 28 56 112 168 224 403 Let's assume hardware with the following spec. Compute1 - CPU 16 cores - Memory 512 GB Compute2 - CPU 40 cores - Memory 576 GB OpenInfra Days Asia 2021 ** Most data center keep 70% resource of system.
  • 17. 17 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate An Example for Virtualization Ratio 01 Standard Instance Type Name CPU Memory t2.nano 1 0.5 t2.micro 1 1 t2.small 1 2 t2.medium 2 4 t2.large 2 8 t2.xlarge 4 16 t2.2xlarge 8 32 02 Large Memory Instance Type Name CPU Memory m1.medium 1 8 m1.large 2 16 m1.xlarge 4 32 m1.2xlarge 8 64 m1.4xlarge 16 128 Flavor is vm spec. OpenInfra Days Asia 2021
  • 18. 18 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate Finding an Efficient Virtualization Ratio 01 Standard Flavor matrix for finding optimized virtualization ratio Name CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory t2.nano 11 22 45 67 90 717 t2.micro 11 22 45 67 90 358 t2.small 11 22 45 67 90 179 t2.medium 6 11 22 34 45 90 t2.large 6 11 22 34 45 64 t2.xlarge 3 6 11 17 22 22 t2.2xlarge 1 3 6 8 11 11 Let's calculate the standard flavor with compute1 Compute1 - CPU 16 cores - Memory 512 GB t2.xlarge 4 16 Flavor creatable vm count = available cpu / flavor cpu = available memory / flavor memory (16 * 0.7) / 4 = 3 OpenInfra Days Asia 2021 ((16*2*4) * 0.7) / 4 = 22
  • 19. 19 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate Finding an Efficient Virtualization Ratio 02 Large Memory Flavor matrix for finding optimized virtualization ratio Name CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory m1.medium 11.2 22.4 44.8 67.2 89.6 44.8 m1.large 5.6 11.2 22.4 33.6 44.8 22.4 m1.xlarge 2.8 5.6 11.2 16.8 22.4 11.2 m1.2xlarge 1.4 2.8 5.6 8.4 11.2 5.6 m1.4xlarge 0.7 1.4 2.8 4.2 5.6 2.8 m1.2xlarge 8 64 creatable vm count = available cpu / flavor cpu = available memory / flavor memory Flavor ((16*2*2) * 0.7) / 8 = 5.6 OpenInfra Days Asia 2021 (512 * 0.7) / 64 = 5.6 Let's calculate the large memory flavor with compute1 Compute1 - CPU 16 cores - Memory 512 GB
  • 20. 20 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate Finding an Efficient Virtualization Ratio 01 Standard Flavor matrix for finding optimized virtualization ratio Name CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory t2.nano 28 56 112 67 90 806 t2.micro 28 56 112 67 90 403 t2.small 28 56 112 67 90 202 t2.medium 14 28 56 34 45 101 t2.large 14 28 56 34 45 50 t2.xlarge 7 14 28 17 22 25 t2.2xlarge 3.5 7 14 8 11 13 Let's calculate the standard flavor with compute2 Compute2 - CPU 40 cores - Memory 576 GB OpenInfra Days Asia 2021 ((40*2*2) * 0.7) / 2 = 56 t2.large 2 8 Flavor (576 * 0.7) / 8 = 50 creatable vm count = available cpu / flavor cpu = available memory / flavor memory
  • 21. 21 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate Finding an Efficient Virtualization Ratio 02 Large Memory Flavor matrix for finding optimized virtualization ratio Name CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory m1.medium 28 56 112 168 224 50.4 m1.large 14 28 56 84 112 25.2 m1.xlarge 7 14 28 42 56 12.6 m1.2xlarge 3.5 7 14 21 28 6.3 m1.4xlarge 1.75 3.5 7 10.5 14 3.15 ((40*2) * 0.7) / 8 = 7 m1.2xlarge 8 64 Flavor (576 * 0.7) / 64 = 6.3 Let's calculate the large memory flavor with compute2 Compute2 - CPU 40 cores - Memory 576 GB creatable vm count = available cpu / flavor cpu = available memory / flavor memory OpenInfra Days Asia 2021
  • 22. 22 Cloud Virtualization Ratio How to Calculate the Cloud System Operating Rate How to find cloud system operating ratio 01 Compute1 Node H/W Spec Available Rate CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory 100 % 16 32 64 96 128 512 70 % 11 22 45 67 89 358 02 Compute2 Node H/W Spec Available Rate CPU Cores CPU Hyperthread CPU Rate 2:1 CPU Rate 3:1 CPU Rate 4:1 Memory 100 % 40 80 160 240 320 576 70 % 28 56 112 168 224 403 How do I find cloud system operating ratio? OpenInfra Days Asia 2021
  • 23. 23 How to Calculate the Cloud System Operating Rate ➢ Core Function ➢ Live Migration ➢ Core Items ➢ Finding Cloud System Operating Ratio Cloud Operating Ratio OpenInfra Days Asia 2021
  • 24. 24 Cloud Operating Ratio How to Calculate the Cloud System Operating Rate Core Function OpenStack Live Migration Kubernetes Drain OpenInfra Days Asia 2021
  • 25. 25 Cloud Operating Ratio How to Calculate the Cloud System Operating Rate What is Live Migration? Live Migration is migrating live state of a virtual machine(power on state) to specific other hosts. If we use live migration in OpenStack, shared storage must use cinder backend like NFS, ISCSI, FC(Fiber Channel) or Ceph Storage. OpenInfra Days Asia 2021
  • 26. 26 Cloud Operating Ratio How to Calculate the Cloud System Operating Rate Core Item for Cloud Operating Ratio 01 Operating ratio list of the example compute node Rate CPU Cores CPU Hyperthread CPU Rate 2:1 Memory 100 % 40 80 160 576 70 % 28 56 112 403 60 % 24 48 96 346 50 % 20 40 80 288 40 % 18 36 72 259 Let's assume hardware with the following spec. Compute - CPU 40 cores - Memory 576 GB OpenInfra Days Asia 2021
  • 27. 27 Cloud Operating Ratio How to Calculate the Cloud System Operating Rate Core Item for Cloud Operating Ratio 01 Host operating ratio 02 2 Computes migration case 03 3 Computes migration case 04 4 Computes migration case 100% 70% 60% 50% 45% 45% 45% 60% 60% 70% 70% Let’s assume we want to migrate single node resources to other compute nodes in case we have 2, 3 ,4 compute nodes. OpenInfra Days Asia 2021
  • 28. 28 Cloud Operating Ratio How to Calculate the Cloud System Operating Rate Finding Cloud System Operating Ratio Compute count Resource Rate Migration Host Count 2 45 % 1 3 62 % 1 4 70 % 1 5 55 % 2 6 62 % 2 7 66 % 2 8 70 % 2 01 An Example about Cloud System Operating Ratio Let's see the formula for calculating cloud system operating ratio Cloud Resource Rate = 100 - ((Migration Host Count / Total Compute Count * 100) + 5) This table shows cloud system operating ratio calculated using above formula. For example, In the 2 compute node case, we need to keep 45% of compute resources. because if problem happens, we can migrate 1 node resources to other 1 node. OpenInfra Days Asia 2021
  • 29. 29 Conclude Cloud Virtualization Ratio ● OpenStack and Kubernetes have different technical background. ● We need vm flavors and compute node h/w spec for finding efficient virtualization ratio. ● When CPU uses hyperthread, 2:1, 3:1, 4:1 ratios can be achieved. And if we calculate how many vms of given flavor can be created, you can find CPU virtualization ratio that uses memory efficiently. Cloud Operating Ratio ● Live migration is core function for finding cloud operating ratio in OpenStack. ● To operate cloud resources efficiency, we need to consider how many compute nodes we will need in case of emergency. ● The formula for finding cloud operating ratio is below. ○ Cloud Resource Rate = 100 - ((Migration Host Count / Total Compute Count * 100) + 5) Thank you for attending this event "OpenInfra Days Asia 2021" OpenInfra Days Asia 2021
  • 30. openstack.kr http://www.openstack.or.kr http://bit.ly/openstack-kr-videos h 30 Thank you OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed and provisioned through APIs with common authentication mechanisms.