Post on 20-Jun-2015
description
transcript
WHY SHOULD I USE OVMFor Oracle Databases
By Francisco Munoz Alvarez – Oracle Professional Services Manager
Some Certifications• 8/9i/10g/11g OCP, RAC OCE, AS OCA, E-
Business OCP , SQL /PLSQL OCA , OVM Implementation Specialist, Oracle 7 OCM
• ITIL Certified
• Highlights• Oracle 7 , Oracle 11gR2 and OVM 3.1 and 3.2
Beta Tester
• Blog: http://oraclenz.wordpress.com
• Twitter: fcomunoz
Current Positions• Oracle ACE Director
• NZOUG President
• LAOUC President
• CLOUG President
• IOUC LA Spokesperson
• Revera – Oracle Professional Services Manager
Francisco Munoz Alvarez
TODAY’S AGENDA
Why use Virtualisation
OVM Overview
Benchmarks
Conclusion
Why Revera
Questions
BEFORE START
REVERA is a IaaS leader provider in NZ with many
different options and solutions available to fulfil any type
of requirement.
The results on this presentation makes only reference
regarding Oracle Database performance when running
on a virtual environment.
WHY USE VIRTUALISATION
Consolidation of workload
Hardware independence
Enhanced high availability & DR options
Better utilisation of overall CPU & RAM, ability to redistribute
Overall significantly better value and better utilisation of
resources
WHAT IS OVM
Oracle VM is an enterprise-proven server virtualization
solution comprised of Oracle VM Server for x86, Oracle VM
Server for SPARC and Oracle VM Manager that is scalable,
and a low-cost server virtualization solution for both Oracle
and non-Oracle workloads that makes enterprise
applications easier to deploy, manage, and support.
WHAT IS OVM (Cont)
Because OVM is build by Oracle all Oracle products deployed in Oracle VM such as the Oracle Database, Oracle Fusion Middleware, Oracle Applications, and Oracle Real Application Clusters and many others are fully supported and certified.
OVM helps customers improve server utilization, achieve higher availability and achieve better performance while reducing costs.
THE ARCHITECTURE
OVM Server– Based on the underlying Xen
hypervisor technology
– Management Linux Kernel
with support of Devices
(JeOS)
– IO, Networking, etc
VM– Guest OS with applications
running on domU
MORE VALUE Key Benefits
– Application Aware Virtualization
– High Available and Scalable
– Easy and Efficient Centralized Management
– Fast Deployment and Standardization
– Application Driven Virtualization
– Soft and Hard Partitioning
– Support for Leading Enterprise Operation Systems
– Dynamic Resource Scheduling
– Integration with OEM12c
– Build by Oracle to Oracle and non-Oracle environments
– Only x86 server virtualization solution fully certified by Oracle and can be used with all Oracle Software
– Single Vendor Support, One call to Oracle; no finger pointing at another vendor
BENCHMARKEnvironment Preparation
SOME NOTES ON THE TESTING
Performed in a lab environment, not on our actual Prod
environment
The trends are representative, but the numbers reflect the lab gear
available at the time
When we build VM service offerings they are tuned for general
purpose IaaS workloads & use cases most common across
customers
We can tune for specific use cases, as this presentations will show
THE ENVIRONMENT
Hardware– 3 DELL M610 with 96 GB
RAM and 2 hexa-core processors each
– OS: OEL 5.7 64 bit
– Hitachi Storage (Fiber Channel Storage Array)
Database– OEE 11.2.0.3
– SGA: 4864 MB
– Redo: 7 Groups of 150 MB each
THE SERVERS
VM’s– 4 vCPU’s each
– 6 GB RAM each
Virtualization Software– OVM 3.2.1.516
– Other Hypervisors
Bare metal– 12 CPU’s
– 96 GB RAM
BENCHMARK PRODUCTS
CPUmonitor 2.91
Swingbench 2.4
SETUP OF ENVIRONMENT
BENCHMARKThe Results
RESPONSE TIMES
Max and AVG Response Times (milliseconds)
Response Times
Max and AVG Response Times (milliseconds)
Response Times
AVG Response Times (milliseconds)
RESPONSE TIMES
AVG Response Times (milliseconds)
TRANSACTIONS PER MINUTE
AVG Transactions per minute
CPU WITH 200 SESSIONS
CPU WITH 400 SESSIONS
CPU WITH 800 SESSIONS
CPU WITH 800 SESSIONS
BENCHMARK/SCALINGWhat happen if we give more resources to the VM?
WHEN SCALING
• Increasing VM resources on-demand when
achieving 400 concurrent sessions
• RAM from 6GB to 12 GB
• vCPUs from 4 to 8 Now let’s see
what’s happen
when giving more
resources to the
VM
Response Times
AVG Response Times (milliseconds)
35 29 27 30 30 29118 15 15 15 27
812
0
100
200
300
400
500
600
700
800
900
15 Users 50 Users 100 Users 200 Users 400 Users 800 Users
Response Time AVG BM Response Time AVG OVM
35
2927
30 3029
18
15 15 15
12
15
0
5
10
15
20
25
30
35
40
15 Users 50 Users 100 Users 200 Users 400 Users 800 Users
Response Time AVG BM Response Time AVG OVM
TRANSACTIONS PER MINUTE
AVG Transactions per minute
8102722
5476
10924
21685
30621
838
2755
5569
10881
19604
12541
0
5000
10000
15000
20000
25000
30000
35000
15 Users 50 Users 100 Users 200 Users 400 Users 800 Users
Transactions/min AVG BM Transactions/min AVG OVM
8102722
5476
10924
21685
30621
8382755
5569
10881
21854
29523
0
5000
10000
15000
20000
25000
30000
35000
15 Users 50 Users 100 Users 200 Users 400 Users 800 Users
Transactions/min AVG BM Transactions/min AVG OVM
CPU WITH 400 SESSIONS (2)
CPU WITH 800 SESSIONS (2)
WHEN SCALING
As you can see, without OVM
you will have a full physical
server with underutilized
resources, but if using OVM,
you will be able to virtualize it to
host many Oracle DBs without
loss of performance and making
an efficient use of available
licenses.
OTHER INFO
• MANAGEMENT OF SGA MEMORY
• SGA of 4864 MB
• BM able to open 563 connections
• Other Hypervisors able to open 523 connections
• OVM able to open 567 connections
BENCHMARKConclusion
MYTHS or TRUE
• It is not safe to run Production Environments on OVM
• If using OVM your database will run slower
• Oracle do not support production DB on OVM
• OVM is more expensive than other Hypervisors
• Other Hypervisors run Oracle Database faster than OVM
CONCLUSION
• Oracle Database performs better at OVM
• OVM makes a better use of available resources
• OVM is more scalable and stable for Oracle DBs
• OVM allows better consolidation of loads in a virtual environment
• OVM uses less CPU than other HypervisorsPLUS a bonus:
Allow licensing
savings, extra HA and
is fully certified and
supported by Oracle.
BE CAREFULWhat happen if you do not really know about OVM
P2V
Normal Performance after P2V
Baremetal OVM
TPS MAX 27 21
TPS AVG 14 13
TPM MAX 924 866
TPM AVG 810 719
RT MAX 277 1526
RT AVG 35 111
TTC 53:32.0 1:30:47
RIPS 45,161 51,441
DGPS (MB) 3.40 3.80
PARAVIRTUALIZED VMs
Normal Performance of Paravirtualized VMs:
Baremetal OVM
TPS MAX 27 25
TPS AVG 14 14
TPM MAX 924 921
TPM AVG 810 816
RT MAX 277 837
RT AVG 35 44
TTC 53:32.0 35:02.3
RIPS 45,161 81,953
DGPS (MB) 3.40 6.10
REVERA VMs
Normal Performance of Revera VMs:
Baremetal OVM (Revera)
TPS MAX 27 25
TPS AVG 14 18
TPM MAX 924 933
TPM AVG 810 838
RT MAX 277 164
RT AVG 35 18
TTC 53:32.0 31:52.0
RIPS 45,161 93,542
DGPS (MB) 3.40 7.00
OVM (PV) OVM (Revera)
TPS MAX 25 25
TPS AVG 14 18
TPM MAX 921 933
TPM AVG 816 838
RT MAX 837 164
RT AVG 44 18
TTC 35:02.3 31:52.0
RIPS 81,953 93,542
DGPS (MB) 6.10 7.00
WHY REVERA
Oracle Platinum Partner
Biggest OVM farm in NZ
Dozens of templates customized to achieve the best performance and stability
Scalable Environment
The only OVM specialized partner in NZ
Constantly investing in Research
Over 2.0 Pb of storage and 2,500 VMs in operation
150 staff across four locations
5 data centers (small but perfectly formed)
CommVault’s biggest NZ customer
VMware Premier VSPP in NZ
Hitachi Data Systems biggest NZ customer
SELECTION OF UTILITY COMPUTE OPTIONS
Targeted at different use cases
All Utility Pricing scale up-scale down
Different Service Offerings focused at different use cases
Customers consume based on SLAs and capabilities, not
brand of hypervisor
THE PERFECT DUO
Thank YouAny Questions?