SlideShare a Scribd company logo
Oracle VM
Server for x86
Hard Partitioning
CPU Cores and CPU Threads
• Virtual CPUs (vCPUs) are exposed to the guest virtual
machine as CPUs.
• Oracle VM Server treats these equally.
• Oracle VM offers an advanced feature for hard
partitioning, also known as CPU pinning.
• Binding vCPUs to physical CPU threads or cores, and
preventing these vCPUs from being scheduled on physical
CPUs - threads or cores other than the ones specified.
2015, Amonra IT Consultancy Services
Oracle Hard Partition Licensing
• To conform to the Oracle hard partition licensing
requirement, you must follow the instructions described
here to bind vCPUs to physical CPU threads or cores.
• Live migration of CPU pinned virtual machines to another
Oracle VM Server is not permitted.
• Oracle VM 3, DRS (Distributed Resource Scheduler) and
DPM (Distributed Power Management) policies should not
be enabled.
2015, Amonra IT Consultancy Services
Get a Summary of the Server Hardware
# xm info
...
nr_cpus : 8
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 2
cpu_mhz : 3200
...
• This server has a single socket with 4 cores and 2 threads
per core. Total of 8 "CPUs". So CPU 0..7 is really thread 0..7
2015, Amonra IT Consultancy Services
Get the CPU Topology
# xenpm get-cpu-topology CPU
core socket node
CPU0 0 0 0
CPU1 0 0 0
CPU2 1 0 0
CPU3 1 0 0
• The above examples show a single socket machine with 2
cores and 2 threads per core
2015, Amonra IT Consultancy Services
Get the CPU Topology for
vCPU Bindings to Physical CPUs
# xm vcpu-list 1
Name ID VCPU CPU State time(s) CPU Affinity
000246c63f 1 0 5 -b- 4673.36 5-6
000246c63f 1 1 5 -b- 4435.09 5-6
• In the above example, you have a guest with 2 virtual
CPUs both running
• The column CPU Affinity shows 5-6, which means that both
virtual CPUs could be running on either thread 5 or 6
2015, Amonra IT Consultancy Services
Check the CPUs pinned
# xm vcpu-list
Name ID VCPU CPU State time(s) CPU Affinity
000246c63f 1 0 5 -b- 4673.3 5-6
000246c63f 1 1 5 -b- 4435.0 5-6
Domain-0 0 0 0 -b- 906.1 any cpu
Domain-0 0 1 6 -b- 1168.0 any cpu
Domain-0 0 2 11 -b- 1010.8 any cpu
• This is the same system, but xm vcpu-list without the argument.
• It shows the dom0 guest. dom0 can run on any physical thread
and the CPU Affinity is any cpu
• There is no pinning or partitioning on dom0
2015, Amonra IT Consultancy Services
Setting Hard Partitioning
# ./ovm_vmcontrol -u admin -p Manager1 -h
localhost -v vmtest -c vcpuget
Oracle VM VM Control utility 0.5.2.
Connected. Command : vcpuget
Current pinning of virtual CPUs to physical
threads : 5,6
• In the above example, a virtual machine named vmtest
accepts the action vcpuget to show that virtual CPUs of
this guest are bound to threads 5 and 6.
2015, Amonra IT Consultancy Services
Bind the vCPUs to core 0
# ./ovm_vmcontrol -u admin -p Manager1 -h
localhost -v vmtest -c vcpuset-s 0 Oracle VM VM
Control utility 0.5.2.
Connected. Command : vcpuset
Pinning virtual CPUs
Pinning of virtual CPUs to physical threads '0'
‘vmtest' completed
• Now, running the xm vcpu-list command, the CPU binding
immediately took effect
2015, Amonra IT Consultancy Services
Conclusion
• With Oracle VM Server for x86, to conform to the Oracle
hard partition licensing requirement, you must:
• Bind a virtual machine to physical CPUs or cores.
• Prevents the software from running on physical cores other than
the ones specified.
• Virtual machines are configured with dedicated CPU resources
instead of the default of resource scheduling, which is to use all
available CPUs of the server.
• Using hard partitioning to limit Oracle product software licensing
(also adds some restrictions such as live migration, DRS and DPM)
2015, Amonra IT Consultancy Services
Thank You
Gary Waldrom
Amonra IT Consulting Services
e: gary@amonra.co.uk
w: www.amonra.co.uk
2015, Amonra IT Consultancy Services

More Related Content

What's hot

How To Configure VNC Server on CentOS 7
How To Configure VNC Server on CentOS 7How To Configure VNC Server on CentOS 7
How To Configure VNC Server on CentOS 7
VCP Muthukrishna
 
Vmware admin interview questions
Vmware admin interview questionsVmware admin interview questions
Vmware admin interview questions
Ritesh Rushiya
 
How To Configure Amazon EC2 Load Balancer
How To Configure Amazon EC2 Load BalancerHow To Configure Amazon EC2 Load Balancer
How To Configure Amazon EC2 Load Balancer
VCP Muthukrishna
 
Vm ware interview questions
Vm ware interview questionsVm ware interview questions
Vm ware interview questions
TELEPERFORMANCE INDIA
 
V mware admin interview questions
V mware admin interview questionsV mware admin interview questions
V mware admin interview questions
Praveen Raut
 
Installing and Setup Web Server
Installing and Setup Web ServerInstalling and Setup Web Server
Installing and Setup Web Server
Thecus Technology Corp.,
 
Mater,slave on mysql
Mater,slave on mysqlMater,slave on mysql
Mater,slave on mysql
Vasudeva Rao
 
Vmware esxi and ucs firmware upgrade steps and challenges v4.10
Vmware  esxi and  ucs firmware upgrade steps and challenges v4.10Vmware  esxi and  ucs firmware upgrade steps and challenges v4.10
Vmware esxi and ucs firmware upgrade steps and challenges v4.10
Amim Ansari
 
How to assign unowned disk in the netapp cluster 8.3
How to assign unowned disk in the netapp cluster 8.3 How to assign unowned disk in the netapp cluster 8.3
How to assign unowned disk in the netapp cluster 8.3
Saroj Sahu
 
Installation CentOS 6.3
Installation CentOS 6.3Installation CentOS 6.3
Installation CentOS 6.3
VCP Muthukrishna
 
Fiware testbed from hardware to openstack
Fiware testbed from hardware to openstackFiware testbed from hardware to openstack
Fiware testbed from hardware to openstack
Henar Muñoz Frutos
 
Vmware interview
Vmware interviewVmware interview
Vmware interview
sundaresanmani
 
How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7
VCP Muthukrishna
 
CPAVMUG Presentation 2016-04-06 - Management Cluster
CPAVMUG Presentation 2016-04-06 - Management ClusterCPAVMUG Presentation 2016-04-06 - Management Cluster
CPAVMUG Presentation 2016-04-06 - Management Cluster
Dan Barr
 
Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...
Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...
Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...
Lorscheider Santiago
 
Always on from the front lines1
Always on from the front lines1Always on from the front lines1
Always on from the front lines1
SitotpalSarkar
 
ProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware BrownBag VCP5 Section3: StorageProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware
 
Hp Linux
Hp LinuxHp Linux
Hp Linux
telab
 
VMware Interview questions and answers
VMware Interview questions and answersVMware Interview questions and answers
VMware Interview questions and answers
vivaankumar
 
How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7
VCP Muthukrishna
 

What's hot (20)

How To Configure VNC Server on CentOS 7
How To Configure VNC Server on CentOS 7How To Configure VNC Server on CentOS 7
How To Configure VNC Server on CentOS 7
 
Vmware admin interview questions
Vmware admin interview questionsVmware admin interview questions
Vmware admin interview questions
 
How To Configure Amazon EC2 Load Balancer
How To Configure Amazon EC2 Load BalancerHow To Configure Amazon EC2 Load Balancer
How To Configure Amazon EC2 Load Balancer
 
Vm ware interview questions
Vm ware interview questionsVm ware interview questions
Vm ware interview questions
 
V mware admin interview questions
V mware admin interview questionsV mware admin interview questions
V mware admin interview questions
 
Installing and Setup Web Server
Installing and Setup Web ServerInstalling and Setup Web Server
Installing and Setup Web Server
 
Mater,slave on mysql
Mater,slave on mysqlMater,slave on mysql
Mater,slave on mysql
 
Vmware esxi and ucs firmware upgrade steps and challenges v4.10
Vmware  esxi and  ucs firmware upgrade steps and challenges v4.10Vmware  esxi and  ucs firmware upgrade steps and challenges v4.10
Vmware esxi and ucs firmware upgrade steps and challenges v4.10
 
How to assign unowned disk in the netapp cluster 8.3
How to assign unowned disk in the netapp cluster 8.3 How to assign unowned disk in the netapp cluster 8.3
How to assign unowned disk in the netapp cluster 8.3
 
Installation CentOS 6.3
Installation CentOS 6.3Installation CentOS 6.3
Installation CentOS 6.3
 
Fiware testbed from hardware to openstack
Fiware testbed from hardware to openstackFiware testbed from hardware to openstack
Fiware testbed from hardware to openstack
 
Vmware interview
Vmware interviewVmware interview
Vmware interview
 
How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7How To Install and Configure SUDO on RHEL 7
How To Install and Configure SUDO on RHEL 7
 
CPAVMUG Presentation 2016-04-06 - Management Cluster
CPAVMUG Presentation 2016-04-06 - Management ClusterCPAVMUG Presentation 2016-04-06 - Management Cluster
CPAVMUG Presentation 2016-04-06 - Management Cluster
 
Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...
Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...
Comparação entre XenServer 6.2 e VMware VSphere 5.1 - Comparison of Citrix Xe...
 
Always on from the front lines1
Always on from the front lines1Always on from the front lines1
Always on from the front lines1
 
ProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware BrownBag VCP5 Section3: StorageProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware BrownBag VCP5 Section3: Storage
 
Hp Linux
Hp LinuxHp Linux
Hp Linux
 
VMware Interview questions and answers
VMware Interview questions and answersVMware Interview questions and answers
VMware Interview questions and answers
 
How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7How To Install and Configure AWS CLI on RHEL 7
How To Install and Configure AWS CLI on RHEL 7
 

Viewers also liked

Marketing de Busca - Entendendo o SEO
Marketing de Busca - Entendendo o SEOMarketing de Busca - Entendendo o SEO
Marketing de Busca - Entendendo o SEO
Ique Muniz
 
Herramientas de la web 2
Herramientas de la web 2Herramientas de la web 2
Herramientas de la web 2
Veroníca Uribe
 
Marlyn
MarlynMarlyn
Marlyn
panditasira
 
Ecosistema
EcosistemaEcosistema
Ecosistema
manantialazul
 
Andreagranizosociales
AndreagranizosocialesAndreagranizosociales
Andreagranizosociales
andreagranizo
 
Planeaciòn contabilidad
Planeaciòn contabilidadPlaneaciòn contabilidad
Planeaciòn contabilidad
blognms
 
Web 2.0
Web 2.0Web 2.0
Reações fotoquímicas
Reações fotoquímicasReações fotoquímicas
Reações fotoquímicas
Paulo Correia
 
Fábula china (1)
Fábula china (1)Fábula china (1)
Fábula china (1)
seloicra
 
Android de la A a la Z PARTE 2 de 3 ulises gonzalez
Android de la A a la Z  PARTE 2 de 3 ulises gonzalezAndroid de la A a la Z  PARTE 2 de 3 ulises gonzalez
Android de la A a la Z PARTE 2 de 3 ulises gonzalez
Android UNAM
 
Artikel Middelpunt oktober 2016
Artikel Middelpunt oktober 2016Artikel Middelpunt oktober 2016
Artikel Middelpunt oktober 2016Arnoud Aalbersberg
 
Web 2.0
Web 2.0Web 2.0
Dr. Jusuf Kardavi - Zgjimi islam II
Dr. Jusuf Kardavi - Zgjimi islam IIDr. Jusuf Kardavi - Zgjimi islam II
Dr. Jusuf Kardavi - Zgjimi islam IIShkumbim Jakupi
 
Movimiento Micro-controlado
Movimiento Micro-controladoMovimiento Micro-controlado
Movimiento Micro-controlado
Ramiro Aduviri Velasco
 
Torneo de espadas
Torneo de espadasTorneo de espadas
Torneo de espadas
elmiguefd
 
nadie se cruza por azar
nadie se cruza por azar nadie se cruza por azar
nadie se cruza por azar
Promociones Mexico Marketing
 
Aula 1 - AF
Aula 1 - AFAula 1 - AF
Ecorregiones del perú
Ecorregiones del perúEcorregiones del perú
Ecorregiones del perú
luzmarsalas
 
Presentacion hilda amume
Presentacion hilda amumePresentacion hilda amume
Presentacion hilda amume
RedLamugol
 
86 Folleto Campamento - Picosteando
86 Folleto Campamento - Picosteando86 Folleto Campamento - Picosteando
86 Folleto Campamento - Picosteando
Centro Juvenil Naranjoven
 

Viewers also liked (20)

Marketing de Busca - Entendendo o SEO
Marketing de Busca - Entendendo o SEOMarketing de Busca - Entendendo o SEO
Marketing de Busca - Entendendo o SEO
 
Herramientas de la web 2
Herramientas de la web 2Herramientas de la web 2
Herramientas de la web 2
 
Marlyn
MarlynMarlyn
Marlyn
 
Ecosistema
EcosistemaEcosistema
Ecosistema
 
Andreagranizosociales
AndreagranizosocialesAndreagranizosociales
Andreagranizosociales
 
Planeaciòn contabilidad
Planeaciòn contabilidadPlaneaciòn contabilidad
Planeaciòn contabilidad
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Reações fotoquímicas
Reações fotoquímicasReações fotoquímicas
Reações fotoquímicas
 
Fábula china (1)
Fábula china (1)Fábula china (1)
Fábula china (1)
 
Android de la A a la Z PARTE 2 de 3 ulises gonzalez
Android de la A a la Z  PARTE 2 de 3 ulises gonzalezAndroid de la A a la Z  PARTE 2 de 3 ulises gonzalez
Android de la A a la Z PARTE 2 de 3 ulises gonzalez
 
Artikel Middelpunt oktober 2016
Artikel Middelpunt oktober 2016Artikel Middelpunt oktober 2016
Artikel Middelpunt oktober 2016
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Dr. Jusuf Kardavi - Zgjimi islam II
Dr. Jusuf Kardavi - Zgjimi islam IIDr. Jusuf Kardavi - Zgjimi islam II
Dr. Jusuf Kardavi - Zgjimi islam II
 
Movimiento Micro-controlado
Movimiento Micro-controladoMovimiento Micro-controlado
Movimiento Micro-controlado
 
Torneo de espadas
Torneo de espadasTorneo de espadas
Torneo de espadas
 
nadie se cruza por azar
nadie se cruza por azar nadie se cruza por azar
nadie se cruza por azar
 
Aula 1 - AF
Aula 1 - AFAula 1 - AF
Aula 1 - AF
 
Ecorregiones del perú
Ecorregiones del perúEcorregiones del perú
Ecorregiones del perú
 
Presentacion hilda amume
Presentacion hilda amumePresentacion hilda amume
Presentacion hilda amume
 
86 Folleto Campamento - Picosteando
86 Folleto Campamento - Picosteando86 Folleto Campamento - Picosteando
86 Folleto Campamento - Picosteando
 

Similar to Oracle VM 3 Hard Partitioning

Oracle VM 3 hard partitioning
Oracle VM 3 hard partitioningOracle VM 3 hard partitioning
Oracle VM 3 hard partitioning
Gary Waldrom
 
Oracle vm 3.0 Fresh Start - Tarmo Alasoo
Oracle vm 3.0 Fresh Start - Tarmo AlasooOracle vm 3.0 Fresh Start - Tarmo Alasoo
Oracle vm 3.0 Fresh Start - Tarmo Alasoo
ORACLE USER GROUP ESTONIA
 
Auto Deploy Deep Dive – vBrownBag Style
Auto Deploy Deep Dive – vBrownBag StyleAuto Deploy Deep Dive – vBrownBag Style
Auto Deploy Deep Dive – vBrownBag Style
Robert Nelson
 
Power vc for powervm deep dive tips & tricks
Power vc for powervm deep dive tips & tricksPower vc for powervm deep dive tips & tricks
Power vc for powervm deep dive tips & tricks
solarisyougood
 
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  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Haidee McMahon
 
20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS
Amazon Web Services Korea
 
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld
 
Project ACRN schedule framework introduction
Project ACRN schedule framework introductionProject ACRN schedule framework introduction
Project ACRN schedule framework introduction
Project ACRN
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive
Amazon Web Services
 
Virtualization 101 - DeepDive
Virtualization 101 - DeepDiveVirtualization 101 - DeepDive
Virtualization 101 - DeepDive
Amit Agarwal
 
Realtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKTRealtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKT
The Linux Foundation
 
VDI Design Guide
VDI Design GuideVDI Design Guide
VDI Design Guide
Dan Brinkmann
 
IBM Power VC
IBM Power VCIBM Power VC
IBM Power VC
S.info Srl
 
Evento 18 giugno - Power Virtualization Center
Evento 18 giugno - Power Virtualization CenterEvento 18 giugno - Power Virtualization Center
Evento 18 giugno - Power Virtualization Center
PRAGMA PROGETTI
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
LinuxCon ContainerCon CloudOpen China
 
Virtualization & Network Connectivity
Virtualization & Network Connectivity Virtualization & Network Connectivity
Virtualization & Network Connectivity
itplant
 
Where Did My Cpu Go?
Where Did My Cpu Go?Where Did My Cpu Go?
Where Did My Cpu Go?
Enkitec
 
Openstack nova
Openstack novaOpenstack nova
Openstack nova
Murali Boyapati
 
Docker, JVM and CPU
Docker, JVM and CPUDocker, JVM and CPU
Docker, JVM and CPU
Aparna Chaudhary
 
OOW 2013: Where did my CPU go
OOW 2013: Where did my CPU goOOW 2013: Where did my CPU go
OOW 2013: Where did my CPU go
Kristofferson A
 

Similar to Oracle VM 3 Hard Partitioning (20)

Oracle VM 3 hard partitioning
Oracle VM 3 hard partitioningOracle VM 3 hard partitioning
Oracle VM 3 hard partitioning
 
Oracle vm 3.0 Fresh Start - Tarmo Alasoo
Oracle vm 3.0 Fresh Start - Tarmo AlasooOracle vm 3.0 Fresh Start - Tarmo Alasoo
Oracle vm 3.0 Fresh Start - Tarmo Alasoo
 
Auto Deploy Deep Dive – vBrownBag Style
Auto Deploy Deep Dive – vBrownBag StyleAuto Deploy Deep Dive – vBrownBag Style
Auto Deploy Deep Dive – vBrownBag Style
 
Power vc for powervm deep dive tips & tricks
Power vc for powervm deep dive tips & tricksPower vc for powervm deep dive tips & tricks
Power vc for powervm deep dive tips & tricks
 
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  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
 
20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS
 
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines VMworld 2013: Extreme Performance Series: Monster Virtual Machines
VMworld 2013: Extreme Performance Series: Monster Virtual Machines
 
Project ACRN schedule framework introduction
Project ACRN schedule framework introductionProject ACRN schedule framework introduction
Project ACRN schedule framework introduction
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive
 
Virtualization 101 - DeepDive
Virtualization 101 - DeepDiveVirtualization 101 - DeepDive
Virtualization 101 - DeepDive
 
Realtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKTRealtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKT
 
VDI Design Guide
VDI Design GuideVDI Design Guide
VDI Design Guide
 
IBM Power VC
IBM Power VCIBM Power VC
IBM Power VC
 
Evento 18 giugno - Power Virtualization Center
Evento 18 giugno - Power Virtualization CenterEvento 18 giugno - Power Virtualization Center
Evento 18 giugno - Power Virtualization Center
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
 
Virtualization & Network Connectivity
Virtualization & Network Connectivity Virtualization & Network Connectivity
Virtualization & Network Connectivity
 
Where Did My Cpu Go?
Where Did My Cpu Go?Where Did My Cpu Go?
Where Did My Cpu Go?
 
Openstack nova
Openstack novaOpenstack nova
Openstack nova
 
Docker, JVM and CPU
Docker, JVM and CPUDocker, JVM and CPU
Docker, JVM and CPU
 
OOW 2013: Where did my CPU go
OOW 2013: Where did my CPU goOOW 2013: Where did my CPU go
OOW 2013: Where did my CPU go
 

Recently uploaded

Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 

Recently uploaded (20)

Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 

Oracle VM 3 Hard Partitioning

  • 1. Oracle VM Server for x86 Hard Partitioning
  • 2. CPU Cores and CPU Threads • Virtual CPUs (vCPUs) are exposed to the guest virtual machine as CPUs. • Oracle VM Server treats these equally. • Oracle VM offers an advanced feature for hard partitioning, also known as CPU pinning. • Binding vCPUs to physical CPU threads or cores, and preventing these vCPUs from being scheduled on physical CPUs - threads or cores other than the ones specified. 2015, Amonra IT Consultancy Services
  • 3. Oracle Hard Partition Licensing • To conform to the Oracle hard partition licensing requirement, you must follow the instructions described here to bind vCPUs to physical CPU threads or cores. • Live migration of CPU pinned virtual machines to another Oracle VM Server is not permitted. • Oracle VM 3, DRS (Distributed Resource Scheduler) and DPM (Distributed Power Management) policies should not be enabled. 2015, Amonra IT Consultancy Services
  • 4. Get a Summary of the Server Hardware # xm info ... nr_cpus : 8 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 3200 ... • This server has a single socket with 4 cores and 2 threads per core. Total of 8 "CPUs". So CPU 0..7 is really thread 0..7 2015, Amonra IT Consultancy Services
  • 5. Get the CPU Topology # xenpm get-cpu-topology CPU core socket node CPU0 0 0 0 CPU1 0 0 0 CPU2 1 0 0 CPU3 1 0 0 • The above examples show a single socket machine with 2 cores and 2 threads per core 2015, Amonra IT Consultancy Services
  • 6. Get the CPU Topology for vCPU Bindings to Physical CPUs # xm vcpu-list 1 Name ID VCPU CPU State time(s) CPU Affinity 000246c63f 1 0 5 -b- 4673.36 5-6 000246c63f 1 1 5 -b- 4435.09 5-6 • In the above example, you have a guest with 2 virtual CPUs both running • The column CPU Affinity shows 5-6, which means that both virtual CPUs could be running on either thread 5 or 6 2015, Amonra IT Consultancy Services
  • 7. Check the CPUs pinned # xm vcpu-list Name ID VCPU CPU State time(s) CPU Affinity 000246c63f 1 0 5 -b- 4673.3 5-6 000246c63f 1 1 5 -b- 4435.0 5-6 Domain-0 0 0 0 -b- 906.1 any cpu Domain-0 0 1 6 -b- 1168.0 any cpu Domain-0 0 2 11 -b- 1010.8 any cpu • This is the same system, but xm vcpu-list without the argument. • It shows the dom0 guest. dom0 can run on any physical thread and the CPU Affinity is any cpu • There is no pinning or partitioning on dom0 2015, Amonra IT Consultancy Services
  • 8. Setting Hard Partitioning # ./ovm_vmcontrol -u admin -p Manager1 -h localhost -v vmtest -c vcpuget Oracle VM VM Control utility 0.5.2. Connected. Command : vcpuget Current pinning of virtual CPUs to physical threads : 5,6 • In the above example, a virtual machine named vmtest accepts the action vcpuget to show that virtual CPUs of this guest are bound to threads 5 and 6. 2015, Amonra IT Consultancy Services
  • 9. Bind the vCPUs to core 0 # ./ovm_vmcontrol -u admin -p Manager1 -h localhost -v vmtest -c vcpuset-s 0 Oracle VM VM Control utility 0.5.2. Connected. Command : vcpuset Pinning virtual CPUs Pinning of virtual CPUs to physical threads '0' ‘vmtest' completed • Now, running the xm vcpu-list command, the CPU binding immediately took effect 2015, Amonra IT Consultancy Services
  • 10. Conclusion • With Oracle VM Server for x86, to conform to the Oracle hard partition licensing requirement, you must: • Bind a virtual machine to physical CPUs or cores. • Prevents the software from running on physical cores other than the ones specified. • Virtual machines are configured with dedicated CPU resources instead of the default of resource scheduling, which is to use all available CPUs of the server. • Using hard partitioning to limit Oracle product software licensing (also adds some restrictions such as live migration, DRS and DPM) 2015, Amonra IT Consultancy Services
  • 11. Thank You Gary Waldrom Amonra IT Consulting Services e: gary@amonra.co.uk w: www.amonra.co.uk 2015, Amonra IT Consultancy Services