SlideShare a Scribd company logo
1 of 37
Download to read offline
Software Defined Memory for Oracle
Databases (Deep Dive)
Efstathios Efstathiou
Master Database Engineer
Federal Office of Information Technology, Systems and Telecommunication FOITT
Agenda
Introduction
What is Software Defined Memory (SDM)?
SDM Vendors
Use Cases for Oracle
Benchmarks (Live Demo)
Conclusion
Q&A
Introduction
About Myself
Married with children
Linux since 1998
Oracle since 2000
OCM & OCP
Master Database Engineer @BIT since 2014
What is Software Defined Memory?
In an ideal world
Cost wouldn’t be problem
We would have infinite memory ressources
Memory would be persistent
All data would equally treated (no cold and hot data)
So no need for:
Caching and buffering
No fancy algorhythms
No tiering
Less complicated statistics structure
What is Software Defined Memory?
In the past
We only had a very slow and a very fast
tier
HDD
RAM
There was a huge gap in performance
Throughput could be cured by adding
lots of spindles by some extent
But what about latency?
What is Software Defined Memory?
Overview of media latencies
What is Software Defined Memory?
The Evolution on Storage Media
What is Software Defined Memory?
Storage and Memory Hierarchy Today
What is Software Defined Memory?
Storage and Memory Hierarchy Tomorrow
What is Software Defined Memory?
Back from the the grave: Virtual Memory (1/4)
What is Software Defined Memory?
Back from the the grave: Virtual Memory (2/4)
First form of Tiering and overprovisioning
Brought us virtual address space
Couldn’t handle alot of load with spinning disk
Memory pages are small and there are alot of them
Access time was big issue
What is Software Defined Memory?
Back from the the grave: Virtual Memory (3/4)
SCSI protocol Based SSD made it more attractive, but:
The higher speed on an old / emulated proctol (SCSI) ate CPU and
added latency
SATA/SAS SSD NVMe
What is Software Defined Memory?
Back from the the grave: Virtual Memory (4/4)
3D Xpoint DIMMs and PCIe SSD with lower latencies can
futher close the gap, making virtual memory more
appealing than ever.
What is Software Defined Memory?
Making Memory persistent
To use all these new technologies
there is only one thing to add:
Make RAM presistent
Non-Volatile RAM to the rescue !
Used small quantities on the Storage
Industy for years (e.g. your Netapp’s
NVRAM)
Battery Backed
Copies your Data in RAM to a Flash
Chip, so it can be restored after
power loss
What is Software Defined Memory?
Now we got all the hardware, but what about
API’s?
NVMe Drives are available today for all operating systems
Persistent Memory (e.g. NVDIMM) devices came with a
propiertary driver in the past
There an new standard API for Linux for persistent
memory devices => PMEM.IO
Standartization
Easier Programming, but still alot of effort
Are there any commercial/production ready solutions?
SDM Vendors
Currently there two major SDM Vendors
Plexistor
Complete SDM Solution
ScaleMP
FLX Flash exentsion for ScaleMP vSMP Foundation
Very different concepts/visions of SDM
SDM Vendors
Plexistor
Redesigned the block-based filesystem to suit the
memory-based storage by extending the VFS data
structures
Uses the persistent memory library (PMEM.IO)
Supports Tiering between NVDIMM and Backend, e.g. 3D Xpoint
Flash Dimm or NVMe PCIe SSD
Supports Remote Addressing Memory over RDMA (PM Brick)
Exposes SDM as Filesystem (M1FS) without buffering
Very focussed on Latency
SDM Vendors
Plexistor Diagram
SDM Vendors
ScaleMP
Orginally designed to provide a Virtual SMP System
Spans multiple server together a big machine
Accesses their cpu/memory ressources over Infiniband / RDMA
Extends the virtual memory (VM) subsystem, instead of
the VFS
Requires first booting into ScaleMP Hypervisor (like Xen/OVM
Dom0)
Abstraction treats Flash as virtual NUMA node providing more
RAM to your vSMP System (like DomU/VM)
SDM Vendors
ScaleMP Diagram
Use Cases for Oracle
We identified the following use cases
Optimizing/Boosting Oracle Database I/O Performance
without In-Memory Option
Giving Oracle faster and leaner I/O Stack that provides better
troughput at lower latency
Provide more memory for Oracle In-Memory Option
SIMD processing on SDM with Flash Tier as backend
Use Cases for Oracle
Optimizing/Boosting Oracle Database I/O
Performance without In-Memory Option
Requires SDM to be exposed as filesystem or block device
Plexistor exposes as filesystem /m1fs
Simple (just copy database to /m1fs) ☺
Reduce Buffer Cache to minimum
Bypasses page cache ☺
I/O is done trough kernel threads => fast ☺
ScaleMP exposes as RAM
Ramdisk as block device with e.g. Rapiddisk or tmpfs
Not persistent
Use Cases for Oracle
Provide more memory for Oracle In-Memory
Option
Requires SDM to be exposed as RAM or Virtual RAM
Plexistor exposes as filesystem /m1fs
Create a Swap File or Memory File on M1FS on the physical host
Create a VM with overprovisioned ressources or virtual dimm with
memory file (currently only KVM)
ScaleMP exposes as RAM per se
Boot ScaleMP (like Dom0)
Startup vSMP Virtual System / VM which is like a DomU/VM with
virtual dimms added ☺
Use Cases for Oracle
Provide more memory for Oracle In-Memory
Option
How does Oracle do it on their systems?
Use Cases for Oracle
Decisions made
We decided to first optimzing database I/O
Applies to more database installations
Saves most licenses
We choose Plexistor and M1FS for this task
Providing more memory for In-Memory Option is currently
tested in our lab
Comparing ScaleMP and Plexistor approaches
Benchmarks (Live Demo)
Purpose
Determine Performance
using M1FS
Advantages of byte
addressable memory
Using kernel threads for I/O
Find the break even / slow
down factors when tiering
What is the best byte address
able to block addressable
device ratio?
Benchmarks (Live Demo)
Plexistor Hardware Setup
HP ML 350 G9
2x NVDIMM Modules (Intel/Micron)
Single Node, no cluster
Centos 7.2
Plexistor SDM 1.9
SDM/M1FS with 216 GB
Oracle 12.1.0.2
Calibrate I/O random read
Benchmarks (Live Demo)
Reference benchmark with FlashGrid
Setup
2x HP ML 350 G9
Intel NVMe SSDs
Oracle Linux 7.2
FlashGrid 16.7
Oracle 12.1.0.2
Oracle RAC Option
Calibrate I/O random read
Benchmarks (Live Demo)
Reference benchmark with FlashGrid
Limited by number of NVMe drives
2 Node RAC
Now Plexistor
Benchmarks (Live Demo)
Limited by number of NVDIMMs / memory channels per dimm
Single Server (superior performance to 2 Node RAC)
Benchmarks (Live Demo)
Analysis
Plexistor is very fast
Bypassing traditional I/O stack
Giving quite a boost due to using kernel threads
Your 2nd tier should be as fast as possible, too
3D Xpoint DIMMs (Tier2)
Up to a cache miss ratio of 10%:
System runs at max possible IOPS
Corresponds 2x the size of Tier 1 => good caching algorhythm
Benchmarks (Live Demo)
Next Steps
Plexistor + FlashGrid + Oracle RAC = Ludicrous Speed?
Conclusion
Software Defined Memory
Is possible thanks to new hardware technologies reducing
latency
Can massively improve your Oracle Database performance
without buying additional extra cost options
Can provide an high performant alternative Oracle’s
Engineered systems solutions
Thanks to our partners
Q&A
Contact
elgreco@linux.com
Thank You

More Related Content

What's hot

Offloading for Databases - Deep Dive
Offloading for Databases - Deep DiveOffloading for Databases - Deep Dive
Offloading for Databases - Deep DiveUniFabric
 
Building an open memory-centric computing architecture using intel optane
Building an open memory-centric computing architecture using intel optaneBuilding an open memory-centric computing architecture using intel optane
Building an open memory-centric computing architecture using intel optaneUniFabric
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerFernando Barrientos
 
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Community
 
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...In-Memory Computing Summit
 
Varrow datacenter storage today and tomorrow
Varrow   datacenter storage today and tomorrowVarrow   datacenter storage today and tomorrow
Varrow datacenter storage today and tomorrowpittmantony
 
UniPlex T1 Storage Supercharger
UniPlex T1 Storage SuperchargerUniPlex T1 Storage Supercharger
UniPlex T1 Storage SuperchargerUniFabric
 
Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Community
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloadspittmantony
 
SM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackSM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackpittmantony
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationpittmantony
 
Ceph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFSCeph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFSCeph Community
 
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Community
 
Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale Ceph Community
 
Ceph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for CephCeph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for CephDanielle Womboldt
 
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...In-Memory Computing Summit
 
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Community
 
Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community
 
Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data Ceph Community
 

What's hot (20)

TDS-16489U - Dual Processor
TDS-16489U - Dual ProcessorTDS-16489U - Dual Processor
TDS-16489U - Dual Processor
 
Offloading for Databases - Deep Dive
Offloading for Databases - Deep DiveOffloading for Databases - Deep Dive
Offloading for Databases - Deep Dive
 
Building an open memory-centric computing architecture using intel optane
Building an open memory-centric computing architecture using intel optaneBuilding an open memory-centric computing architecture using intel optane
Building an open memory-centric computing architecture using intel optane
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual Controller
 
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
 
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
 
Varrow datacenter storage today and tomorrow
Varrow   datacenter storage today and tomorrowVarrow   datacenter storage today and tomorrow
Varrow datacenter storage today and tomorrow
 
UniPlex T1 Storage Supercharger
UniPlex T1 Storage SuperchargerUniPlex T1 Storage Supercharger
UniPlex T1 Storage Supercharger
 
Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloads
 
SM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackSM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstack
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentation
 
Ceph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFSCeph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFS
 
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
 
Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale
 
Ceph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for CephCeph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for Ceph
 
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
 
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
 
Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph
 
Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data
 

Viewers also liked

Towards Software Defined Persistent Memory
Towards Software Defined Persistent MemoryTowards Software Defined Persistent Memory
Towards Software Defined Persistent MemorySwaminathan Sundararaman
 
IMCSummit 2015 - Day 2 Developer Track - The NVM Revolution
IMCSummit 2015 - Day 2 Developer Track - The NVM RevolutionIMCSummit 2015 - Day 2 Developer Track - The NVM Revolution
IMCSummit 2015 - Day 2 Developer Track - The NVM RevolutionIn-Memory Computing Summit
 
토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토
토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토
토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토segtdfghfdh
 
IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...
IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...
IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...In-Memory Computing Summit
 
IMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage Tier
IMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage TierIMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage Tier
IMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage TierIn-Memory Computing Summit
 
應用Ceph技術打造軟體定義儲存新局
應用Ceph技術打造軟體定義儲存新局應用Ceph技術打造軟體定義儲存新局
應用Ceph技術打造軟體定義儲存新局Alex Lau
 
IMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X Platform
IMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X PlatformIMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X Platform
IMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X PlatformIn-Memory Computing Summit
 
Journey Through the AWS Cloud; Storage and Archiving
Journey Through the AWS Cloud; Storage and ArchivingJourney Through the AWS Cloud; Storage and Archiving
Journey Through the AWS Cloud; Storage and ArchivingAmazon Web Services
 
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst ITThings You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst ITOpenStack
 
Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...
Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...
Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...OpenStack
 
Distributed Storage and Compute With Ceph's librados (Vault 2015)
Distributed Storage and Compute With Ceph's librados (Vault 2015)Distributed Storage and Compute With Ceph's librados (Vault 2015)
Distributed Storage and Compute With Ceph's librados (Vault 2015)Sage Weil
 
The State of Ceph, Manila, and Containers in OpenStack
The State of Ceph, Manila, and Containers in OpenStackThe State of Ceph, Manila, and Containers in OpenStack
The State of Ceph, Manila, and Containers in OpenStackSage Weil
 
Build an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on CephBuild an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on CephRongze Zhu
 
Ceph Performance: Projects Leading Up to Jewel
Ceph Performance: Projects Leading Up to JewelCeph Performance: Projects Leading Up to Jewel
Ceph Performance: Projects Leading Up to JewelRed_Hat_Storage
 
Keeping OpenStack storage trendy with Ceph and containers
Keeping OpenStack storage trendy with Ceph and containersKeeping OpenStack storage trendy with Ceph and containers
Keeping OpenStack storage trendy with Ceph and containersSage Weil
 
Storage tiering and erasure coding in Ceph (SCaLE13x)
Storage tiering and erasure coding in Ceph (SCaLE13x)Storage tiering and erasure coding in Ceph (SCaLE13x)
Storage tiering and erasure coding in Ceph (SCaLE13x)Sage Weil
 
Virtual Memory and Paging
Virtual Memory and PagingVirtual Memory and Paging
Virtual Memory and PagingEmery Berger
 
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...Odinot Stanislas
 

Viewers also liked (18)

Towards Software Defined Persistent Memory
Towards Software Defined Persistent MemoryTowards Software Defined Persistent Memory
Towards Software Defined Persistent Memory
 
IMCSummit 2015 - Day 2 Developer Track - The NVM Revolution
IMCSummit 2015 - Day 2 Developer Track - The NVM RevolutionIMCSummit 2015 - Day 2 Developer Track - The NVM Revolution
IMCSummit 2015 - Day 2 Developer Track - The NVM Revolution
 
토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토
토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토
토토놀이터추천§∇♤kid85.com○∇§해외사설사이트 사설토토
 
IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...
IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...
IMC Summit 2016 Keynote - Arthur Sainio - NVDIMM: Changes are Here So What’s ...
 
IMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage Tier
IMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage TierIMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage Tier
IMC Summit 2016 Breakout - Ken Gibson - The In-Place Working Storage Tier
 
應用Ceph技術打造軟體定義儲存新局
應用Ceph技術打造軟體定義儲存新局應用Ceph技術打造軟體定義儲存新局
應用Ceph技術打造軟體定義儲存新局
 
IMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X Platform
IMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X PlatformIMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X Platform
IMC Summit 2016 Innovation - Girish Mutreja - Unveiling the X Platform
 
Journey Through the AWS Cloud; Storage and Archiving
Journey Through the AWS Cloud; Storage and ArchivingJourney Through the AWS Cloud; Storage and Archiving
Journey Through the AWS Cloud; Storage and Archiving
 
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst ITThings You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
 
Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...
Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...
Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott...
 
Distributed Storage and Compute With Ceph's librados (Vault 2015)
Distributed Storage and Compute With Ceph's librados (Vault 2015)Distributed Storage and Compute With Ceph's librados (Vault 2015)
Distributed Storage and Compute With Ceph's librados (Vault 2015)
 
The State of Ceph, Manila, and Containers in OpenStack
The State of Ceph, Manila, and Containers in OpenStackThe State of Ceph, Manila, and Containers in OpenStack
The State of Ceph, Manila, and Containers in OpenStack
 
Build an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on CephBuild an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on Ceph
 
Ceph Performance: Projects Leading Up to Jewel
Ceph Performance: Projects Leading Up to JewelCeph Performance: Projects Leading Up to Jewel
Ceph Performance: Projects Leading Up to Jewel
 
Keeping OpenStack storage trendy with Ceph and containers
Keeping OpenStack storage trendy with Ceph and containersKeeping OpenStack storage trendy with Ceph and containers
Keeping OpenStack storage trendy with Ceph and containers
 
Storage tiering and erasure coding in Ceph (SCaLE13x)
Storage tiering and erasure coding in Ceph (SCaLE13x)Storage tiering and erasure coding in Ceph (SCaLE13x)
Storage tiering and erasure coding in Ceph (SCaLE13x)
 
Virtual Memory and Paging
Virtual Memory and PagingVirtual Memory and Paging
Virtual Memory and Paging
 
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
 

Similar to SOUG_SDM_OracleDB_V3

Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Community
 
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...Виталий Стародубцев
 
Impact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPCImpact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPCMemVerge
 
IMCSummit 2015 - Day 2 IT Business Track - Drive IMC Efficiency with Flash E...
IMCSummit 2015 - Day 2  IT Business Track - Drive IMC Efficiency with Flash E...IMCSummit 2015 - Day 2  IT Business Track - Drive IMC Efficiency with Flash E...
IMCSummit 2015 - Day 2 IT Business Track - Drive IMC Efficiency with Flash E...In-Memory Computing Summit
 
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...Tony Pearson
 
Oracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageOracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageDavid R. Klauser
 
MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimizationLouis liu
 
Z109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bZ109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bTony Pearson
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningScott Jenner
 
Reimagining HPC Compute and Storage Architecture with Intel Optane Technology
Reimagining HPC Compute and Storage Architecture with Intel Optane TechnologyReimagining HPC Compute and Storage Architecture with Intel Optane Technology
Reimagining HPC Compute and Storage Architecture with Intel Optane Technologyinside-BigData.com
 
S104878 nvme-revolution-jburg-v1809b
S104878 nvme-revolution-jburg-v1809bS104878 nvme-revolution-jburg-v1809b
S104878 nvme-revolution-jburg-v1809bTony Pearson
 
Using preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael aultUsing preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael aultLouis liu
 
Ssd And Enteprise Storage
Ssd And Enteprise StorageSsd And Enteprise Storage
Ssd And Enteprise StorageFrank Zhao
 
SQL Server It Just Runs Faster
SQL Server It Just Runs FasterSQL Server It Just Runs Faster
SQL Server It Just Runs FasterBob Ward
 
Hardware planning & sizing for sql server
Hardware planning & sizing for sql serverHardware planning & sizing for sql server
Hardware planning & sizing for sql serverDavide Mauri
 
SanDisk: Persistent Memory and Cassandra
SanDisk: Persistent Memory and CassandraSanDisk: Persistent Memory and Cassandra
SanDisk: Persistent Memory and CassandraDataStax Academy
 
The benefits of IBM FlashSystems
The benefits of IBM FlashSystemsThe benefits of IBM FlashSystems
The benefits of IBM FlashSystemsLuca Comparini
 
Day 2 General Session Presentations RedisConf
Day 2 General Session Presentations RedisConfDay 2 General Session Presentations RedisConf
Day 2 General Session Presentations RedisConfRedis Labs
 
Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Community
 

Similar to SOUG_SDM_OracleDB_V3 (20)

Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
 
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
 
Impact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPCImpact of Intel Optane Technology on HPC
Impact of Intel Optane Technology on HPC
 
IMCSummit 2015 - Day 2 IT Business Track - Drive IMC Efficiency with Flash E...
IMCSummit 2015 - Day 2  IT Business Track - Drive IMC Efficiency with Flash E...IMCSummit 2015 - Day 2  IT Business Track - Drive IMC Efficiency with Flash E...
IMCSummit 2015 - Day 2 IT Business Track - Drive IMC Efficiency with Flash E...
 
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
 
Oracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageOracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified Storage
 
MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimization
 
Z109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bZ109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910b
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance Tuning
 
Reimagining HPC Compute and Storage Architecture with Intel Optane Technology
Reimagining HPC Compute and Storage Architecture with Intel Optane TechnologyReimagining HPC Compute and Storage Architecture with Intel Optane Technology
Reimagining HPC Compute and Storage Architecture with Intel Optane Technology
 
S104878 nvme-revolution-jburg-v1809b
S104878 nvme-revolution-jburg-v1809bS104878 nvme-revolution-jburg-v1809b
S104878 nvme-revolution-jburg-v1809b
 
IO Dubi Lebel
IO Dubi LebelIO Dubi Lebel
IO Dubi Lebel
 
Using preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael aultUsing preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael ault
 
Ssd And Enteprise Storage
Ssd And Enteprise StorageSsd And Enteprise Storage
Ssd And Enteprise Storage
 
SQL Server It Just Runs Faster
SQL Server It Just Runs FasterSQL Server It Just Runs Faster
SQL Server It Just Runs Faster
 
Hardware planning & sizing for sql server
Hardware planning & sizing for sql serverHardware planning & sizing for sql server
Hardware planning & sizing for sql server
 
SanDisk: Persistent Memory and Cassandra
SanDisk: Persistent Memory and CassandraSanDisk: Persistent Memory and Cassandra
SanDisk: Persistent Memory and Cassandra
 
The benefits of IBM FlashSystems
The benefits of IBM FlashSystemsThe benefits of IBM FlashSystems
The benefits of IBM FlashSystems
 
Day 2 General Session Presentations RedisConf
Day 2 General Session Presentations RedisConfDay 2 General Session Presentations RedisConf
Day 2 General Session Presentations RedisConf
 
Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK
 

SOUG_SDM_OracleDB_V3

  • 1. Software Defined Memory for Oracle Databases (Deep Dive) Efstathios Efstathiou Master Database Engineer Federal Office of Information Technology, Systems and Telecommunication FOITT
  • 2. Agenda Introduction What is Software Defined Memory (SDM)? SDM Vendors Use Cases for Oracle Benchmarks (Live Demo) Conclusion Q&A
  • 3. Introduction About Myself Married with children Linux since 1998 Oracle since 2000 OCM & OCP Master Database Engineer @BIT since 2014
  • 4. What is Software Defined Memory? In an ideal world Cost wouldn’t be problem We would have infinite memory ressources Memory would be persistent All data would equally treated (no cold and hot data) So no need for: Caching and buffering No fancy algorhythms No tiering Less complicated statistics structure
  • 5. What is Software Defined Memory? In the past We only had a very slow and a very fast tier HDD RAM There was a huge gap in performance Throughput could be cured by adding lots of spindles by some extent But what about latency?
  • 6. What is Software Defined Memory? Overview of media latencies
  • 7. What is Software Defined Memory? The Evolution on Storage Media
  • 8. What is Software Defined Memory? Storage and Memory Hierarchy Today
  • 9. What is Software Defined Memory? Storage and Memory Hierarchy Tomorrow
  • 10. What is Software Defined Memory? Back from the the grave: Virtual Memory (1/4)
  • 11. What is Software Defined Memory? Back from the the grave: Virtual Memory (2/4) First form of Tiering and overprovisioning Brought us virtual address space Couldn’t handle alot of load with spinning disk Memory pages are small and there are alot of them Access time was big issue
  • 12. What is Software Defined Memory? Back from the the grave: Virtual Memory (3/4) SCSI protocol Based SSD made it more attractive, but: The higher speed on an old / emulated proctol (SCSI) ate CPU and added latency SATA/SAS SSD NVMe
  • 13. What is Software Defined Memory? Back from the the grave: Virtual Memory (4/4) 3D Xpoint DIMMs and PCIe SSD with lower latencies can futher close the gap, making virtual memory more appealing than ever.
  • 14. What is Software Defined Memory? Making Memory persistent To use all these new technologies there is only one thing to add: Make RAM presistent Non-Volatile RAM to the rescue ! Used small quantities on the Storage Industy for years (e.g. your Netapp’s NVRAM) Battery Backed Copies your Data in RAM to a Flash Chip, so it can be restored after power loss
  • 15. What is Software Defined Memory? Now we got all the hardware, but what about API’s? NVMe Drives are available today for all operating systems Persistent Memory (e.g. NVDIMM) devices came with a propiertary driver in the past There an new standard API for Linux for persistent memory devices => PMEM.IO Standartization Easier Programming, but still alot of effort Are there any commercial/production ready solutions?
  • 16. SDM Vendors Currently there two major SDM Vendors Plexistor Complete SDM Solution ScaleMP FLX Flash exentsion for ScaleMP vSMP Foundation Very different concepts/visions of SDM
  • 17. SDM Vendors Plexistor Redesigned the block-based filesystem to suit the memory-based storage by extending the VFS data structures Uses the persistent memory library (PMEM.IO) Supports Tiering between NVDIMM and Backend, e.g. 3D Xpoint Flash Dimm or NVMe PCIe SSD Supports Remote Addressing Memory over RDMA (PM Brick) Exposes SDM as Filesystem (M1FS) without buffering Very focussed on Latency
  • 19. SDM Vendors ScaleMP Orginally designed to provide a Virtual SMP System Spans multiple server together a big machine Accesses their cpu/memory ressources over Infiniband / RDMA Extends the virtual memory (VM) subsystem, instead of the VFS Requires first booting into ScaleMP Hypervisor (like Xen/OVM Dom0) Abstraction treats Flash as virtual NUMA node providing more RAM to your vSMP System (like DomU/VM)
  • 21. Use Cases for Oracle We identified the following use cases Optimizing/Boosting Oracle Database I/O Performance without In-Memory Option Giving Oracle faster and leaner I/O Stack that provides better troughput at lower latency Provide more memory for Oracle In-Memory Option SIMD processing on SDM with Flash Tier as backend
  • 22. Use Cases for Oracle Optimizing/Boosting Oracle Database I/O Performance without In-Memory Option Requires SDM to be exposed as filesystem or block device Plexistor exposes as filesystem /m1fs Simple (just copy database to /m1fs) ☺ Reduce Buffer Cache to minimum Bypasses page cache ☺ I/O is done trough kernel threads => fast ☺ ScaleMP exposes as RAM Ramdisk as block device with e.g. Rapiddisk or tmpfs Not persistent
  • 23. Use Cases for Oracle Provide more memory for Oracle In-Memory Option Requires SDM to be exposed as RAM or Virtual RAM Plexistor exposes as filesystem /m1fs Create a Swap File or Memory File on M1FS on the physical host Create a VM with overprovisioned ressources or virtual dimm with memory file (currently only KVM) ScaleMP exposes as RAM per se Boot ScaleMP (like Dom0) Startup vSMP Virtual System / VM which is like a DomU/VM with virtual dimms added ☺
  • 24. Use Cases for Oracle Provide more memory for Oracle In-Memory Option How does Oracle do it on their systems?
  • 25. Use Cases for Oracle Decisions made We decided to first optimzing database I/O Applies to more database installations Saves most licenses We choose Plexistor and M1FS for this task Providing more memory for In-Memory Option is currently tested in our lab Comparing ScaleMP and Plexistor approaches
  • 26. Benchmarks (Live Demo) Purpose Determine Performance using M1FS Advantages of byte addressable memory Using kernel threads for I/O Find the break even / slow down factors when tiering What is the best byte address able to block addressable device ratio?
  • 27. Benchmarks (Live Demo) Plexistor Hardware Setup HP ML 350 G9 2x NVDIMM Modules (Intel/Micron) Single Node, no cluster Centos 7.2 Plexistor SDM 1.9 SDM/M1FS with 216 GB Oracle 12.1.0.2 Calibrate I/O random read
  • 28. Benchmarks (Live Demo) Reference benchmark with FlashGrid Setup 2x HP ML 350 G9 Intel NVMe SSDs Oracle Linux 7.2 FlashGrid 16.7 Oracle 12.1.0.2 Oracle RAC Option Calibrate I/O random read
  • 29. Benchmarks (Live Demo) Reference benchmark with FlashGrid Limited by number of NVMe drives 2 Node RAC
  • 30. Now Plexistor Benchmarks (Live Demo) Limited by number of NVDIMMs / memory channels per dimm Single Server (superior performance to 2 Node RAC)
  • 31. Benchmarks (Live Demo) Analysis Plexistor is very fast Bypassing traditional I/O stack Giving quite a boost due to using kernel threads Your 2nd tier should be as fast as possible, too 3D Xpoint DIMMs (Tier2) Up to a cache miss ratio of 10%: System runs at max possible IOPS Corresponds 2x the size of Tier 1 => good caching algorhythm
  • 32. Benchmarks (Live Demo) Next Steps Plexistor + FlashGrid + Oracle RAC = Ludicrous Speed?
  • 33. Conclusion Software Defined Memory Is possible thanks to new hardware technologies reducing latency Can massively improve your Oracle Database performance without buying additional extra cost options Can provide an high performant alternative Oracle’s Engineered systems solutions
  • 34. Thanks to our partners
  • 35. Q&A