WHY SHOULD I USE OVM For Oracle Databases By Francisco Munoz Alvarez Oracle Professional Services Manager
Francisco Munoz Alvarez 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
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 VM Based on the underlying Xen hypervisor technology Management Linux Kernel with support of Devices (JeOS) IO, Networking, etc 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
BENCHMARK Environment 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
BENCHMARK The 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/SCALING What 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) 40 900 35 35 800 812 700 30 600 25 29 27 30 30 29 500 20 400 15 300 10 200 5 100 00 18 15 15 15 18 15 15 15 35 1 27 29 27 30 30 29 15 15 Users Users 50 50 Users Users 100 100 Users Users 200 200 Users Users 400 Users 400 Users 800 Users 800 Users Response Response Time Time AVG AVG BM BM 12 Response Response Time Time AVG AVG OVM OVM 15
TRANSACTIONS PER MINUTE AVG Transactions per minute 35000 30000 30621 29523 30621 25000 20000 21854 21685 21685 19604 15000 10000 5000 0 10881 12541 10881 10924 10924 5569 5569 2755 5476 2755 5476 838 838 2722 810 2722 810 15 15 Users Users 50 Users 50 Users100 Users 100 Users 200 Users 400 200 Users 800 Users 400 Users 800 Users Transactions/min Transactions/min AVG BM AVG BM Transactions/min Transactions/min AVG OVM 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
BENCHMARK Conclusion
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 Hypervisors PLUS a bonus: Allow licensing savings, extra HA and is fully certified and supported by Oracle.
BE CAREFUL What 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 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 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
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 You Any Questions?