SlideShare a Scribd company logo
Optimize Oracle RDBMS on VMwareGuy HarrisonDirector, R&D Melbournewww.guyharrison.netGuy.harrison@quest.com@guyharrison
Introductions
AgendaMotivations for VirtualizationVMware ESX resource management:MemoryCPUIOParavirtualization (OVM) vs Hardware Assisted Virtualization (ESX)RAC on VMware
Motivations for Virtualization
Resistance to Database virtualization
DB virtualization is happening
Dba-village.comMar 2010May 2009
Oracle virtualization is lagging....
ESX Memory management
Managing ESX memoryESX can “overcommit” memorySum of all VM physical memory allocations > actual ESX physical memoryMemory is critical to Oracle server performanceSGA memory to reduce datafile IOPGA memory to reduce sort & hash IO ESX uses four methods to share memory:Memory Page Sharing“Ballooning”Memory compressionESX swappingDBA needs to carefully configure to avoid disaster
Configuring VM memoryVMs Compete for memory in this rangeRelative Memory Priority for this VMMaximum memory for the VM (dynamic)Minimum Memory for this VM
Monitoring VM memory
ESX and VM memoryESX SwapESX swapVMESX virtual memory Effective VM physical memory ESX physical memoryVM virtual memory
ESX BallooningESX SwapESX swapVmmemctl“balloon”VMESX virtual memory Apparent VM physical memory Effective VM physical memory ESX physical memoryVM SwapVM Swap
ESX BallooningAs memory grows, ESX balloon driver (vmmemctl) forces VM to page out memory to VM swapfile
ESX BallooningInside the VM, paging to the swapfile is observed.The guest OS will determine which pages are paged outIf LOCK_SGA=TRUE, then the SGA should not be paged.
ESX SwappingESX SwapESX swapESX virtual memory VMEffective VM physical memory ESX physical memoryVM virtual memory
ESX SwappingESX SwapESX swapVMApparent VM physical memory Effective VM physical memory ESX virtual memory ESX physical memory
ESX SwappingESX swaps out VM memory to ESXswapfile
ESX SwappingWithin the VM, swapping cannot be detected.ESX will determine which memory pages go to diskParticularly occurs when VMware tools are not installedEven if LOCK_SGA=TRUE, SGA memory might be on disk
Avoiding Ballooning and swappingmemory reservations help avoid ballooning or ESX swapping
ESX memory managementMemory page sharing Multiple VMs can share an identical page of memory (Oracle code pages, etc) Memory compression (new in vSphere 4.1)Pages are compressed and written to cache rather than to diskSwapping is more expensive than ballooningSlower to restore memoryOS and Oracle get no choice about what gets paged“Double paging” can occur – guest and ESX both page a block of memory
Ballooning vs. Swapping Swingbench workload running on Oracle database – from VMWare whitepaper: http://www.vmware.com/files/pdf/perf-vsphere-memory_management.pdf
VMware memory recommendations Paging or swapping of PGA or SGA is almost always a Very Bad Thingtm.Use memory reservations to avoid swapping or ballooningInstall VMware tools to allow ballooning instead of swappingSet Memory reservation = PGA+SGA+process OverheadBe realistic about memory requirements:In physical machines, we are used to using all available memoryIn VM, use only the memory you need, freeing up memory for other VMsOracle advisories (or Spotlight) can show you how much memory is neededReduce VM reservation and Oracle memory targets in tandem to release memory
Optimize Oracle On VMware (Sep 2011)
ESX CPU management
ESX CPU management If more virtual CPUs than ESX CPUs, then vCPUs will sometimes wait for physical CPUTime “stops” inside the VM when this occurs For multi-CPU VMs, it’s (nearly) all or nothing.  A vCPU can be in one of three states:Associated with an ESX CPU but idleAssociated with an ESX CPU and executing instructionsWaiting for ESX CPU to become available Shares and reservations determine which VM wins access to the ESX CPUs
Configuring VM CPU VMs compete for CPU in this rangeShares determine relative CPU allocated when competing
CPU utilization VM“CPU Ready” is the amount of time VM spends waiting on ESX for CPU Inside the VM, CPU stats can be misleading
SMP for vCPUsESX usually has to schedule all vCPUs for a VM simultaneouslyThe more CPUs the harder this isSome CPU is also needed for ESXMore is therefore not always better(Thanks to Carl Bradshaw for letting me reprint this diagram from his Oracle on VMWare whitepaper)
ESX CPU performance comparisonsVT enabledVs 2 core 1.8 GHz physical machine
Programmatic performance NB: Not a benchmark! Just some informal measurements!!
Programmatic performance (2)
ESX CPU recommendations Use up to date chipsets and ESX softwareAllocate as few VCPUs as possible to each VMUse reservations and shares to prioritise access to ESX CPUPerformance of CPU critical workloads may be disappointing on older hardwareMonitor ESX Ready time to determine the “penalty” of competing with other virtual machines
ESX IO managment
Typical VMWare disk configuration
IO Resource AllocationDisk shares can be used to prioritize IO bandwidth.This is poorly implemented prior to vSphere 4.1
Storage IO ControlPrior to vSphere 4.1: disk shares could be used only at the VM level,  and only within a single ESX hostvSphere 4.1 Storage IO Control (SIOC):Manages disk share priorities for all VMs attaching to the same datastoreIs triggered by high (“congested”) latencyCan be enabled globally at the datastore levelEnables equitable distribution even when set to defaults
Storage IO Control
vSphere 4.1 SIOC
SOIC won’t make up for a poorly configured IO layout
Performant VMware disk configuration
Optimal configuration See “Oracle Database Scalability in VMware® ESX” at www.vmware.com/oracleEach virtual disk directly mapped via RDM to dedicated RAID 0 (+1) group 41 Spindles!
ESX IO recommendationsFollow normal best practice for physical disksAvoid sharing disk workloads Dedicated datastores using VMFS Align virtual disks to physical disks?Consider Raw Device Mapping (RDM)Consider SIOC in vSphere 4.1 If you can’t optimize IO, avoid IO:Tune, tune, tune SQLPrefer indexed pathsMemory configurationDon’t forget about temp IO (sorts, hash joins)
Shameless plugs
Optimize Oracle On VMware (Sep 2011)
Optimize Oracle On VMware (Sep 2011)
Optimize Oracle On VMware (Sep 2011)
Paravirtualizationvs Hardware Virtualization
Paravirtualizationvs “Hardware Virtualization”Virtualization is not emulation....Where-ever possible, Hypervisor runs native code from OS against underlying hardwareBecause a virtualized operating system is running outside privileged x86 “ring 0”,  direct calls to hardware need special handling.The three main approaches are:Full Virtualization (VMWare on older hardware)ParaVirtualization (Xen, Oracle VM)Hardware Assisted Virtualization (Intel VT, AMD-V)
Full virtualization Hardware calls from the VM are handled by the hypervisor by:Catching the calls as they occur at run timeRe-writing the VM image at load time (binary translation)Requires no special hardwareSupports any guest OSRelatively Poor performanceUsed by ESX on older chip-setsVMHypervisorRing 0Hardware
Hardware Assisted virtualizationIntel VT and AMD-V chips add a “root mode”.VMcan issue instructions from non-root Ring 0.CPU can divert these to hypervisorNo changes to OS requiredGood performanceRequires modern chipsetsRoot ModeNon-Root ModeVMHypervisorRing 0Hardware
ParavirtualizationVM operating system is rewritten to translate device calls to “hypercalls”
Hypercalls are handled by a special VM (dom0 in Xen/OVM)
Good performance but requires modified VM OS
Xen can use either paravirtualization or hardware assistVM(domU)Ring 0VM(dom0)HypervisorHardware
RAC and ESX
Ad

More Related Content

What's hot (20)

ZFS appliance
ZFS applianceZFS appliance
ZFS appliance
Fran Navarro
 
Oracle on vSphere best practices
Oracle on vSphere best practices Oracle on vSphere best practices
Oracle on vSphere best practices
Filip Verloy
 
vSphere
vSpherevSphere
vSphere
Gloster telekom Kft.
 
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp StorageVMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld
 
Integrating your network with windows azure
Integrating your network with windows azureIntegrating your network with windows azure
Integrating your network with windows azure
Morgan Simonsen
 
Unitrends Overview 2012
Unitrends Overview 2012Unitrends Overview 2012
Unitrends Overview 2012
Tracy Hawkey
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3
UniFabric
 
UniPlex vScaleDB pat. pending
UniPlex vScaleDB pat. pendingUniPlex vScaleDB pat. pending
UniPlex vScaleDB pat. pending
UniFabric
 
Oracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 CertificationOracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 Certification
Exadatadba
 
Xen server storage Overview
Xen server storage OverviewXen server storage Overview
Xen server storage Overview
Nuno Alves
 
Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1
jenkin
 
SSD based storage tuning for databases
SSD based storage tuning for databasesSSD based storage tuning for databases
SSD based storage tuning for databases
Angelo Rajadurai
 
xen server 5.6, provisioning server 5.6 — технические детали и планы на будущее
xen server 5.6, provisioning server 5.6 — технические детали и планы на будущееxen server 5.6, provisioning server 5.6 — технические детали и планы на будущее
xen server 5.6, provisioning server 5.6 — технические детали и планы на будущее
Denis Gundarev
 
Exadata
ExadataExadata
Exadata
talek
 
All about Azure workshop deck
All about Azure workshop deckAll about Azure workshop deck
All about Azure workshop deck
Alexey Bokov
 
Virtualization_TechTalk
Virtualization_TechTalkVirtualization_TechTalk
Virtualization_TechTalk
Arif k
 
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
 Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ... Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
Principled Technologies
 
Citrix PVS Advanced memory and storage considerations for provisioning services
Citrix PVS Advanced memory and storage considerations for provisioning servicesCitrix PVS Advanced memory and storage considerations for provisioning services
Citrix PVS Advanced memory and storage considerations for provisioning services
Nuno Alves
 
Driving XenApp and XenDesktop Performance with Atlantis ILIO
Driving XenApp and XenDesktop Performance with Atlantis ILIODriving XenApp and XenDesktop Performance with Atlantis ILIO
Driving XenApp and XenDesktop Performance with Atlantis ILIO
Andrew Wood
 
2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)
infortrendgroup
 
ZFS appliance
ZFS applianceZFS appliance
ZFS appliance
Fran Navarro
 
Oracle on vSphere best practices
Oracle on vSphere best practices Oracle on vSphere best practices
Oracle on vSphere best practices
Filip Verloy
 
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp StorageVMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld
 
Integrating your network with windows azure
Integrating your network with windows azureIntegrating your network with windows azure
Integrating your network with windows azure
Morgan Simonsen
 
Unitrends Overview 2012
Unitrends Overview 2012Unitrends Overview 2012
Unitrends Overview 2012
Tracy Hawkey
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3
UniFabric
 
UniPlex vScaleDB pat. pending
UniPlex vScaleDB pat. pendingUniPlex vScaleDB pat. pending
UniPlex vScaleDB pat. pending
UniFabric
 
Oracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 CertificationOracle Exadata 1Z0-485 Certification
Oracle Exadata 1Z0-485 Certification
Exadatadba
 
Xen server storage Overview
Xen server storage OverviewXen server storage Overview
Xen server storage Overview
Nuno Alves
 
Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1
jenkin
 
SSD based storage tuning for databases
SSD based storage tuning for databasesSSD based storage tuning for databases
SSD based storage tuning for databases
Angelo Rajadurai
 
xen server 5.6, provisioning server 5.6 — технические детали и планы на будущее
xen server 5.6, provisioning server 5.6 — технические детали и планы на будущееxen server 5.6, provisioning server 5.6 — технические детали и планы на будущее
xen server 5.6, provisioning server 5.6 — технические детали и планы на будущее
Denis Gundarev
 
Exadata
ExadataExadata
Exadata
talek
 
All about Azure workshop deck
All about Azure workshop deckAll about Azure workshop deck
All about Azure workshop deck
Alexey Bokov
 
Virtualization_TechTalk
Virtualization_TechTalkVirtualization_TechTalk
Virtualization_TechTalk
Arif k
 
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
 Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ... Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
Principled Technologies
 
Citrix PVS Advanced memory and storage considerations for provisioning services
Citrix PVS Advanced memory and storage considerations for provisioning servicesCitrix PVS Advanced memory and storage considerations for provisioning services
Citrix PVS Advanced memory and storage considerations for provisioning services
Nuno Alves
 
Driving XenApp and XenDesktop Performance with Atlantis ILIO
Driving XenApp and XenDesktop Performance with Atlantis ILIODriving XenApp and XenDesktop Performance with Atlantis ILIO
Driving XenApp and XenDesktop Performance with Atlantis ILIO
Andrew Wood
 
2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)
infortrendgroup
 

Viewers also liked (20)

A Paradigm Shift In How We Think About Education Facilities
A Paradigm Shift In How We Think About Education FacilitiesA Paradigm Shift In How We Think About Education Facilities
A Paradigm Shift In How We Think About Education Facilities
OHM Advisors
 
The Top 4 risks in P4P (Pay for Performance) 20120611
The Top 4 risks in P4P (Pay for Performance) 20120611The Top 4 risks in P4P (Pay for Performance) 20120611
The Top 4 risks in P4P (Pay for Performance) 20120611
PERFORMENSATION
 
Wheels of Progress: Downtown Planning 2.0 Beyond the Vision
Wheels of Progress: Downtown Planning 2.0 Beyond the VisionWheels of Progress: Downtown Planning 2.0 Beyond the Vision
Wheels of Progress: Downtown Planning 2.0 Beyond the Vision
OHM Advisors
 
Hadoop, Oracle and the big data revolution collaborate 2013
Hadoop, Oracle and the big data revolution collaborate 2013Hadoop, Oracle and the big data revolution collaborate 2013
Hadoop, Oracle and the big data revolution collaborate 2013
Guy Harrison
 
Book Places in the Digital Age
Book Places in the Digital AgeBook Places in the Digital Age
Book Places in the Digital Age
Penn State Press
 
lesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesses
lesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesseslesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesses
lesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesses
Jim Jansen
 
7 Key Ways to Drive Revenue Using LinkedIn
7 Key Ways to Drive Revenue Using LinkedIn7 Key Ways to Drive Revenue Using LinkedIn
7 Key Ways to Drive Revenue Using LinkedIn
mbieler
 
Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)
Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)
Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)
Vashti Zarach
 
Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...
Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...
Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...
Vashti Zarach
 
Sunday Streets Bpag Presentation 1
Sunday Streets   Bpag Presentation 1Sunday Streets   Bpag Presentation 1
Sunday Streets Bpag Presentation 1
gcantori
 
Lesson 06 Ist402 Keywords 02
Lesson 06 Ist402 Keywords 02Lesson 06 Ist402 Keywords 02
Lesson 06 Ist402 Keywords 02
Jim Jansen
 
Map of WWII Europe theatre
Map of WWII  Europe theatreMap of WWII  Europe theatre
Map of WWII Europe theatre
Patricia Guzman
 
Lesson_04_ist402_google_adwords_02
Lesson_04_ist402_google_adwords_02Lesson_04_ist402_google_adwords_02
Lesson_04_ist402_google_adwords_02
Jim Jansen
 
Thanks for the Memory
Thanks for the MemoryThanks for the Memory
Thanks for the Memory
Guy Harrison
 
Lesson 13 Writing Good Ads 02
Lesson 13 Writing Good Ads 02Lesson 13 Writing Good Ads 02
Lesson 13 Writing Good Ads 02
Jim Jansen
 
50 Tax Savings Ideas
50 Tax Savings Ideas50 Tax Savings Ideas
50 Tax Savings Ideas
FormerIRS
 
Bni 2013 presentation
Bni 2013 presentationBni 2013 presentation
Bni 2013 presentation
Darren Dowdell
 
Simples Nacional : E outras formas de redução de custos
Simples Nacional: E outras formas de redução de custosSimples Nacional: E outras formas de redução de custos
Simples Nacional : E outras formas de redução de custos
PrestusÂŽ
 
Networked Consumers: How networked and how important?
Networked Consumers:  How networked and how important?Networked Consumers:  How networked and how important?
Networked Consumers: How networked and how important?
Jim Jansen
 
Supplemental Info: Say on Pay and Dodd Frank 20100723
Supplemental Info: Say on Pay and Dodd Frank 20100723Supplemental Info: Say on Pay and Dodd Frank 20100723
Supplemental Info: Say on Pay and Dodd Frank 20100723
PERFORMENSATION
 
A Paradigm Shift In How We Think About Education Facilities
A Paradigm Shift In How We Think About Education FacilitiesA Paradigm Shift In How We Think About Education Facilities
A Paradigm Shift In How We Think About Education Facilities
OHM Advisors
 
The Top 4 risks in P4P (Pay for Performance) 20120611
The Top 4 risks in P4P (Pay for Performance) 20120611The Top 4 risks in P4P (Pay for Performance) 20120611
The Top 4 risks in P4P (Pay for Performance) 20120611
PERFORMENSATION
 
Wheels of Progress: Downtown Planning 2.0 Beyond the Vision
Wheels of Progress: Downtown Planning 2.0 Beyond the VisionWheels of Progress: Downtown Planning 2.0 Beyond the Vision
Wheels of Progress: Downtown Planning 2.0 Beyond the Vision
OHM Advisors
 
Hadoop, Oracle and the big data revolution collaborate 2013
Hadoop, Oracle and the big data revolution collaborate 2013Hadoop, Oracle and the big data revolution collaborate 2013
Hadoop, Oracle and the big data revolution collaborate 2013
Guy Harrison
 
Book Places in the Digital Age
Book Places in the Digital AgeBook Places in the Digital Age
Book Places in the Digital Age
Penn State Press
 
lesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesses
lesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesseslesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesses
lesson_03 Setting up Adwords Accounts, Adwords, and Selecting Businesses
Jim Jansen
 
7 Key Ways to Drive Revenue Using LinkedIn
7 Key Ways to Drive Revenue Using LinkedIn7 Key Ways to Drive Revenue Using LinkedIn
7 Key Ways to Drive Revenue Using LinkedIn
mbieler
 
Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)
Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)
Information Skills: 4. Evaluating Sources (Natural Sciences, Bangor University)
Vashti Zarach
 
Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...
Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...
Information Skills: 2. Information Hunting (Natural Sciences, Bangor Universi...
Vashti Zarach
 
Sunday Streets Bpag Presentation 1
Sunday Streets   Bpag Presentation 1Sunday Streets   Bpag Presentation 1
Sunday Streets Bpag Presentation 1
gcantori
 
Lesson 06 Ist402 Keywords 02
Lesson 06 Ist402 Keywords 02Lesson 06 Ist402 Keywords 02
Lesson 06 Ist402 Keywords 02
Jim Jansen
 
Map of WWII Europe theatre
Map of WWII  Europe theatreMap of WWII  Europe theatre
Map of WWII Europe theatre
Patricia Guzman
 
Lesson_04_ist402_google_adwords_02
Lesson_04_ist402_google_adwords_02Lesson_04_ist402_google_adwords_02
Lesson_04_ist402_google_adwords_02
Jim Jansen
 
Thanks for the Memory
Thanks for the MemoryThanks for the Memory
Thanks for the Memory
Guy Harrison
 
Lesson 13 Writing Good Ads 02
Lesson 13 Writing Good Ads 02Lesson 13 Writing Good Ads 02
Lesson 13 Writing Good Ads 02
Jim Jansen
 
50 Tax Savings Ideas
50 Tax Savings Ideas50 Tax Savings Ideas
50 Tax Savings Ideas
FormerIRS
 
Bni 2013 presentation
Bni 2013 presentationBni 2013 presentation
Bni 2013 presentation
Darren Dowdell
 
Simples Nacional : E outras formas de redução de custos
Simples Nacional: E outras formas de redução de custosSimples Nacional: E outras formas de redução de custos
Simples Nacional : E outras formas de redução de custos
PrestusÂŽ
 
Networked Consumers: How networked and how important?
Networked Consumers:  How networked and how important?Networked Consumers:  How networked and how important?
Networked Consumers: How networked and how important?
Jim Jansen
 
Supplemental Info: Say on Pay and Dodd Frank 20100723
Supplemental Info: Say on Pay and Dodd Frank 20100723Supplemental Info: Say on Pay and Dodd Frank 20100723
Supplemental Info: Say on Pay and Dodd Frank 20100723
PERFORMENSATION
 
Ad

Similar to Optimize Oracle On VMware (Sep 2011) (20)

Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)
Guy Harrison
 
General-and-complete_Training_Slide_v0.9-TGT.pptx
General-and-complete_Training_Slide_v0.9-TGT.pptxGeneral-and-complete_Training_Slide_v0.9-TGT.pptx
General-and-complete_Training_Slide_v0.9-TGT.pptx
ssuserd349a6
 
Using VMware Infrastructure for Backup and Restore
Using VMware Infrastructure for Backup and RestoreUsing VMware Infrastructure for Backup and Restore
Using VMware Infrastructure for Backup and Restore
webhostingguy
 
Memory virtualisation
Memory virtualisationMemory virtualisation
Memory virtualisation
Kumar
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
Stephen Foskett
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
9260SahilPatil
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
9260SahilPatil
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
4173CarreonIraMaeL
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
XdemonGraphicz
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
UbaidURRahman78
 
PernixData - A New Era of Server Side Storage
PernixData - A New Era of Server Side StoragePernixData - A New Era of Server Side Storage
PernixData - A New Era of Server Side Storage
VMUG IT
 
IBM XIV Gen3 Storage System
IBM XIV Gen3 Storage SystemIBM XIV Gen3 Storage System
IBM XIV Gen3 Storage System
IBM India Smarter Computing
 
Presentation v mware performance overview
Presentation   v mware performance overviewPresentation   v mware performance overview
Presentation v mware performance overview
solarisyourep
 
Presentation v mware v-sphere advanced troubleshooting by eric sloof
Presentation   v mware v-sphere advanced troubleshooting by eric sloofPresentation   v mware v-sphere advanced troubleshooting by eric sloof
Presentation v mware v-sphere advanced troubleshooting by eric sloof
solarisyourep
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
Ovi Chis
 
VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...
VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...
VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...
KiwiSi
 
VMware Performance
VMware Performance VMware Performance
VMware Performance
webhostingguy
 
Virtualization
VirtualizationVirtualization
Virtualization
YaqutAlsaad
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld
 
Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)
Guy Harrison
 
General-and-complete_Training_Slide_v0.9-TGT.pptx
General-and-complete_Training_Slide_v0.9-TGT.pptxGeneral-and-complete_Training_Slide_v0.9-TGT.pptx
General-and-complete_Training_Slide_v0.9-TGT.pptx
ssuserd349a6
 
Using VMware Infrastructure for Backup and Restore
Using VMware Infrastructure for Backup and RestoreUsing VMware Infrastructure for Backup and Restore
Using VMware Infrastructure for Backup and Restore
webhostingguy
 
Memory virtualisation
Memory virtualisationMemory virtualisation
Memory virtualisation
Kumar
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
Stephen Foskett
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
9260SahilPatil
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
9260SahilPatil
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
XdemonGraphicz
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
UbaidURRahman78
 
PernixData - A New Era of Server Side Storage
PernixData - A New Era of Server Side StoragePernixData - A New Era of Server Side Storage
PernixData - A New Era of Server Side Storage
VMUG IT
 
Presentation v mware performance overview
Presentation   v mware performance overviewPresentation   v mware performance overview
Presentation v mware performance overview
solarisyourep
 
Presentation v mware v-sphere advanced troubleshooting by eric sloof
Presentation   v mware v-sphere advanced troubleshooting by eric sloofPresentation   v mware v-sphere advanced troubleshooting by eric sloof
Presentation v mware v-sphere advanced troubleshooting by eric sloof
solarisyourep
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
Ovi Chis
 
VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...
VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...
VMworld 2010 - Building an Affordable vSphere Environment for a Lab or Small ...
KiwiSi
 
VMware Performance
VMware Performance VMware Performance
VMware Performance
webhostingguy
 
Virtualization
VirtualizationVirtualization
Virtualization
YaqutAlsaad
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld
 
Ad

More from Guy Harrison (16)

Five database trends - updated April 2015
Five database trends - updated April 2015Five database trends - updated April 2015
Five database trends - updated April 2015
Guy Harrison
 
From oracle to hadoop with Sqoop and other tools
From oracle to hadoop with Sqoop and other toolsFrom oracle to hadoop with Sqoop and other tools
From oracle to hadoop with Sqoop and other tools
Guy Harrison
 
Thriving and surviving the Big Data revolution
Thriving and surviving the Big Data revolutionThriving and surviving the Big Data revolution
Thriving and surviving the Big Data revolution
Guy Harrison
 
Mega trends in information management
Mega trends in information managementMega trends in information management
Mega trends in information management
Guy Harrison
 
Big datacamp2013 share
Big datacamp2013 shareBig datacamp2013 share
Big datacamp2013 share
Guy Harrison
 
Hadoop, oracle and the industrial revolution of data
Hadoop, oracle and the industrial revolution of data Hadoop, oracle and the industrial revolution of data
Hadoop, oracle and the industrial revolution of data
Guy Harrison
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
 
Hadoop and rdbms with sqoop
Hadoop and rdbms with sqoop Hadoop and rdbms with sqoop
Hadoop and rdbms with sqoop
Guy Harrison
 
Next generation databases july2010
Next generation databases july2010Next generation databases july2010
Next generation databases july2010
Guy Harrison
 
High Performance Plsql
High Performance PlsqlHigh Performance Plsql
High Performance Plsql
Guy Harrison
 
Performance By Design
Performance By DesignPerformance By Design
Performance By Design
Guy Harrison
 
Top 10 tips for Oracle performance
Top 10 tips for Oracle performanceTop 10 tips for Oracle performance
Top 10 tips for Oracle performance
Guy Harrison
 
How I learned to stop worrying and love Oracle
How I learned to stop worrying and love OracleHow I learned to stop worrying and love Oracle
How I learned to stop worrying and love Oracle
Guy Harrison
 
Performance By Design
Performance By DesignPerformance By Design
Performance By Design
Guy Harrison
 
High Performance Plsql
High Performance PlsqlHigh Performance Plsql
High Performance Plsql
Guy Harrison
 
Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)
Guy Harrison
 
Five database trends - updated April 2015
Five database trends - updated April 2015Five database trends - updated April 2015
Five database trends - updated April 2015
Guy Harrison
 
From oracle to hadoop with Sqoop and other tools
From oracle to hadoop with Sqoop and other toolsFrom oracle to hadoop with Sqoop and other tools
From oracle to hadoop with Sqoop and other tools
Guy Harrison
 
Thriving and surviving the Big Data revolution
Thriving and surviving the Big Data revolutionThriving and surviving the Big Data revolution
Thriving and surviving the Big Data revolution
Guy Harrison
 
Mega trends in information management
Mega trends in information managementMega trends in information management
Mega trends in information management
Guy Harrison
 
Big datacamp2013 share
Big datacamp2013 shareBig datacamp2013 share
Big datacamp2013 share
Guy Harrison
 
Hadoop, oracle and the industrial revolution of data
Hadoop, oracle and the industrial revolution of data Hadoop, oracle and the industrial revolution of data
Hadoop, oracle and the industrial revolution of data
Guy Harrison
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
 
Hadoop and rdbms with sqoop
Hadoop and rdbms with sqoop Hadoop and rdbms with sqoop
Hadoop and rdbms with sqoop
Guy Harrison
 
Next generation databases july2010
Next generation databases july2010Next generation databases july2010
Next generation databases july2010
Guy Harrison
 
High Performance Plsql
High Performance PlsqlHigh Performance Plsql
High Performance Plsql
Guy Harrison
 
Performance By Design
Performance By DesignPerformance By Design
Performance By Design
Guy Harrison
 
Top 10 tips for Oracle performance
Top 10 tips for Oracle performanceTop 10 tips for Oracle performance
Top 10 tips for Oracle performance
Guy Harrison
 
How I learned to stop worrying and love Oracle
How I learned to stop worrying and love OracleHow I learned to stop worrying and love Oracle
How I learned to stop worrying and love Oracle
Guy Harrison
 
Performance By Design
Performance By DesignPerformance By Design
Performance By Design
Guy Harrison
 
High Performance Plsql
High Performance PlsqlHigh Performance Plsql
High Performance Plsql
Guy Harrison
 
Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)Top 10 tips for Oracle performance (Updated April 2015)
Top 10 tips for Oracle performance (Updated April 2015)
Guy Harrison
 

Recently uploaded (20)

Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 

Optimize Oracle On VMware (Sep 2011)

  • 1. Optimize Oracle RDBMS on VMwareGuy HarrisonDirector, R&D [email protected]@guyharrison
  • 3. AgendaMotivations for VirtualizationVMware ESX resource management:MemoryCPUIOParavirtualization (OVM) vs Hardware Assisted Virtualization (ESX)RAC on VMware
  • 5. Resistance to Database virtualization
  • 10. Managing ESX memoryESX can “overcommit” memorySum of all VM physical memory allocations > actual ESX physical memoryMemory is critical to Oracle server performanceSGA memory to reduce datafile IOPGA memory to reduce sort & hash IO ESX uses four methods to share memory:Memory Page Sharing“Ballooning”Memory compressionESX swappingDBA needs to carefully configure to avoid disaster
  • 11. Configuring VM memoryVMs Compete for memory in this rangeRelative Memory Priority for this VMMaximum memory for the VM (dynamic)Minimum Memory for this VM
  • 13. ESX and VM memoryESX SwapESX swapVMESX virtual memory Effective VM physical memory ESX physical memoryVM virtual memory
  • 14. ESX BallooningESX SwapESX swapVmmemctl“balloon”VMESX virtual memory Apparent VM physical memory Effective VM physical memory ESX physical memoryVM SwapVM Swap
  • 15. ESX BallooningAs memory grows, ESX balloon driver (vmmemctl) forces VM to page out memory to VM swapfile
  • 16. ESX BallooningInside the VM, paging to the swapfile is observed.The guest OS will determine which pages are paged outIf LOCK_SGA=TRUE, then the SGA should not be paged.
  • 17. ESX SwappingESX SwapESX swapESX virtual memory VMEffective VM physical memory ESX physical memoryVM virtual memory
  • 18. ESX SwappingESX SwapESX swapVMApparent VM physical memory Effective VM physical memory ESX virtual memory ESX physical memory
  • 19. ESX SwappingESX swaps out VM memory to ESXswapfile
  • 20. ESX SwappingWithin the VM, swapping cannot be detected.ESX will determine which memory pages go to diskParticularly occurs when VMware tools are not installedEven if LOCK_SGA=TRUE, SGA memory might be on disk
  • 21. Avoiding Ballooning and swappingmemory reservations help avoid ballooning or ESX swapping
  • 22. ESX memory managementMemory page sharing Multiple VMs can share an identical page of memory (Oracle code pages, etc) Memory compression (new in vSphere 4.1)Pages are compressed and written to cache rather than to diskSwapping is more expensive than ballooningSlower to restore memoryOS and Oracle get no choice about what gets paged“Double paging” can occur – guest and ESX both page a block of memory
  • 23. Ballooning vs. Swapping Swingbench workload running on Oracle database – from VMWare whitepaper: http://www.vmware.com/files/pdf/perf-vsphere-memory_management.pdf
  • 24. VMware memory recommendations Paging or swapping of PGA or SGA is almost always a Very Bad Thingtm.Use memory reservations to avoid swapping or ballooningInstall VMware tools to allow ballooning instead of swappingSet Memory reservation = PGA+SGA+process OverheadBe realistic about memory requirements:In physical machines, we are used to using all available memoryIn VM, use only the memory you need, freeing up memory for other VMsOracle advisories (or Spotlight) can show you how much memory is neededReduce VM reservation and Oracle memory targets in tandem to release memory
  • 27. ESX CPU management If more virtual CPUs than ESX CPUs, then vCPUs will sometimes wait for physical CPUTime “stops” inside the VM when this occurs For multi-CPU VMs, it’s (nearly) all or nothing. A vCPU can be in one of three states:Associated with an ESX CPU but idleAssociated with an ESX CPU and executing instructionsWaiting for ESX CPU to become available Shares and reservations determine which VM wins access to the ESX CPUs
  • 28. Configuring VM CPU VMs compete for CPU in this rangeShares determine relative CPU allocated when competing
  • 29. CPU utilization VM“CPU Ready” is the amount of time VM spends waiting on ESX for CPU Inside the VM, CPU stats can be misleading
  • 30. SMP for vCPUsESX usually has to schedule all vCPUs for a VM simultaneouslyThe more CPUs the harder this isSome CPU is also needed for ESXMore is therefore not always better(Thanks to Carl Bradshaw for letting me reprint this diagram from his Oracle on VMWare whitepaper)
  • 31. ESX CPU performance comparisonsVT enabledVs 2 core 1.8 GHz physical machine
  • 32. Programmatic performance NB: Not a benchmark! Just some informal measurements!!
  • 34. ESX CPU recommendations Use up to date chipsets and ESX softwareAllocate as few VCPUs as possible to each VMUse reservations and shares to prioritise access to ESX CPUPerformance of CPU critical workloads may be disappointing on older hardwareMonitor ESX Ready time to determine the “penalty” of competing with other virtual machines
  • 36. Typical VMWare disk configuration
  • 37. IO Resource AllocationDisk shares can be used to prioritize IO bandwidth.This is poorly implemented prior to vSphere 4.1
  • 38. Storage IO ControlPrior to vSphere 4.1: disk shares could be used only at the VM level, and only within a single ESX hostvSphere 4.1 Storage IO Control (SIOC):Manages disk share priorities for all VMs attaching to the same datastoreIs triggered by high (“congested”) latencyCan be enabled globally at the datastore levelEnables equitable distribution even when set to defaults
  • 41. SOIC won’t make up for a poorly configured IO layout
  • 42. Performant VMware disk configuration
  • 43. Optimal configuration See “Oracle Database Scalability in VMwareÂŽ ESX” at www.vmware.com/oracleEach virtual disk directly mapped via RDM to dedicated RAID 0 (+1) group 41 Spindles!
  • 44. ESX IO recommendationsFollow normal best practice for physical disksAvoid sharing disk workloads Dedicated datastores using VMFS Align virtual disks to physical disks?Consider Raw Device Mapping (RDM)Consider SIOC in vSphere 4.1 If you can’t optimize IO, avoid IO:Tune, tune, tune SQLPrefer indexed pathsMemory configurationDon’t forget about temp IO (sorts, hash joins)
  • 50. Paravirtualizationvs “Hardware Virtualization”Virtualization is not emulation....Where-ever possible, Hypervisor runs native code from OS against underlying hardwareBecause a virtualized operating system is running outside privileged x86 “ring 0”, direct calls to hardware need special handling.The three main approaches are:Full Virtualization (VMWare on older hardware)ParaVirtualization (Xen, Oracle VM)Hardware Assisted Virtualization (Intel VT, AMD-V)
  • 51. Full virtualization Hardware calls from the VM are handled by the hypervisor by:Catching the calls as they occur at run timeRe-writing the VM image at load time (binary translation)Requires no special hardwareSupports any guest OSRelatively Poor performanceUsed by ESX on older chip-setsVMHypervisorRing 0Hardware
  • 52. Hardware Assisted virtualizationIntel VT and AMD-V chips add a “root mode”.VMcan issue instructions from non-root Ring 0.CPU can divert these to hypervisorNo changes to OS requiredGood performanceRequires modern chipsetsRoot ModeNon-Root ModeVMHypervisorRing 0Hardware
  • 53. ParavirtualizationVM operating system is rewritten to translate device calls to “hypercalls”
  • 54. Hypercalls are handled by a special VM (dom0 in Xen/OVM)
  • 55. Good performance but requires modified VM OS
  • 56. Xen can use either paravirtualization or hardware assistVM(domU)Ring 0VM(dom0)HypervisorHardware
  • 58. Paravirtualization, ESX and RACPrior to 11.2.0.2, Oracle relied on paravirtualized kernels to maintain time synchronization for RAC clusters.From 11.2.0.2 Oracle uses Cluster Time Synchronization Service (CTSS) to maintain clock sync, and this works on ESXTherefore, Oracle supports RAC on Vmware ESX only from 11.2.0.2 onwardsSee Oracle MySupport Note 249212.1
  • 59. ReferencesLatest version of this presentation:http://www.slideshare.net/gharriso/optimize-oracle-on-vmware-5271530My blog (www.guyharrison.net ):http://guyharrison.squarespace.com/blog/2010/2/22/memory-management-for-oracle-databases-on-vmware-esx.htmlhttp://guyharrison.squarespace.com/blog/2010/4/9/esx-cpu-optimization-for-oracle-databases.htmlhttp://guyharrison.squarespace.com/blog/2010/7/12/stolen-cpu-on-xen-based-virtual-machines.htmlhttp://www.vmware.com/files/pdf/perf-vsphere-memory_management.pdfhttp://www.vmware.com/files/pdf/Oracle_Databases_on_vSphere_Deployment_Tips.pdfhttp://www.vmware.com/files/pdf/techpaper/VMW-vSphere41-SIOC.pdf

Editor's Notes

  • #3: Apologies, I’m a database type.....Quest is best known for toad, but we also have enterprise monitoring across all levels of the stackIn Melbourne, SQL Navigator + the spotlights. It’s not a complete co-incidence about the star trek theme.
  • #12: As well as total memory to the VM, you can:Adjust memory “shares”, which determine priority for this machine when in contention with other machinesReservation: guaranteed (sort of) amount of memory to allocate Limit, if you want to prevent VM from getting all it’s memory Memory reservationsMemory SharesIdle memory taxMemory sharingThe Balloon driver (vmmemctl) ESX swapping